Question: 4. Use the program MATLAB for the following question: A torus is shaped like a doughnut. If its inner radius is a and its outer
4. Use the program MATLAB for the following question:
A torus is shaped like a doughnut. If its inner radius is a and its outer radius is b, itsvolume and surface area are given by,
V = 1/4^2 (a +b )( ba )^2, A = ^2 (b^2 a^2)
i. Create a user-defined function that computes and from the arguments and .ii. Suppose that the outer radius is constrained to be 2 inches. greater than the innerradius. Write a script file that uses your function to plot A and V versus a for
0.5 a 5 inches.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
