The ratio between successive speeds of a six-speed gearbox (assuming that the gears are evenly spaced to allow for whole teeth) is
where M is the maximum speed in revolutions per minute and m is the minimum speed. Write a function speeds_ratio that calculates this ratio for any maximum and minimum speeds. Write a main function that prompts for maximum and minimum speeds (rpm), calls speeds_ratio to calculate the ratio, and displays the results in a sentence of the form
The ratio between successive speeds of a six-speed gearbox with maximum speed __________ rpm and minimum speed __________ rpm is __________.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.