300 years ago Johann Bernoulli solved the problem of brachistochrone (
the problem of finding the fastest travel curve's form) using the opti
cal Fermat concept. In the same way we solved some generalisations of
this problem. We obtained the fastest travel curve's form in a gravita
tional field for a point-like mass. When moving in a uniform gravitati
onal field we considered the influence of the dry friction or drag.