File Exchange

image thumbnail

Solids of Revolution

version (7.3 KB) by Bolu Ajiboye
This script shows a 3-D plot of a curve revolved around a specified axis.


Updated 11 Apr 2016

View License

This script prompts the user for two functions y1=f1(x) and y2=f2(x) and rotates the area between the two curves around a user-defined axis. Plotted is the region between the two curves and the 3-D solid generated by revolving the region around the axis. Caluclated are the volume and surface area of the resudlting solid, and the arc length of each curve.

Cite As

Bolu Ajiboye (2020). Solids of Revolution (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

This is an amazing code! However, I got the reverse of what I was trying to get. What is meant by inner and outer function?


BSD License

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux