Step 1: Express the new averages when Sally or Harry joins.
When Sally (105 pounds) joins, the new average decreases by 6:
Total weight of group+105 =p−6.
Multiplying through by n+1:
Total weight of group+105=(n+1)(p−6).
When Harry (195 pounds) joins, the new average increases by 12:
Total weight of group+195 = p+12.
Multiplying through by n+1
Total weight of group+195=(n+1)(p+12).
Step 2: Express the total weight of the group in terms of n and p.
The total weight of the group is np.
Substituting Total weight of group= np into both equations:
From Sally joining: np+105=(n+1)(p−6)
Expanding and rearranging: np+105=np−6n+p−6 ⇒ 105=−6n+p−6.
Simplify: p−6n=111 ------eq(1)
From Harry joining: np+195=(n+1)(p+12).
Expanding and rearranging: np+195=np+12n+p+12 ⇒ 195=12n+p+12.
Simplify:p+12n=183 ----- eq(2)
Step 3: Solve the system of equations.
From equation (1): p=6n+111.
Substitute p=6n+111 into equation (2): 6n+111+12n=183.
Combine terms: 18n+111=183.
Solve for n: 18n=72⇒n=4.
Substitute n=4 into p=6n+111:
p=6(4)+111 = 135
Final Answer:
The value of
p is 135