THE BRACHISTOCHRONE PROBLEM WITH FRICTIONAL FORCES