Consider the general problem of the beam subjected to n concentrated loads. Write a computer program that can be used to determine the internal shear and moment at any specified location x along the beam, and plot the shear and moment diagrams for the beam. Show an application of the program using the values P1 = 500 lb, d1 = 5ft, P2 = 800 lb, d2 = 15ft, L1= 10ft, L = 15ft.