A car drives at a speed of 28m/s along a road parallel to a railroad track. A train traveling at 15m/s sounds a horn that vibrates at 300 Hz.

If the train and car are moving toward each other, what frequency of sound is heard by a person in the car?
If the train and car are moving away from each other, what frequency of sound is heard in the car?

1 answer

Isn't there a standard formula for this?
https://www.google.com/search?q=doppler+formula&ie=utf-8&oe=utf-8