You are on page 1of 1

E = input('Enter the value of E (in GPa) ');

I = input('Enter the value of I (in m^4) ');


L = input('Enter the value of L (in m) ');
P = input('Enter the value of P (in N) ');
q1 = input('Enter the value of q1 (in N/m) ');
q2 = input('Enter the value of q2 (in N/m) ');
n = input('Enter the value of n (the exponent) ');
a = input('Enter the value of a (in m) ');
m = input('Enter the value of moment (in Nm) ');
b = input('Enter the value of b (in m) ');
v = (1/(E*I))*((((q2+(n*q1)/(n+1))*L +P)*L^3)-(((q2+(n*q1)/(n+2))*L^2 +(a*P) +
m)*(0.5*L^2))-((q2-q1)/((n+1)*(n+2)*(n+3)*(n+4))*L^4)-(q1*L^4/24)-(P*(L-
a)^3/6)+(0.5*m*(L-b)^2))