A train of total mass equal to 500 Megagrams starts from rest and accelerates uniformly to a speed of 90 km/h in 50 s. After reaching this speed, the train travels with a constant velocity. The track is horizontal and axle friction and rolling resistance result in a total force of 15 kN in a direction opposite to the direction of motion. Determine the power required as a function of time