I have tried:
DSolve[{y'[x] == x^2 + y^3, y[1] == 1}, y[x], x]
and did not work, and I have not figured out how to use RK4 order method to find y(2.2), using h = 0.1
I have tried:
DSolve[{y'[x] == x^2 + y^3, y[1] == 1}, y[x], x]
and did not work, and I have not figured out how to use RK4 order method to find y(2.2), using h = 0.1
sol = NDSolve[{y'[x] == x^2 + y[x]^3, y[1] == 1}, y[x], {x, 1, 3}, Method -> {"ExplicitRungeKutta", "DifferenceOrder" -> 4}]– cvgmt Dec 18 '20 at 00:55