(adsbygoogle = window.adsbygoogle || []).push({}); How does one revolve a function f(x) around the x-axis in MATlab or Mathematica?

How would one go about making a visual representation of a function revolved around the x-axis to make a "solid of revolution" in a program like MATlab or Mathematica? For example, a function y = sin(x) can be rotated around the x-axis from x = -3.14 to 3.14, creating a 3D object that has a volume given by the definite integral of pi*sin(x)^2 dx from -3.14 to 3.14. Please help, been trying this for days!

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to revolve a function f(x) around the x-axis in MATlab or Mathematica

Loading...

Similar Threads - revolve function around | Date |
---|---|

Mathematica Cannot do the integral of the Hyper-geometric function? | Mar 11, 2018 |

Mathematica Cannot Plot This Function in Mathematica | Feb 26, 2018 |

Matlab Dotting autonomous functions | Jan 24, 2018 |

Mathematica Piecewise Function | Jan 18, 2018 |

LaTeX Text wrapping around figures | Dec 8, 2017 |

**Physics Forums - The Fusion of Science and Community**