GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  Infosys  >  Challenging Puzzles

 Print  |  
Question:  There r 2 pumpkins, same quality but different sizes.
Bigger one is 60 cm in circumference and other one is 50 cm in circumference.
Bigger one is one and half times more expensive. Which is the better option?




December 12, 2006 09:57:09 #3
 ravichandra_r Microsoft Expert  Member Since: December 2006    Total Comments: 6 

RE: There r 2 pumpkins, same quality but different siz...
 

for 1st pumpkin circumfrence 2 x Pi x r1 = 60Cm ==> r1 = 30/Pi

for 2nd pumpkin circumfrence 2 x Pi x r2 = 50Cm==> r2 = 25/Pi

Volume of 1st pumkin = v1 = 4/3 x Pi x (30/Pi)^3

Volume of 2nd pumkin = v2 = 4/3 x Pi x (25/Pi)^3

v1/v2 = 30^3/25^3 = 1.728

v1 is 1.728 times v2

where as price is 1.5times of v2

Hence it is economical to buy 1st pumpkin

     

 

Back To Question