Posted inMathematical Physics how to write matlab code to solve y’ = −4y + 2, y(0) = 5. Posted by By SK Math Expert February 11, 2022Posted inMathematical Physics 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 Login or Register to See The Answer Post navigation Previous Post Calculate the following probabilitiesNext PostHow to find Derivative of a vector?