Unit Circle and Graph Help-- Can't get the function to trace correctly

Here is part of a lesson I am building to help students connect how changes in the unit circle connects to changes in the function. Everything seems to be working EXCEPT with the “offset” is negative. Any help is appreciated! As always!
@Daniel_Grubbs @Daniel_Wekselgreene @sergeballif

1 Like

You could change your offset to modulo 2pi, so it’s always positive under the hood.

Good idea-- but couldn’t get mod(shift,2pi) to work. :frowning:

Here, I changed (added) your actions for shift. Not sure if you defined the variable shift. The action would just override the modulo calculation, so you have to include it in the action instead. If you need need to save the negative shift for later use, instead of changing the action, I would create a second variable with the modular calculation to export to the other graph.

1 Like

I put it in and it seems like it is working! TY DG! I’m having a second cup of coffee to celebrate your awesomeness! :slight_smile:

1 Like