Given the initial position and velocity, I want get the trajectory of an object in a gravitational field. Instead of using Kepler's Laws, I want to solve the following differential equations:
DSolve[{x[0] == a, y[0] == b, Derivative[1][x][0] == c,
Derivative[1][y][0] ==
d, (x^\[Prime]\[Prime])[t] == -((G M x[t])/(x[t]^2 + y[t]^2)^(
3/2)), (y^\[Prime]\[Prime])[t] == -((G M y[t])/(x[t]^2 + y[t]^2)^(
3/2))}, {x, y}, t]
But instead of solving it, Mathematica just returns the expression itself. Any help?
NDSolve
. $\endgroup$