Code in Place Final Project Bike Calculator

by Whitney H


My code tells you the power you need to climb a mountain on a bicycle based on the inputs you provide (height, weight, crank/cassette size, rpm to maintain and txt file for gradient profile). It accounts for air resistance (without wind), rolling resistance, and the angle of the hill. The output is a list of the power needed for each km of the hill along with the maximum power, average power, speed you need to maintain your rpm, and time required to climb the hill.