"Find the shape of the curve down which a bead sliding from rest and accelerated by gravity will slip (without friction) from one point to another in the least time."

This is a statement of what problem whose solutions (by the likes of Newton, the Bernoullis, and Leibniz) led to the development of the calculus of variations?

Brachistochrone Problem