Hi, I have the following ODE:
if true % code
endsyms a h Y(x) g x B Eeqn = (h)*diff(Y,x, 2) + (g)*diff(Y,x) + (g^2 - E)*Y == 0;cond = Y(0) == 1;cond = (diff(Y)(0) == 0;Y(x) = dsolve(eqn, cond)
and would like to add Y'(0)= 0 as initial condition, however cond = (diff(Y)(0) == 0; does not work. How can I combine two conditions here?
Thanks!
Best Answer