Write down the Lagrangian for a projectile (subject to no air resistance) in terms of its Cartesian coordinates $(x, y, z),$ with $z$ measured vertically upward. Find the three Lagrange equations and show that they are exactly what you would expect for the equations of motion.