# How Do I rotate f(x) around the x-axis in MATlab or Mathematica?

by VinnyCee
Tags: mathematica, matlab, rotate, xaxis
 Sci Advisor HW Helper P: 3,147 How Do I rotate f(x) around the x-axis in MATlab or Mathematica? I can't say for sure because I don't use either of the programs you mentioned but I would try something like $$y^2 + z^2 = \frac {1}{\sinh^2 x}$$ and solving for z in terms of x and y (two solutions) so that plot3D(z, [x, y]) for the two solutions would be plotted. (Again, I don't know the specifics of the syntax so you'll need to adjust but it should be something like that.)