A standard example is finding the real-valued function y (x) on the interval [ a, b ], such that y (a) = c and y (b) = d, for which the path length along the curve traced by y is as short as possible.