newton's second law with friction