Question: USE MATLAB 9. A torus is shaped like a doughnut. If its inner radius is a and its outer radius is b, its volume and

USE MATLAB
9. A torus is shaped like a doughnut. If its inner radius is a and its outer radius is b, its volume and surface area are given by --2 (a + b)(b-a)2 (a) Create a user defined function called torus that computes V and A from input arguments 'a' and 'b'. (b) Suppose that the outer radius is constrained to be 2 in. greater than the inner radius. Write a script file that uses your function to plot A and V versus 'a' for 0.25 s a s 4 in. (hint: use subplot) 9. A torus is shaped like a doughnut. If its inner radius is a and its outer radius is b, its volume and surface area are given by --2 (a + b)(b-a)2 (a) Create a user defined function called torus that computes V and A from input arguments 'a' and 'b'. (b) Suppose that the outer radius is constrained to be 2 in. greater than the inner radius. Write a script file that uses your function to plot A and V versus 'a' for 0.25 s a s 4 in. (hint: use subplot)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
