Ballistic Trajectory of an Electromagnetic Railgun