Register or Login to View the Solution or Ask a Question
Question : How to write matlab code to solve y’ = −4y + 2, y(0) = 5Solution : %matlab code to solve y’ = −4y + 2, y(0) = 5syms y(x)ODE=diff(y)==-4*y+2;conditon = y(0) == 5;Solution = dsolve(ODE,conditon)outputSolution = (sym) -4⋅x…
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