a) x=cos(u)
y=sin(u)*cos(u)
z=2*cos(4*u)*cos(u)
0<=u<=2*p
b) x=cos(u)
z=1/4*cos(u)
0<=u<=pi
x=sin(v)*cos(v)
y=sin(v)
z=cos(v)