Python 2.7

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
k = 0.3
m = 1;
g = -9.81

func nextPoint(ax, ay, v, t, w)
  vx = dt*ax(v, w) + v*cos(w);
  vy = dt*ay(v, w) + v*sin(w);
  w = arctan(vy/vx);
  v= 
  nextPoint()