Problem 3065. Cycling — Critical Power
From Training and Racing with a Power Meter by Allen and Coggan:
"A number of equations have been presented in the scientific literature describing human power output as a function of time, some derived from modeling based on the underlying physiology, and some simply derived empirically. One of the simplest and most robust, though, is the original "critical power" concept first proposed by H. Monod around 1960. Various formulations of this idea have been presented, but the original equation is a hyperbolic of the form: t = AWC / (P – CP), where t is time to exhaustion [in seconds], P is current power [in Watts], CP is work rate (i.e., power) asymptote, and AWC is degree of curvature of the relationship."
You will be given values for AWC and CP. Write a function to return the time that the cyclist can maintain for an array of power (P) values. The times should be rounded to the nearest second. If P <= CP, the cyclist can theoretically maintain that power indefinitely (Inf).
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers41
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15485 Solvers
-
Replace multiples of 5 with NaN
438 Solvers
-
Output any real number that is neither positive nor negative
389 Solvers
-
479 Solvers
-
920 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!