Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using python Python More Script Practice ad.. X beam_bending A simply supported beam is subjected to two distributed loads; wi at the left end and
using python
Python More Script Practice ad.. X beam_bending A simply supported beam is subjected to two distributed loads; wi at the left end and w2 at right end. The left end of the beam is labeled A and the right is labeled B. The bending moment as a function of the location from the left end is given by the following equations: M(z) _ R48--(2x-a) for a rS (+ b) where is the length (in feet) of the left distributed load u 1, b is the distance between the two distibuted loads in feet and L is the overall length of the beam (in feet). The two reactions RA and Re at the supports are defined by: 2L 2L where c = L-a-b. Make a plot of the bending moment M as a function of x for the full length of the beam. Ask the user for the values of a, b, L, w, and w2 using individual input() expressions. (Don't forget to convert the inputs from strings to floating point values. Test your script with L 16 6 t. b 6 wi 400 lb/ft, and w2 200 lb t n addition to the plot requested, use formatted printing to report the two reaction forces and the value and location of the maximum bending moment. Use a sufficient number of data points to produce a smooth plot. Include an appropriate title and axes labels with the plot. Make the line 2 wide and use magenta for the color In [1: Wrap it up Execute the time stamp code cell below to show the tirme and date you finished this assignment from datetime import datetime, timedelta Tn [ Python More Script Practice ad.. X beam_bending A simply supported beam is subjected to two distributed loads; wi at the left end and w2 at right end. The left end of the beam is labeled A and the right is labeled B. The bending moment as a function of the location from the left end is given by the following equations: M(z) _ R48--(2x-a) for a rS (+ b) where is the length (in feet) of the left distributed load u 1, b is the distance between the two distibuted loads in feet and L is the overall length of the beam (in feet). The two reactions RA and Re at the supports are defined by: 2L 2L where c = L-a-b. Make a plot of the bending moment M as a function of x for the full length of the beam. Ask the user for the values of a, b, L, w, and w2 using individual input() expressions. (Don't forget to convert the inputs from strings to floating point values. Test your script with L 16 6 t. b 6 wi 400 lb/ft, and w2 200 lb t n addition to the plot requested, use formatted printing to report the two reaction forces and the value and location of the maximum bending moment. Use a sufficient number of data points to produce a smooth plot. Include an appropriate title and axes labels with the plot. Make the line 2 wide and use magenta for the color In [1: Wrap it up Execute the time stamp code cell below to show the tirme and date you finished this assignment from datetime import datetime, timedelta Tn [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