calculator applications

It would be interesting to first create two calculator applications:

SPLIT CALCULATOR INTERVAL DURATION

The coach tells us that we have to run 3 intervals of 2000 meters in 6 minutes each interval. We want to know the 400 pace.

DESIGN:

Interval distance: (here we will put in the garmin 2.00km)
Interval duration: (here we will put in the garmin 6:00)
Splits every: (here we will put in the garmin 0.40km)
Split time: the garmin will put 1:12

SPLIT CALCULATOR INTERVAL PACE

The coach tells us that we have to run 3 intervals of 2000 meters at a pace of 3min/km each interval. We want to know the 400 pace.

DESIGN:

Interval distance: (here we will put in the garmin 2.00km)
Interval pace: (here we will put in the garmin 3min/km)
Splits every: (here we will put in the garmin 0.40km)
Split time: the garmin will put 1:12