Calculation of Extremals in an Optimal Control Problem With a Higher-Order State Constraint | Synapse