1. Solve by separation of variables
yy'= xy2 + x, y(1)=0
a. Solve by the integrating factor method
xy'+(x+2)y = ex
b. Solve the Bernoulli’s Equation
x2y'−3y2 +2xy = 0, y(2) =5
c. Solve by undetermined coefficients
y"− y = x+sinx, y(0)= 2,y'(0) =3
Solve this differential equation using
Matlab
yy' + xy2 =x , with y(0)=5 for x=0 to 2.5 with a step
size 0.25
(a) Analytical
(b) Euler
(c) Heun
d) 4th order R-K method
Display all results on the same graph