Ball rolls 6cm in one second. 6cm x 40 sec = 240cm
According to Doppler Effect, an observer at rest will perceive a shift in the wavelength or frequency of the radiation emitted by a source in movement.This shift is given by the formula:

where:

= observed wavelength

= wavelength at rest
v = speed of source (positive if towards the observer, negative if away from the observer)
c = speed of light
Therefore, we can solve for the observed wavelength:

Substituting the given data:

= 655.80 nm
Hence, the observed wavelength of the line would be
655.80 nm. Note that this value is smaller than the one at rest, which means that we have a blue-shift, as expected for an approaching source.
The ball rolls horizontally thus it is not affected by the gravitational acceleration. We assume that velocity is constant since we are not given acceleration. Therefore, acceleration is zero. The speed of the ball after 2 seconds will still be the same given we have a constant velocity system. Option A is the answer.
Answer:
The polarity of electromagnet also gets reversed when the direction of current is reversed. The current flows from negative terminal to positive terminal in an electromagnet due to the flow of electrons so polarity is also established in the electromagnet. As, the current direction is reversed, the polarity of magnet also gets reversed because the polarity of magnet depends on the direction of the current.