B.salim

16 Reputation

2 Badges

19 years, 137 days

MaplePrimes Activity


These are questions asked by B.salim

Greetings, For a school project i am trying to calculate a trajectory of a spacecraft to mars. Using newtons equations and the numerical D.E. solver i calculated the orbits of earth and mars around the sun(which i am also using as my coordinate origin.) Then i use these results in a differential equation to find the position of a rocket launched from earth. I am shooting it in an arbitrary direction just to get started. The solver does its job and i rename the X,Y,Z coordinates of the rocket (formely called Xr,Yr,Zr) to X3,Y3,Z3. The problem is when i want a numeric answer, i.e i type in X3(400)...i get
Greetings, For a college math project i am plotting a rocket trajectory to mars using maple. First i solved a system of D.E.'s to get the position of the earth (x(t),y(t),z(t)) as a function of time. Then i did the same thing for mars. however when i use these results to solve the D.E. for the a rocket trajectory i get an error. I will post my code. Any help would be very much appreciated. Download 5476_Earth+mars+rockettesta.mw
View file details
Page 1 of 1