## 16 Reputation

18 years, 129 days

## Numeric D.E. solver help...

Maple
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

## Solving system of Diff eq. then using re...

Maple
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
﻿