38.2 °C is the temperature on the beach.
Explanation:
As per the pressure law, as the pressure of the gas increases which is directly proportional to the absolute temperature measured in Kelvin(K).
So [tex]\frac{P1}{T1} = \frac{P2}{T2}[/tex]
Now we have,
Pressure P1 =4.50 atm and
P2 = 4.78 atm
Temperature T1 = 20° C + 273 K = 293 K
So we need to find T2 as,
[tex]T_{2}=\frac{P_{2} \times T_{1}}{P_{1}}[/tex]
[tex]T_{2}=\frac{4.78 \mathrm{atm} \times 293 \mathrm{K}}{4.50 \mathrm{atm}}=311.2 \mathrm{K}[/tex]
To convert the temperature in degree Celsius, we have to subtract 273 from the Kelvin temperature.
311.2 K - 273 K = 38.2 °C
Thus 38.2 °C is the temperature on the beach.