Thread Closed

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

 
Share Thread Thread Tools
Sep21-04, 09:12 PM   #1
 
Arrow

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


Please help, I want a visualization of the function y = sech(x) revolved around the x-axis from x = -2 to 2, creating a "solid of revolution".
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Heat-related deaths in Manhattan projected to rise
>> Dire outlook despite global warming 'pause': study
>> Sea level influenced tropical climate during the last ice age
Sep22-04, 12:11 AM   #2
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
Don't they have a plot3D command?
 
Sep22-04, 01:18 AM   #3
 
Yes, but how would I use that in conjunction with the rotation? Could you give me an example please?
 
Sep22-04, 01:40 AM   #4
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor

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
[tex]y^2 + z^2 = \frac {1}{\sinh^2 x}[/tex]
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.)
 
Sep22-04, 06:56 PM   #5
 
I believe the command is "SurfaceOfRevolution", do a search in the master index.
 
Thread Closed
Thread Tools


Similar Threads for: How Do I rotate f(x) around the x-axis in MATlab or Mathematica?
Thread Forum Replies
Rotate about an axis Introductory Physics Homework 2
The moon doesn`t rotate around it`s axis. General Astronomy 15
Mathematica: FilledPlot command/Definite Integral about the y-axis Math & Science Software 0
Can a wave rotate about its axis?? Classical Physics 5
How to revolve a function f(x) around the x-axis in MATlab or Mathematica... Math & Science Software 2