The file named gearRatio is for the kinematic and kinetic calculations of multi-stage planetary gear train. Details of the calculations and the adopted approach can be followed from the comment section of the script.
Many other calculators for different types of gears are to be added in this repo.