Final answer:
The frequency detected by a stationary train is 381.79 Hz.
Step-by-step explanation:
The equation for the Doppler shift of a sound wave reaching a moving detector is given by:
f' = f(v + vd) / (v - vs)
Where f' is the frequency at the detector, f is the frequency of the source, v is the speed of sound, vd is the speed of the detector, and vs is the speed of the source.
In this case, the train is moving toward the detector at a speed of 29 m/s, the frequency of the horn is 310 Hz, and the speed of sound is 343 m/s.
Using the equation, we can calculate the frequency detected by a stationary train:
f' = 310(343 + 29)/(343 - 0) = 381.79 Hz