MATLAB: My boundary condition is this f'(+inf) == -1 ; But matlab shows some error. can anyone help me in fixing this

boundary

How to fix the boundary condtion

Best Answer

syms f(t)
df = diff(f,t) ;
d2f = diff(df,t) ;
d3f = diff(d2f,t) ;
ode = d3f+df*d2f == 0 ;
cond = d2f(sym('inf')) == -1 ;
dsolve(ode,cond)