Hamilton–Jacobi Equations: Theory and Applications