Question: Write an assignment statement to determine the maximum bending moment, M, of a beam, given this formula: M = XW (L - X)/L X is
Write an assignment statement to determine the maximum bending moment, M, of a beam, given this formula: M = XW (L - X)/L X is the distance from the end of the beam that a weight, W, is placed. L is the length of the beam. a. Write a program to calculate Max bending moment M as formula above, test your program with the value as below: X = 1000 W = 10 L = 88 times 10^5 Your program should produce display as below. for X = 1000 for W = 10 for L = 8.8e +006 M = 9998.86 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
