Suppose three identical steel balls Q, R, and S, are placed on an undulating ground…