Complete Question
If a sound with frequency fs is produced by a source traveling along a line with speed vs and an observer is traveling with speed vo along the same line from the opposite direction toward the source, then the frequency of the sound heard by the observer is
f_o = [(c+v_o)/(c-v_s)] f_s
where c is the speed of sound, about 332 m/s. (This is the Doppler effect). Suppose that, at a particular moment, you are in a train traveling at 34 m/s and accelerating at 1.2 m/s^2. A train is approaching you from the opposite direction on the other track at 40 m/s, accelerating at 1.4 m/s^2, and sounds its whistle, which has a frequency of 460Hz. At that instant, what is the perceived frequency that you hear and how fast is it changing?
Answer:
The frequency the person hears is

The speed at which it is changing is

Step-by-step explanation:
Form the question we are told that
The frequency of the sound produced by source is

The speed of the source is

The speed of the observer
The frequency of sound heard by observer
![f_o =[ (c + v_o )/(c - v_s) ] * f_s](https://img.qammunity.org/2021/formulas/physics/college/2761soxxjh4rrkva7shkovrp8w5r6u2be7.png)
The speed of sound is c with value

Looking the question we can deduce that the person in the first train is the observer so the

and the acceleration is

The train the travelling in the opposite direction the blew the whistle
is the source
So

and

and the acceleration is
We are told that
![f_o =[ (c + v_o )/(c - v_s) ] * f_s](https://img.qammunity.org/2021/formulas/physics/college/2761soxxjh4rrkva7shkovrp8w5r6u2be7.png)
Substituting values we have that
![f_o =[ (332 + 34 )/(332 - v40) ] * 460](https://img.qammunity.org/2021/formulas/physics/college/ti2uxqcqp4xrquz03j7tx28g1j8uvtp6tj.png)

Differentiating
using chain rule we have that
Now

Substituting this into the equation

Now substituting values

