Recent content by FahdEl
-
Equation of motion using Runge-kutta 4 and Verlet algorithm
this graph is for x axes and y axes- FahdEl
- Post #4
- Forum: Advanced Physics Homework Help
-
Equation of motion using Runge-kutta 4 and Verlet algorithm
does it change the results ? i don't think so?what do u mean? the probleme i must get an elliptique shape not this- FahdEl
- Post #3
- Forum: Advanced Physics Homework Help
-
Equation of motion using Runge-kutta 4 and Verlet algorithm
import numpy as np import matplotlib.pyplot as plt G=6.67408e-11 M=1.989e30 m=5.972e24 X0=-147095000000 Y0=0 VX0=0 VY0=-30300 T=365*24*60 def rk(ax,ay,x,y,vx,vy,h): t=0 n=int(T/h) A=[[t],[x],[y],[vx],[vy]] for i in range(1,n): k1x=vx k1y=vy q1x=ax(x,y)...- FahdEl
- Thread
- Algorithm Equation of motion Motion Runge-kutta
- Replies: 3
- Forum: Advanced Physics Homework Help