Lagrangian method formula I am not the best person to .