Please write a python code for this problem
HW10 3 A uniform beam is simply supported at both ends, and subjected to a load.The deflection of the beam is given by the differential equation
x (m)
0
0.2
0.4
0.6
0.8
1.0
y (cm) 0
7.78 10.68 8.38 3.97 0
dx2
EI
moment, and El = 1.2 10Nm2 is the flexural rigidity of the beam. The data shown in the table is obtained from measuring the deflection of the beam vs position. Find the bending moment M(x) at each location x from this given data. Print the results in a table.
Note:Use second derivative formulas.Do not differentiate twice