Calculates the friction roce by using the efficiency factor. Atan function is used to obtain a continous model