SOLUTION —In order to solve this problem, we have to calculate the speeds of both the trains separately. The train having higher speed will have travelled faster.
We know that :
Speed = Distance travelled/Time taken
Thus, the speed of train B is 45 kilometres per hour.
From the above calculations we find that the train A travels a distance of 40 kilometres in one hour whereas the train B travels a distance of 45 kilometres in one hour. Since the speed of train B is higher, therefore, train B has travelled faster.