ODE System solution Maple

  • #1
Hey there! I was trying to plot a ODE solution, but am not getting what I should be. It is actually plotting the orbit of Earth with Sun at the origin.
My equations
upload_2018-4-5_18-53-13.png

The (-0.00011847) is GM.
The Initial Conditions:
upload_2018-4-5_18-54-10.png


The plot I get:
upload_2018-4-5_18-54-28.png

Should not I be getting a elliptic/circular plot as the orbital positions of the Earth? Also, here the period is t=1. The position is supposed to be same at t=0 and t=1. Help, please!
 

Attachments

  • upload_2018-4-5_18-53-13.png
    upload_2018-4-5_18-53-13.png
    4 KB · Views: 919
  • upload_2018-4-5_18-54-10.png
    upload_2018-4-5_18-54-10.png
    2.2 KB · Views: 883
  • upload_2018-4-5_18-54-28.png
    upload_2018-4-5_18-54-28.png
    3.4 KB · Views: 576

Answers and Replies

  • #2
What is the code you used to generate this plot?
 
  • #3
What is the code you used to generate this plot?
I used the ODE Analyzer.
 
  • #4
Well, that is not very helpful for us in finding out what goes wrong.

If I use your picture (please post something one can copy as text next time -- it avoids typos) but take different values, even good old Euler in Excel gets me a plot I expect:

upload_2018-4-8_12-59-20.png


values:
Code:
dt 0,01
x_0 1
y_0 0
vx_0 0
vy_0 1
GM 1
so the expressions look OK (provided I reproduced them correctly)

Now: what are the units for your values (and for time) ?
 

Attachments

  • upload_2018-4-8_12-59-20.png
    upload_2018-4-8_12-59-20.png
    6.5 KB · Views: 503

Suggested for: ODE System solution Maple

Replies
1
Views
275
Replies
10
Views
707
Replies
1
Views
1K
Replies
4
Views
1K
Replies
3
Views
1K
Replies
5
Views
2K
Replies
6
Views
2K
Replies
4
Views
661
Replies
4
Views
818
Back
Top