GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 17-Feb-2006, 22:20
earachefl earachefl is offline
Member
 
Join Date: Feb 2006
Posts: 178
earachefl is on a distinguished road
Thumbs down

OT: nth power square root math question


I'm going through "Problem Solving, Abstraction, and Design Using C++" (Friedman, Koffman, 4th edition) and a programming assignment has me stumped. (I apologize for not knowing how to insert equation notation into this text). Chapter 3, project 11, begins:

"The ratio between successive speeds of a six-speed gearbox (assuming that the gears are evenly spaced to allow for whole teeth) is

5(nth power) square root of (M/m)

where M is the maximum speed in revolutions per minute and m is the minimum speed. Write a function that calculates this ratio for any maximum and minimum speeds."

Here's where my brain freeze takes effect. Assuming that you have a gearbox with 60, 50, 40, 30, 20, 10 teeth, driving a gear with ten teeth, the ratio between succesive speeds would be _different_ between each gear, yes? From top to bottom, it'd be 6/5, then 5/4, then 4/3, 3/2, and 2/1. But the text says that the ratio between successive speeds would be 5(nth power) square root of (60/10) or 6. How is that possible? What am I missing here?

TIA!!!
Attached Images
File Type: pdf The ratio between successive speeds of a six.pdf (40.7 KB, 10 views)
  #2  
Old 18-Feb-2006, 07:45
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 4,703
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: OT: nth power square root math question


Quote:
Originally Posted by earachefl
"The ratio between successive speeds of a six-speed gearbox (assuming that the gears are evenly spaced to allow for whole teeth) is

5(nth power) square root of (M/m)

where M is the maximum speed in revolutions per minute and m is the minimum speed. Write a function that calculates this ratio for any maximum and minimum speeds."


You are missing the problem statement: it has nothing to do with gear ratio. It has to do with the maximum speed and the minimum speed for each gear selection. I don't know whether this calculation has any practical value, but that's not part of the problem.


The mathematical solution to the problem statement is the fifth root of M/m. The meaning of the symbol that looks like a square root sign but has a little 5 on is is "the fifth root of (M/m)" that is the same as (M/m) to the power (1/5)

So, I would make the Program Specification look something like this:

Code:
Get values of M and m from the user. Calculate (M/m) to the power (1/5).

Regards,

Dave
 
 

Recent GIDBlogMeeting the local Iraqis by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:12.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.