Connecting two points in two graphs

Good evening,

I am trying to connect the two graphs in the first slide, so when a student moves the angle on the first graph it will move on the second graph, and the other way around as well.


You can run graph1 by moving the point on graph2 if you put this code in graph1 CL:

number(`a`): graph2.number(`a*\pi/180`)

These are now dependent, so trying to tie it back the other way causes a circular coding error. You could make a slider somewhere in either graph to run them simultaneously.

The code line worked. I will have the students move the point on the circle and it will change it on the sine curve.

Thanks for the help.