Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The surface areas of a ring in shape of a torus with an inner radius r and a dia

ID: 3595447 • Letter: T

Question

The surface areas of a ring in shape of a torus with an inner radius r and a diameter d is given by: 8· The ring is to be plated with a thin layer of coating. The weight of the coating W can be calculated approxi- mately as w-7S1 , where 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 Use the anonymous function to calculate the weight of a gold coating (-0696 lbin) of a ring with r 0.35 in, d = 0.12 in., and t = 0.002 in.

Explanation / Answer

%test file
lambda = 0.696;
r = 0.35;
d = 0.12;
t = 0.002;
clacWeight(r,d,t,lambada)


%function file
Function W = calcWeight(r,d,t,lambda)
S = pi.^2*(2*r+d)*d;
W = lambda*S*t;
end

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote