Pregunta de entrevista de US Navy

Pendulum derivation, basic derivative/integral calculus, optimization problem.