1. Multiplot: 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

> p1:=plot([seq(cos(2*x)+(z*Pi/8),z=1..4)],x=0..2*Pi,color=[magenta,blue,brown,yellow],title="Cosine Graphs"):p1;

> animate(cos(2*x)+(z*Pi/8),x=0..2*Pi,z=1..4);

2. Scientific graph: Select any one graph and the corresponding equation used to create this graph from your text/reference books.  Plot this graph using maple. 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

> p2:=plot(sinh(x),x=-Pi..Pi,color=[blue],title="Hyperbolic Sine Function"):p2;

3. Your artistic skills:  Draw at least one unique picture each in 2D and 3D using Maple.  Convert the 3D picture into VRML format and visualise using Cortona player.  
a) 2D
> restart;with(plots):
Warning, the name changecoords has been redefined

> plot([t*cos(t),t/2*sin(2*t),t=-15..15*Pi],scaling=constrained,color=magenta,'title'='RIBBON');

b) 3D
> restart;with(plots):
Warning, the name changecoords has been redefined

> animate3d((2.0)^n*sin(x*(2*z^4)/3),n=-1..2*Pi,z=4..6*Pi/2,x=1..5,coords=cylindrical,'title'='FANS');

4. 3D animation: Make at least one unique animation in 3D.
	Give names to all the above 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):
Warning, the name changecoords has been redefined

> display(conformal(1/a,a=-3-I...4+I,-2-5*I...3*2*I,grid=[90,90],axes=none,view=[-5...5,-4...4]));

5. Write a Maple procedure (proc) called function(x), which will accept the value of a and x to calculate a function which has a value of 7*ex+x+5  in the range of x=-a to 0 and a value of x+5  in the range of x=0 to a. The value of this function is zero everywhere else.  Check your procedure by calling this proc using different values of x and a. 

6. Write a Maple procedure (proc) called Grade(marks), which will accept a student's exam mark and returns his grade.
> restart;
> y:=proc(m)
> local n:
> if m>=80 then
> n:=A:
> elif
> m>=60 then
> n:=B
> elif
> m>=50 then
> n:=C
> elif
> m>=40 then
> n:=D
> else
> n:=FAIL
> fi:
> end:
> y(15);

> y(47);

> y(93);

> y(72);

> y(58);

> 
7. Write the commands necessary to produce the following maplets:
a) Grader maplet which will accept a student's exam mark and returns his grade.
	b) Eqsolver maplet which will accept any equation in one variable and give its solutions.
	c) 3Dplotter maplet which accept any equation in two variables and draw a 3D plot.

	Include necessary titles, comments and buttons in all the above maplets.
a)
> with(Maplets[Elements]):
> GraderMaplet:=Maplet([["Grader Maplet"],["Enter Student's Marks"],["Marks:",TextField['TF1']()],TextBox['TB1'](not editable,width='20',height='3'),[Button("Grade",Evaluate('TB1'='y(TF1)')),Button("OK",Shutdown(['TF1']))]]):
> Maplets[Display](GraderMaplet);
Initializing Java runtime environment.

b)
> restart;
> with(Maplets[Elements]):
> IntMaplet:=Maplet([["Solving Equation"],["Enter an expression to be solved"],["Solve:",TextField['TF1']()],["Enter a variable of solving:",TextField['TF2'](3)],TextBox['TB1'](not editable,width='40',height='3'),[Button("Solve",Evaluate('TB1'='int(TF1,TF2)')),Button("OK",Shutdown(['TF1','TF2','TB1']))]]):
> Maplets[Display](IntMaplet);

c)
> restart;
> with(Maplets[Elements]):
> maplet3d:=Maplet([["Enter a function of 'm' and 'n':",TextField['TF3d']()],Plotter['PL1'](),[Button("Plot",Evaluate('PL1'='plot3d(TF3d,m=0..15,n=0..15)')),Button("OK",Shutdown(['TF3d']))]]):
> result:=Maplets[Display](maplet3d);

>