Final answer:
The time it takes for the object to reach the maximum height is 4 seconds.
Step-by-step explanation:
The time it takes for the object to reach the maximum height can be calculated using the equation:
time = (final velocity - initial velocity) / acceleration
In this case, the initial velocity is 40 m/s and the acceleration due to gravity is -9.8 m/s^2 (negative sign because the object is moving upwards against gravity).
Substituting the values into the equation, we get:
time = (0 - 40) / -9.8 = 4 seconds
Therefore, the correct answer is Option B: 4 seconds.