Example 1: An Ellipse
Parametric curve for an ellipse
> x := 2*cos(t);
> y := 5*sin(t);
> PARAM := t = 0..2*Pi;
>
Plot of curve
> plot( [x,y, PARAM], scaling=constrained );
>
Two different animated plots of the curve. Note that the first one does NOT look like the ellipse we expect!
> animatecurve( [x,y, PARAM] );
>
> animatecurve( [x,y, PARAM], scaling=constrained, frames=25, numpoints=100 );
>
Animated plot of the curve with animated velocity and acceleration vectors
> animatemotion( x, y, PARAM, frames=18, numpoints=100 ); # default scene is [R,V,A]
>
Animated plot with position (R), unit tangent (T), and unit normal (N) vectors:
> animatemotion( -x, -y, PARAM, scene=[R,T,N], frames=18, numpoints=100 );
>
Animated plot with osculating circle (kappa):
> animatemotion( x, y, PARAM, scene=[kappa], frames=18, numpoints=100 );
>