[color=#999999][color=#999999][color=#999999]This activity belongs to the [i]GeoGebra book[/i] [url=https://www.geogebra.org/m/h3gbmymu]Linkages[/url].[/color][/color][/color][br][br]We have already seen in the [url=https://www.geogebra.org/m/h3gbmymu#material/feg3qmm8]Watt's Linkage[/url] the use of scripts for a chain of 3 bars with both ends fixed. Here we detail the scripts corresponding to a chain of four bars with both ends fixed. Note that point C can only reach any position in the shaded region.[br][br]We can see that the scripts become more and more complicated, due to the greater limitation of movement imposed by the fixed points. Now, when moving a point, the "transmission wave" must bounce off both ends. However, there may be shortcuts. For example, in this case of 4 bars, we can take advantage of the fact that the position of the central point determines (except isomer) the position of B and D.[br][br]This is the most difficult case to simulate in the plane. Adding more fixed points does not, in essence, make it more difficult, since if a chain has more than two fixed points it can be divided into independent sub-strings. Closing the chain (placing E at a unit distance from A) does not add more difficulty either.[br][br]Now, the more bar circuits (whether open or closed) we place between the two fixed extremes, the greater the number of intermediate steps that the transmission wave (and its possible ramifications) must travel before bouncing off each extreme, which will increase the number of instructions in the scripts.
The scripts we have used are detailed below.[br][br]When moving B:[br] SetValue(B, Intersect(Ray(A,B), Circle(A,1)))[br] SetValue(C, Intersect(Ray(B,C), Circle(B,1)))[br] SetValue(D, Intersect(Ray(C,D), Circle(C,1)))[br] SetValue(D, Intersect(Ray(E,D), Circle(E,1)))[br] SetValue(C, Intersect(Ray(D,C), Circle(D,1)))[br] SetValue(B, ClosestPoint({Intersect(Circle(A,1), Circle(C,1))}, B))[br][br]When moving C (we've called "bor" to the border of the shaded region "reg"):[br] SetValue(C, Si(C∈reg, C, ClosestPoint(bor, C)))[br] SetValue(B, ClosestPoint({Intersect(Circle(A,1), Circle(C,1))}, B))[br] SetValue(D, ClosestPoint({Intersect(Circle(E,1), Circle(C,1))}, D))[br][br]When moving D:[br] SetValue(D, Intersect(Ray(E,D), Circle(E,1)))[br] SetValue(C, Intersect(Ray(D,C), Circle(D,1)))[br] SetValue(B, Intersect(Ray(C,B), Circle(C,1)))[br] SetValue(B, Intersect(Ray(A,B), Circle(A,1)))[br] SetValue(C, Intersect(Ray(B,C), Circle(B,1)))[br] SetValue(D, ClosestPoint({Intersect(Circle(E,1), Circle(C,1))}, D))
[color=#999999]Author of the construction of GeoGebra: [color=#999999][url=https://www.geogebra.org/u/rafael]Rafael Losada[/url][/color][/color]