Equation of curve of fastest descent