In[]:=
​​V[x]=
V
0
x>=0
0
x<0
;​​StationarySchrdingerEquation=(-ℏ^2/(2m))ψ''[x]+V[x]ψ[x]==E*ψ[x];​​Sol=DSolve[StationarySchrdingerEquation,ψ[x],x]
Out[]=
DSolve
V
0
x≥0
0
True
ψ[x]-
2
ℏ
′′
ψ
[x]
2m
ψ[x],ψ[x],x