#Julia Plotting Error with Euler's Method of Solving ODEs, pls help πŸ™

1 messages Β· Page 1 of 1 (latest)

livid prawn
#

Hi all,
I'm new to Julia and I am trying to plot a trajectory of a planet in the x-y axis by solving coupled ODE's using my own implementation of euler's method. Furthermore, no matter what I seem to do, I am not getting all three plots (3 different sizes of h) and the following error message: attempt to save state beyond implementation limit. I thought that this may have been an issue with my solution vector being too large, but that doesn't seem to be the case because when I add every 100th element to the solution vector, it still doesn't seem to work. I've also tried different ways of plotting such as display and plotting them all at once, e.t.c but none of them seem to work. Also note that I am working in a Jupyter notebook. I don't know if that makes any difference.

I would really appreciate any help anyone could provide.

Here is my code: https://pastebin.com/5QtY0nYa
Password: 9Qe#%g9LR6KF@#$_342e

livid prawn
#

Julia Plotting Error with Euler's Method of Solving ODEs, pls help πŸ™

livid prawn
#

!close