Hi, MATLAB online solves this:
if true % code
endsyms a h Y(x) g x B Eeqn = (h^2)*diff(Y,x, 2) + (2*i*h*g)*diff(Y,x) + (g^2 - E)*Y == 0;DY = diff(Y) cond1 = Y(0) == 1;cond2 = DY(0) == 0;Y(x) = dsolve(eqn, cond)
however MATLAB on the computer, 2017 a, does not solve it, and I get :
diff(Y(x), x)
Not enough input arguments.
Error in cond (line 24) if issparse(A)
Error in PDE_sol (line 6) Y(x) = dsolve(eqn, cond)
Which one should I "believe" in?
Best Answer