add brachristochrone example