Given, speed of motor boat in still water = 18 km/hr.
Let speed of stream = x km/ hr.
∴ Speed of boat downstream = (18 + x) km/hr.
And speed of boat upstream = (18 - x) km/hr.
Time of the upstream journey = 24(18−x)
Time of the downstream journey = 24(18+x)
According to the question,
24(18−x)−24(18+x)=1
24(18−x)−24(18+x)=1
24(18+x)−24(18−x)(18−x)(18+x)=1
24×18+24x−24×18+24x324−x2=1
48x324−x2=1
48x=324−x2
⇒ x2+48x−324=0
⇒x2+54x−6x−324=0
⇒ x(x+54)−6(x+54)=0
⇒(x+54)(x−6)=0
Either x + 54 = 0
x = - 54
Rejected, as speed cannot be negative
or x-6 = 0
x = 6
Thus, the speed of the stream is 6 km/hr.
OR
Let original average speed of train be x km/hr.
∴ Increased speed of train = (x + 6) km/hr.
Time taken to cover 63 km with average speed =63x hr.
Time taken to cover 72 km with increased speed = 72(x+6)hr.
According to the question.
63x+72x+6=3
⇒63(x+6)+72(x)(x)(x+6)
⇒63x+378+72xx2+6x=3
⇒135x+378=3(x2+6x)
⇒135x+378=3x2+18x
⇒3x2+18x−135x−378=0
⇒3x2−117x−378=0
⇒3(x2−39x−126)=0
⇒x2−39x−126=0
⇒x2−42x+3x−126=0
⇒x(x−42)+3(x−42)=0
⇒(x−42)(x+3)=0
Either x - 42 = 0
x = 42
or x + 3 = 0
x = -3
Rejected (as speed cannot be negative)
Thus, average speed of train is 42 km/hr.