Given, the frequency of the whistle is
i)
a)
The train is approaching the platform, so the relative velocity of sound is the difference in the velocity of sound in air and the speed of the train.
The formula to calculate the frequency of the whistle is,
Here, the speed of sound in air is
Substituting the values in the above equation, we get:
Thus, the frequency of the whistle for the platform observer when the train approaches the platform is
b)
The train recedes from the platform, so the relative velocity of sound is the sum of the velocity of sound in air and the speed of the train.
The formula to calculate the frequency of the whistle is,
Here, the speed of sound in air is
Substituting the values in the above equation, we get:
Thus, the frequency of the whistle for the platform observer when the train recedes from the platform is
ii)
The speed of sound is the same in both the cases because the speed of sound is not relative to the motion of the bodies. It depends on the medium in which the sound waves travel, which is the same in both the cases, which is air. The speed of sound in air in both the cases is