Previous Up Next

13.6.15  A point on a geometric object in the plane: element

The element command is most useful in a two-dimensional geometry screen; it creates objects that are restricted to a geometric figure.

element takes different types of arguments:

For example, the command t:= element(0..pi) creates a parameter t which can take on values between 0 and π and has initial value π/2. It also creates a slider labeled t which can be used to change the values. The values of any later formulas involving t will change with t.


For example, the command A:= element(circle(0,2)) creates a point labeled A whose position is restricted to the circle of radius 2 centered at the origin. Since the circle has default parameterization 2exp(i t), A starts out at 2exp(i/2).



Previous Up Next