Skip to content Skip to sidebar Skip to footer

Overflow Error In Python Program

Please help me to understand why this code doesn't work. I know there is something very stupid wrong. This should be an implementation of the fourth order Runge kutta algorithm to

Solution 1:

The Runge-Kutta methods need to advance in small steps, 5 is not a small step. Try setting N to 1000.0 instead (the decimal is to make sure that (b-a)/N != 0).


Post a Comment for "Overflow Error In Python Program"