Untitled (3)

>    restart;

>    a:=2;b:=5;c:=sqrt(a^2+b^2);

a := 2

b := 5

c := 29^(1/2)

>    t:=3*s;

t := 3*s

>    with(plots);

Warning, the name changecoords has been redefined

[Interactive, animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, cylinderplot, densityplot, d...
[Interactive, animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, cylinderplot, densityplot, d...
[Interactive, animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, cylinderplot, densityplot, d...
[Interactive, animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, cylinderplot, densityplot, d...
[Interactive, animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, cylinderplot, densityplot, d...
[Interactive, animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, cylinderplot, densityplot, d...
[Interactive, animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, cylinderplot, densityplot, d...
[Interactive, animate, animate3d, animatecurve, arrow, changecoords, complexplot, complexplot3d, conformal, conformal3d, contourplot, contourplot3d, coordplot, coordplot3d, cylinderplot, densityplot, d...

>    z:=a*sin(t);r:=c+a*cos(t);

z := 2*sin(3*s)

r := 29^(1/2)+2*cos(3*s)

>    x:=r*cos(s+q);y:=r*sin(s+q);

x := (29^(1/2)+2*cos(3*s))*cos(s+q)

y := (29^(1/2)+2*cos(3*s))*sin(s+q)

>    plot3d([x,y,z],s=0..2*Pi,q=0..Pi/3,scaling=constrained,grid=[50,50]);

[Maple Plot]

>    1