.:[ HOME ]:. .:[ MY UNIVERSITY ]:. .:[ KOS 1110 ]:. .:[ MY ASSIGNMENTS ]:. .:[ ISLAM & SCIENCE ]:. .:[ TAZKIRAH ]:. .:[ MY FAMILY ]:. .:[ MY FRIENDS ]:. .:[CREDITS ]:.
ASSIGNMENT 5
MAPLE
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):
> y := 2*A*cos(f*3*theta);
>
> subs(A=1, f=1, y);
>
> p1:=plot(subs(A=1, f=1, y), theta=0..2*Pi, colour=blue, legend="f = 1 "):p1;
>
> p2:=plot(subs(A=4, f=1, y), theta=0..2*Pi, colour=red, legend="A = 4 "):p2;
>
> p3:=plot(subs(A=3, f=3, y), theta=0..2*Pi, colour=black, legend="f = 3 "):p3;
>
> p4:=plot(subs(A=1, f=10, y), theta=0..2*Pi, colour=yellow, legend="f = 10"):p4;
>
>
> display({p1,p2,p3,p4});
>
>
2. Your artistic skills: Draw a unique picture using Maple.
> restart;
> with(plots):
Warning, the name changecoords has been redefined
> plot([450*cos(40*t), 10*sin(2*t), t=0..120], axes=none);
>
>
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.
> restart;
> with(plots):
>
> animate(cos(3*x-phi), x=0..100, phi=0..2*Pi, frames=40);
>
> animate3d(cos(3*x-phi), x=-6..6, y=-6..6,phi=0..2*Pi, style=patch, frames=30);
>