60 likes | 176 Views
Example Combining slicing and prod(). Mechanics. Reduction Gears. How are gears made? (video). http://science.howstuffworks.com/transport/engines-equipment/gear.htm. How are they used? (video). http://www.geeksaresexy.net/2011/06/16/amazing-lego-orrery-video/. Mechanics. Reduction Gears.
E N D
Example Combining slicing and prod()
Mechanics Reduction Gears How are gears made? (video) http://science.howstuffworks.com/transport/engines-equipment/gear.htm How are they used? (video) http://www.geeksaresexy.net/2011/06/16/amazing-lego-orrery-video/
Mechanics Reduction Gears http://www.thefreedictionary.com
Mechanics Reduction Gears Solve by hand
Mechanics Reduction Gears
Key Points • There is no need for a single loop • Improvements that could be made to the solution • Prompt for the number of gears • Prompt for the number of teeth on each gears • Loop when invalid values are entered • Indicate if the last gear rotates in the same direction as the first one, or the opposite direction.. Some research needed..