exercise 4.1 suppose the pilot start agin from rest