Trajectory Near a Black Hole: an application of Lagrangian mechanics
The lagrangian formulation of mechanics has great advantages in practical use. Calculations of this type require finding the derivative of a function with respect to another function. Although our method is a pedagogic approach that might involve longer steps, it is a straightforward attack on this problem, and practically all problems in classical mechanics can be solved once the lagrangian is found. In most real physics problems, there are no analytic solutions to differential equations. We particularly emphasize forming plots numerically. We introduce an example in general relativity, to find the trajectory of a particle near a black hole, which corresponds to the shortest path between two points in a curved space.