Wednesday, September 1, 2010

Locus the awesome command

You can make a point P by entering it in the input bar: P=(2,4)

If you use a capital letter the object is shown as a point, otherwise as a vector.

You can find the x- and y-coordinate of a point P by using the commands x(P) and y(P)respectively.

■Make a unit circle by placing a point A at the origin and a point B with coordinates (1,0).
■Place a point C on the circle and make an angle α representing the angle BAC.
■Make a point P to represent the sine-function, input P=(α,y(C)), the x-coordinate will represent the angle and the y-coordinate will represent the corresponding value of sine.
■Move C!
■You can let Q represent the graph of cosine in a similar way.

It should overall look like this:

No comments:

Post a Comment