Our main currently will take in a text file of single values. We will call these "y" values for rk4. However, for plotting I need the corresponding x values. These will never change, but If we have a separate file ( or add them to the original that would work).
If we use just one file:
size
deltax
point 1 y
point 1 x
point 2 y
point 2 x
...
point n y
point n x
Let me know which we want to do. I can just read them in and place them into some array to hold onto until we plot
Our main currently will take in a text file of single values. We will call these "y" values for rk4. However, for plotting I need the corresponding x values. These will never change, but If we have a separate file ( or add them to the original that would work).
If we use just one file:
size deltax point 1 y point 1 x point 2 y point 2 x ... point n y point n x
Let me know which we want to do. I can just read them in and place them into some array to hold onto until we plot