回最上方
回首頁 MAPLE作業 數學教材教法網站 有關MAPLE的連結 寄信給我  
我做網頁的工具 苗栗縣立致民國中  

   

七月二十日作業
5.Construct an animated gif file showing the double generation of the cardioid.
按我看解答
 

 

Maple作業
7/04
7/06
7/11
7/13
7/18
7/20
7/25
7/27
8/01
8/03
8/08
8/10

> restart:

> with(plots):

> x1:=cos(2*t):y1:=sin(2*t):

> x2:=2*cos(t):y2:=2*sin(t):

> x:=x1+x2:y:=y1+y2:

> a:=plot([x,y,t=0..2*Pi],color=red,scaling=constrained,axes=none):

> a1:=animate([x1+2*cos(s),y1+2*sin(s),s=0..2*Pi],t=0..2*Pi,color=green,
scaling=constrained,axes=none,frames=50,thickness=2):

> a11:=animate([(1-s)*x1+s*x,(1-s)*y1+s*y,s=0..1],t=0..2*Pi,color=green,
scaling=constrained,axes=none, frames=50,thickness=2):

> a2:=animate([x2+cos(s),y2+sin(s),s=0..2*Pi],t=0..2*Pi,color=pink,
scaling=constrained,axes=none,frames=50,thickness=2):

> a21:=animate([(1-s)*x2+s*x,(1-s)*y2+s*y,s=0..1],t=0..2*Pi,color=grey,
scaling=constrained,axes=none,frames=50, thickness=2):

> b:=plot([cos(t),sin(t),t=0..2*Pi],color=black,scaling=constrained,axes=none):

> display(a,a1,a11,a2,a21,b);

[Maple Plot]