import math #Constraints: # 1. desired gear ratio of 25:1 # 2. 2 stages or less # 3. all gears under 2in in max diameter (addendum) #4. operating conditions: typical torque of 0.42 in-lbf at 2000rpm # extreme stall torque of 0.7 in-lbf (79.2mNm) #Q1.1 # outer diameter at 2 in or less, what is the largest ratio from TWO stages using 24 PITCH gears? Celsius = int(raw_input("Enter a temperature in Celsius: ")) Fahrenheit = 9.0/5.0 * Celsius + 32 print "Temperature:", Celsius, "Celsius = ", Fahrenheit, " F"
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question