The exact closed-form solution of generalized proportional navigation