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.
Bolu Ajiboye (2023). Solids of Revolution (https://www.mathworks.com/matlabcentral/fileexchange/15559-solids-of-revolution), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!