Question: HW 1 - Write a code to perform ( use SI units ) Ask the user for the number of teeth of the chainring and

HW1- Write a code to perform
(use SI units)
Ask the user for the number of teeth of the chainring and the number of teeth of the cassette. Try out your code with the following cases (50,11) and (34,32). The first number is the number of teeth of the chainring and the second one is the number of teeth of the cog in the cassette.
Display the gear ratio. Use a message as follows
Gear Ratio is 1:GR
Ask for the radius of the wheel in meters. Use 0.311m to test your code.
Display the distance traveled by the bike in one revolution of the pedals.
Ask the user for the cadence of the pedals revmin, the cyclist weight kg, and the grade of the terrain in percentage.
Display the velocity of the bike in ms and kmh.
Display the value in Newtons of the drag force, the rolling resistance force, and the force due to the grade.
Display the power in Watts required to maintain that cadence. Remember that power = force*?** velocity.
EML 3811
 HW1- Write a code to perform (use SI units) Ask the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!