Expression 8: "y" equals "s" left parenthesis, "x" , "y" , right parenthesisy=sx,y
8
Internal Calculations
Hide this folder from students.
9
This writes the angle in terms of pi
10
Expression 11: "o" equals "O" Subscript, "a" "n" "g" "l" "e" , Baseline pi / 180o=Oangleπ/180
equals=
0.7 8 5 3 9 8 1 6 3 3 9 70.785398163397
11
And this replaces the x and y values of the function with the translated ones.
12
Expression 13: "g" left parenthesis, "x" , "y" , right parenthesis equals StartFraction, "f" left parenthesis, "x" cos ( "o" ) minus "y" sin ( "o" ) , right parenthesis minus "x" sin left parenthesis, "o" , right parenthesis Over cos ( "o" ) , EndFractiongx,y=fxcos(o)−ysin(o)−xsinocos(o)
13
Expression 14: "y" equals "g" left parenthesis, "x" , "y" , right parenthesisy=gx,y
14
This function calculates x when y is 0.
15
Expression 16: "s" left parenthesis, "x" , "y" , right parenthesis equals "g" left parenthesis, "x" , "y" left brace, "y" equals 0 , right brace , right parenthesissx,y=gx,yy=0