Let's assume that we have a pair of two gears(pinion-bigger gear). The goal is to calculate the gear ratio(i) given the number (z) of the teeth on both gears. The number of teeth on pinion will be zp and the number of teeth on the bigger gear will be zg. Also assume that the starting gear is the pinion.
Tips:
1)BE CAREFULL OF THE REAL WORLD LOGIC!!! (The output can also be:'Not a gear' or 'Not a pair of pinion and gear').
2)The only unreasonable thing is that one gear can have almost infinite teeth.
3) If you find the logic of tip 1, the messages should be in order. First you shoul write about the 'Not a gear' message and then about the 'Not a pair of pinion and gear message.
GOOD LUCK!!!!!!!!!!!!!!!!!
Solution Stats
No one has attempted to solve this problem yet. Be the first!
Solution Comments
Show comments
Loading...
Problem Recent Solvers0
No solvers yet, be the first player to solve this problem.
Suggested Problems
-
0 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!