COMPUTER PROBLEM
(a) Generate a Matlab program that allows the user to specify the number of effective coils (N), the
spring coil-to-coil diameter (D), the wire cross-section diameter.
(b) The program should ask the user the relevant properties of the spring, the fatigue limit (for m
=0) ( e), the tensile strength (TS), and the shear modulus (G), units expressed in U.S. customary
units.
(c) The program must calculate the fatigue limit (for as well as the actual stress
amplitude for an automobile valve spring. Incorporate into this routine values cited for
installed and maximum deflections per coil (i.e., ic = 0.24 in. and mc = 0.54 in. ).
(d) Modify this program to help you solve the Design Problems listed in next section.