In[]:=
SpaceCurve::usage="The parametric equations are indicated below. References: Hollis, Selwyn. CalcLabs with Mathematica, Multivariable Calculus. Cengage Learning: 4a Ed: p.46, 2010; Personal. ";f[x_,y_]:=2+2-3;g[x_,y_]:=-;Show[surf1=Plot3D[f[x,y],{x,-1.7,1.7},{y,-1.7,1.7},ColorFunction"BlueGreenYellow",MeshFalse],surf2=Plot3D[g[x,y],{x,-1.7,1.7},{y,-1.7,1.7},ColorFunction"LightTemperatureMap",MeshFalse],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,BoxRatiosAutomatic]f[rCos[t],rSin[t]]==g[rCos[t],rSin[t]];roft=r/.First@Solve[%,r]//Simplify;z[t_]:=g[roftCos[t],roftSin[t]];γ[t_]:={roftCos[t],roftSin[t],z[t]};
2
x
2
y
2
x
2
y
Out[]=
In[]:=
Animateγ[t_]:=-,-,-;ParametricPlot3D[γ[t],{t,0,θ1},AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},MeshFalse,AxesTrue,ColorFunctionFunction[{x,y,z},Hue[z]],BoxedFalse,PlotRange{{-2,2},{-1,3}},PerformanceGoal"Quality"],{θ1,0.1,2π,0.1},AnimationRunningFalse
3
Cos[t]2-Cos[2t]
3
Sin[t]2-Cos[2t]
3
2
Cos[t]
2-Cos[2t]
3
2
Sin[t]
2-Cos[2t]
Out[]=