Interactive Excel Investigations in Management Mathematics

Suppose two trains leave two different stations but arrive at the same station from which a third train, connecting to the first two, departs. Let us denote the departure times of the trains as x1, x2 and x3 respectively, and the duration of the journeys of the first two trains (including the necessary times for changing the trains) by a1 and a2 respectively. Then x3 = max (x1 + a1, x2 + a2) which in the max-algebraic notation reads