Trajectory of a ball in an elliptical billiard