Finding the friction