Question: Write in MATLAB... The surface area S of a ring in shape of a torus with an inner radius r and a diameter d is

Write in MATLAB...
The surface area S of a ring in shape of a torus with an inner radius r and a diameter d is given by: S = pi^2(2r + d) The ring is to be plated with a thin layer of coating. The weight of the coating W can be calculated approximately as W = gamma S t, where gamma is the specific weight of the coating material and t is its thickness. Write an anonymous function that calculates the weight of the coating. The function should have four input arguments, r, d, t, and gamma. Use the anonymous function to calculate the weight of a gold coating (gamma = 0.696 1b/in.^3) of ring with r = 0.35 in., d = 0.12 in., and t = 0.002 in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
