Siti Fairuz Che Othman Section 1
0332896
BSBT
KOS 1110 Computers in Science
Assignment 5 - Maple Art and Maplets
Due date Monday, 20-9-2004, 5pm
1. During your laboratory class, you have created multiplots (one figure containing several plots) and animations using these multiplots. Using your own function, create at least one set of multiplot (static) and animation. Use as many options as possible to make your plot look like textbook quality plots.
| > | restart: |
| > | with(plots): |
Warning, the name changecoords has been redefined
| > | y:=A*tan(f*theta); |
| > | subs(A=2,f=1,y); |
| > | p1:=plot(subs(A=2,f=1,y), theta=0..2*Pi,color=green,legend="f=1"):p1: |
| > | p2:=plot(subs(A=2,f=2,y), theta=0..2*Pi,color=red,legend="f=2"):p2: |
| > | p3:=plot(subs(A=2,f=3,y), theta=0..2*Pi,color=blue,legend="f=3"):p3: |
| > | p4:=plot(subs(A=2,f=.5,y), theta=0..2*Pi,color=yellow,legend="f=0.5"):p4: |
| > | display({p1,p2,p3,p4}); |
| > | animate(subs(A=2,y),theta=0..2*Pi,f=0.5..3); |
2. Your artistic skills: Draw a unique picture using Maple
| > | with(plots); |
| > | plot([1*sin(15*t), 5*cos(20*t),t=0..100],axes=none,color=pink,title="Aunty Annes Pretzels"); |
| > |
| > |
3. Make two unique animations in 2D and 3D.
Give names to these pictures. Publish these pictures and the animations in your home page along with the details, such as the equations that are used to create the animations.
| > | with(plots): |
| > | animate([sin(x*t),x,x=-4..4],t=1..4,coords=polar,numpoints=100,frames=100,title="hidden treasure"); |
| > | animate3d(cos(t*x)*sin(t*y),x=-Pi..Pi, y=-Pi..Pi,t=1..2,color=cos(x*y),title="zamzamalakazam",style=wireframe); |
| > |
| > |
| > |