Tables of materials properties list density, in units of kg/m^3, when the international system of units (SI) is used and list specific weight, in units of lb/〖in〗^3, when the U.S. customary system of units are used. Write a user-defined MAT- LAB function that converts density to specific weight. For the function name and arguments, use [sw] = DenToSw(den). The input argument den is the density of a material in kg/m^3, and the output argument sw is the specific weight in lb/〖in〗^3. Use the function in the Command Window to:
(a) Determine the specific weight of steel whose density is 7860 kg/mm^3
(b) Determine the specific weight of titanium whose density is 4730 kg/m^3