Untitled (1)

>    a:=2;b:=5;c:=sqrt(a^2+b^2);t:=3*s;

>   

a := 2

b := 5

c := 29^(1/2)

t := 3*s

>    with(plots);

[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...

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

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

>    x1:=r*cos(s);y1:=r*sin(s);z1:=a*sin(t);

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

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

z1 := 2*sin(3*s)

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

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

>    x2:=r*cos(s);y2:=r*sin(s);z2:=a*sin(t+Pi);

x2 := (29^(1/2)-2*cos(3*s))*cos(s)

y2 := (29^(1/2)-2*cos(3*s))*sin(s)

z2 := -2*sin(3*s)

>    w:=expand((1-u)*[x1,y1,z1]+u*[x2,y2,z2]);

w := [-16*cos(s)^4*u+12*cos(s)^2*u+cos(s)*29^(1/2)+8*cos(s)^4-6*cos(s)^2, -16*sin(s)*cos(s)^3*u+12*sin(s)*cos(s)*u+sin(s)*29^(1/2)+8*sin(s)*cos(s)^3-6*sin(s)*cos(s), -16*sin(s)*cos(s)^2*u+4*sin(s)*u+8*...
w := [-16*cos(s)^4*u+12*cos(s)^2*u+cos(s)*29^(1/2)+8*cos(s)^4-6*cos(s)^2, -16*sin(s)*cos(s)^3*u+12*sin(s)*cos(s)*u+sin(s)*29^(1/2)+8*sin(s)*cos(s)^3-6*sin(s)*cos(s), -16*sin(s)*cos(s)^2*u+4*sin(s)*u+8*...
w := [-16*cos(s)^4*u+12*cos(s)^2*u+cos(s)*29^(1/2)+8*cos(s)^4-6*cos(s)^2, -16*sin(s)*cos(s)^3*u+12*sin(s)*cos(s)*u+sin(s)*29^(1/2)+8*sin(s)*cos(s)^3-6*sin(s)*cos(s), -16*sin(s)*cos(s)^2*u+4*sin(s)*u+8*...

>    plot3d(w,u=0..1,s=0..2*Pi,scaling=constrained,grid=[10,200]);

[Maple Plot]

>