Question: Problem 1 Write a MATLAB code that plots both the shear and bending force diagrams for a beam that has either 3, 4, or 5

Problem 1 Write a MATLAB code that plots both the shear and bending force diagrams for a beam that has either 3, 4, or 5 externally applied forces or externally applied moments Assume the applied forces and moments are applied to the beam in equally spaced sections and with the configuration as shown in the figure below (Assume every beam is rigidly attached on the left side and connected to wheels on the right side) Beam A' 3 Beam B 4 Beam C The MATLAB code should be able to prompt the user to select the number of externally applied . The code should then prompt the user to choose whether.or.not forces are being applied to the . Then the user should be able to input those forces or moments at each point in the beam (Note forces or moments with a button menu by using the 'menu' function in Matlab. beam or moments are being applied to the beam the user may apply a negative, positive, or zero force or moment at each one of the points in the beam Next, the code should be able to prompt the user for the magnitude of each applied force (in Newtons) or moment (in Newton-meters) as well as the equal distance between applied forces/moments with the use of the 'inputdlg' function . The code should then analyze this input data and plot the correct shear and bending force diagrams Finally, the code should prompt the user if they would like to run the program again (use a while loop for this) . Write the code so that the user can have the option to apply both moment and forces to the either one of the beams. The code can be written so that only one moment or force are applied to each point in the beams
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
