Register or Login to View the Solution or Ask a Question
Question : Solve y”-2y+y=e^(-x) in matlab Solution : >>syms x >>syms y(x) >>ode=diff(y,2)-2*diff(y)+y==e^(-x) ode = (sym) 2 d d -x y(x) - 2⋅──(y(x)) + ───(y(x)) = ℯ dx 2 dx >>dsolve(ode) ans = (sym) -x x ℯ y(x) = (C₁…
This Question has been answered.
Please Subscribe to See Answer or To Get Homework Help
Register or Login to View the Solution or Ask a Question