Below is the Code I used to solve 4th order differential equation
but I am gitting warning regarding
clc;clear all;syms x v(x) a0 a1 a2 a3 a4 L I E qassume(L>0)assume(E>0)assume(I>0)ode = I*E*diff(v,x,4) - q == 0v(x) = a0+ a1*x + a2*(x^2) + a3*(x^3) + a4*(x^4)Dv = diff(v,x);D2v = diff(v,x,2);D3v = diff(v,x,3);cond1 = v(0) == 0cond2 = Dv(0) == 0cond3 = D2v(L) == 0,a2cond4 = D3v(L) == 0,a3conds = [cond1 cond2 cond3 cond4]tSol(x) = dsolve(ode,conds)
Outpt:
Warning: Unable to find explicit solution.
ode(x) =
v(x) =
cond1 =
cond2 =
cond3 =
a2 =
cond4 =
a3 =
conds =
Warning: Unable to find explicit solution.
tSol(x) =
[ empty sym ]
Best Answer