Question: Create a Matlab Live Script called Beam_Calculation_.mlx containing a local function called rcbeam that computes the maximum bending moment in a rectangular reinforced concrete beam,

Create a Matlab Live Script called "Beam_Calculation_.mlx" containing a local function called rcbeam that computes the maximum bending moment in a rectangular reinforced concrete beam, according to the following input parameters: 1. The depth (b) and height (h) of the beam's cross-section. 2. The compressive strength of concrete (fc) and the tensile strength of steel (fy). 3. The scalar value defined as the area of steel divided by the total area of the section =As/(bh). Based on these values, the ultimate bending moment can be computed as: where: Mu=Asfy(d2a) a=0.85fcbAsfy Use the defined function to compute MU for values of in the range 0% to 5% (Hint: you can use a for loop with a 0.1% step for the variable and compute all the values of Mu ). In all your calculations, assume the following: 1. b=8in,h=18in. 2. d=h2[ in. ], for all cases 3. fy=85.0ksi 4. fc=6.5ksi After calculating the value of the ultimate bending moment for all the values of , plot the Mu relationship in a graph (Hint: check the documentation for the plot function)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
