Hypotrochoid 

Function: calc[HypoTrochoid] - animation of an hypotrochoid 

Calling Sequence:  

HypoTrochoid(a, b, c, N, n) 

Parameters:  

a -   numbers  

N - number of `+`(`*`(2, `*`(Pi))) 

n -   number of frames 

Description: 

  • HypoTrochoid  animates the hypotrochoid traced by a point P on a spoke of a wheel of radius b as it rolls around inside a circle of radius a. The distance of P from the center of the rolling wheel is c. The parametric equations are
 

x = `+`(`*`(`+`(a, `-`(b)), `*`(cos, `*`(t))), `/`(`*`(c, `*`(cos, `*`(`+`(a, `-`(b)), `*`(t)))), `*`(b))) , y = `+`(`*`(`+`(a, `-`(b)), `*`(sin, `*`(t))), `-`(`/`(`*`(c, `*`(sin, `*`(`+`(a, `-`(b)), `*`(t)))), `*`(b)))) 

Examples: 

> restart: with(calc):
 

> HypoTrochoid(10,2,2,1,20);
 

Plot_2d
 

> HypoTrochoid(10,2,4,1,20);
 

Plot_2d