Documentation
Output Using Euler Method
x y
0 1
0.1 1.1
0.2 1.22
0.3 1.364
Output Using Runge-Kutta 4th Order Method
x y
0 1
0.1 1.11034
0.2 1.24281
0.3 1.39972
✔ Euler Method
✔ Runge–Kutta Method (4th Order)
Problem Assumption
Solve the differential equation:
dy/dx=f(x,y)=x+y
with given initial condition:
y(x0)=y0