MATLAB: 4th order differential equation

differential equations

Hello, Can anyone help me with solving below?
EI(d^4v/dx^4) = w
Boundary conditions are
v(x=0) = 0 ; v(x=L)= 0; dv/dx(x=0) = 0 ; dv/dx(x=L) = 0

Best Answer

syms y(x) w EI L
c1=y(0)==0
y1 = diff(y,x)
c2=y1(0)==0
c3=y(L)==0
c4=y1(L)==0
y(x)=dsolve(diff(y,x,4)==w/EI,c1,c2,c3,c4)