formular for looking maximum speed reached