We have defined in the problem the time in minutes, but the requirement is give the formula in seconds, then
1minute = 60seconds,
a) In one hand we have,

Where s is the time in seconds and A the altitude. How S is a medition given in minutes, we convert,

b) In the other hand we know that
hours, then
