Question: 35. Write a user-defined function that determines the coordinate of the centroid of the Ishaped cross-sectional area shown in the figure. For the function name
35. Write a user-defined function that determines the coordinate of the centroid of the Ishaped cross-sectional area shown in the figure.
For the function name and arguments, use yc =
centroidI(w,h,d,t), where the input arguments w, h,
d, and t are the dimensions shown in the figure and the output argument yc is the coordinate .
Use the function to determine for a beam with in., in., in., and in.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
