Answered step by step
Verified Expert Solution
Question
1 Approved Answer
An overhang beam as shown in Figure 1 is simply supported at A and B and is subjected to a uniformly distributed load (UDL) (w)
An overhang beam as shown in Figure 1 is simply supported at A and B and is subjected to a uniformly distributed load (UDL) (w) over the overhanging span BC. The reaction at supports can be calculated as: RA=2awb2RB=wb+RA where a is the simply supported span AB and b is the length of overhanging region BC. For the simply supported span AB(xa), the shear force and bending moment at any point in this region are given by: Vx=RAMx=RAx SEAA 2413 For the overhanging span BC(x>a), the shear force and bending moment at any point in this region are given by: VxMx=w(bx1)=2w(bx1)2 where x1=xa Based on the information given above, complete the MATLAB script named "main_file.m" in TABLE 1 for the following procedures: a) Perform data validation to check that the values of a and b are greater than zero. If not, display "Please check input a and b" on command window and make sure that the program will not be executed. b) Calculate the reactions (RA and RB). c) Calculate the shear force (Vx) and bending moment (Mx) over the beam using for-loop for every 0.1m span. d) Determine the absolute maximum bending moment (Mmax) and its location, x. e) Write and call a user-defined function (UDF) named "plotMx" to plot the bending moment diagram along the beam as shown below. For the overhanging span BC(x>a), the shear force and bending moment at any point in this region are given by: VxMx=w(bx1)=2w(bx1)2 where x1=xa Based on the information given above, complete the MATLAB script named "main_file.m" in TABLE 1 for the following procedures: a) Perform data validation to check that the values of a and b are greater than zero. If not, display "Please check input a and b" on command window and make sure that the program will not be executed. b) Calculate the reactions (RA and RB). c) Calculate the shear force (Vx) and bending moment (Mx) over the beam using for-loop for every 0.1m span. d) Determine the absolute maximum bending moment (Mmax) and its location, x. e) Write and call a user-defined function (UDF) named "plotMx" to plot the bending moment diagram along the beam as shown below. SEAA 2413 11 f) Produce a report file named "report.txt" that contain the follow: information. 10/
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started