Question: Write a Matlab function that takes : a)Midrange and alternating moment and torque b)Normal and shear stress concentrations, and stress factors Kf,Kfs,Kt,Kts c)Small and Large

Write a Matlab function that takes :
a)Midrange and alternating moment and torque
b)Normal and shear stress concentrations, and stress factors Kf,Kfs,Kt,Kts
c)Small and Large diameters of a hollow round shaft
And returns:
(a)Factor of safety for static(DE),
(b) fatiguefailure (Modified Goodman)and
(c) overall factor of safety
Every line must be commented.
Write a short paragraph at the beginning of your code explaining your program and how it works.
Include a simple example of how to run your code.
Problem 1: Write a Matlab function that takes (a) Midrange and alternating moment and torque (b) Normal and shear stress concentrations (c) Small and Large diameters of a hollow round shaft And returns (a) Factor of safety for static (DE), (b) fatigue failure (Modified Goodman) and (c) overall factor of safety . Every line must be commented. .Write a short paragraph at the beginning of your code explaining your program and how it works. Include a simple example of how to run your code. . You have to upload your mfile as well as turning in the printout of your code Problem 1: Write a Matlab function that takes (a) Midrange and alternating moment and torque (b) Normal and shear stress concentrations (c) Small and Large diameters of a hollow round shaft And returns (a) Factor of safety for static (DE), (b) fatigue failure (Modified Goodman) and (c) overall factor of safety . Every line must be commented. .Write a short paragraph at the beginning of your code explaining your program and how it works. Include a simple example of how to run your code. . You have to upload your mfile as well as turning in the printout of your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
