how to write matlab code to solve y’ = −4y + 2, y(0) = 5.

Question : How to write matlab code to solve y’ = −4y + 2, y(0) = 5 Solution : %matlab code to solve y’ = −4y + 2, y(0) = 5 syms y(x)ODE=diff(y)==-4*y+2;conditon = y(0) == 5;Solution = dsolve(ODE,conditon) output…

This Question has been answered. 

Please Subscribe to See Answer or To Get Homework Help