# Two trains

Two trains are running the same distance. 1st train will travel in 7 hours 21minutes. 2nd the train will travel 5 hours 57 minutes and 34 seconds, and it is 14 km/h faster than the first train. What are the speeds of trains, and how long is this railway?

a =  60 km/h
b =  74 km/h
s =  441 km

### Step-by-step explanation:

b=a+14
a·(7+21/60)=b·(5+57/60+34/3600)

a-b = -14
26460a-21454b = 0

Pivot: Row 1 ↔ Row 2
26460a-21454b = 0
a-b = -14

Row 2 - 1/26460 · Row 1 → Row 2
26460a-21454b = 0
-0.19b = -14

b = -14/-0.18919123 = 73.99920096
a = 0+21454b/26460 = 0+21454 · 73.99920096/26460 = 59.99920096

a = 59.999201
b = 73.999201

Our linear equations calculator calculates it.

Did you find an error or inaccuracy? Feel free to write us. Thank you!

Tips for related online calculators
Do you have a linear equation or system of equations and looking for its solution? Or do you have a quadratic equation?
Do you want to convert velocity (speed) units?
Do you want to convert time units like minutes to seconds?