GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Infosys
Go To First  |  Previous Question  |  Next Question 
 Infosys  |  Question 14 of 46    Print  
There is a square cabbage patch.He told his sister that i have a
larger patch than last year and hence 211 more cabbages this year. Then
how many cabbages I have this year.?

plz tell me the approach how you get 106*106.....

  
Total Answers and Comments: 3 Last Update: April 06, 2006     Asked by: tweety 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 29, 2006 13:34:35   #1  
Sucheta        

RE: There is a square cabbage patch.He told his sister...

I solved this sum by trial and error method.

no of cabbage is directly proprtinal to the area.ni of cabage is C and side of square patch is X. Therefore

C kX^2

C has to be a perfect square.

now the area is increased by sum amount say Y and no of cabage is increased by 211

C+211 K(X+Y)^2

C+211 also has to b a perfect square

that means our job is to find the two perfect square whose difference is 211.

Consider the square root of first no as a+d and square root of second no is a+e where a is the base part same for the both the nos and only e is greater than d.

now as the diff between their square is 211 therefore

(a+e)^2 - (a+d)^2 211

a^2+2ae+e^2-a^2-2ad-d^ 2 211

2a(e-d)+(e^2-d^2) 211

now i have used trail and error to split 211 as 200+11 where 11 is e^2-d^2 and 200 is 2a(e-d) and i got e 6 d 5 a 100 therefore apples in his patch are 106*106 and apples in her patch is 105*105


 
Is this answer useful? Yes | No
March 31, 2006 00:59:04   #2  
tweety Member Since: March 2006   Contribution: 16    

RE: There is a square cabbage patch.He told his sister...
thanks a lot sucheta....u have given me a clear solution for my question
 
Is this answer useful? Yes | No
April 06, 2006 02:23:59   #3  
Ashish Sharma        

RE: There is a square cabbage patch.He told his sister...

Here'a the clearest solution i could think of :

With the simple matrix funda the cabbages would have been arranged in a square matrix sort of fashion ( obviously because we have a square patch ). So let us assume that the matrix this year has 'n' rows and 'n' columns. Obviously the cabbages last year would form a matrix with say 'x' rows and 'x' columns where x<n. So the simplest equation formed is : (n^2)-(x^2) 211. Assuming that the value of n is 20 ( by a simple assumption u can also start with a value such as 16 or 17 the only point is that the 'square of that number' - 211 should give u a perfect square ) we get 400 ( i.e. 20^2 ) - 211 289 which is a perfect square for 17. Hence we get the answer as 400 cabbages this year after having 289 cabbages last year.

P.S : the answer i.e. 106*106 cabbages this year after 105*105 cabbages last year is also correct ( and can be achieved with the same simple equation ) but has an assumption that the two perfect squares should be consecutive which is not stated in the problem.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Related Categories
Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape