Quote:
|
Originally Posted by viccy_776
hi clsuresh/others...
help me with this one...
A rectangular floor is fully covered with square tiles of identical size. The tiles on the edges are white and the tiles in the interior are red. The number of white tiles is the same as the number of red tiles.
A possible value of the number of tiles along one edge of the floor is:
1. 10 2. 12 3. 14 4. 16
For a m*n rectangle no.of tiles along a particular row be m while that along a particular column be n
then along the edges total number of tiles will be 2*m+2(n-2) .
Also inner tiles will be (m-2)*(n-2)
try drawing it for 4*3;5*3;5*4 matrix
2*m+2(n-2) = (m-2)*(n-2)
solve it and you get n= 2+2*m/(m-4).only m =12 satisfies among all options
|
thanks vicky/ warrior ...got it...
i was framing the eqns wrong...so bad of me...instead of (m-2) * (n-2), i was doing (m-1) * (n-1)...total tiles minus inside tiles = tiles on edges,
or,
m*n - (m-2) * (n-2) = (m-2) * (n-2)
or,
2(m-2)(n-2) = m*n
that gives the answer straightaway, unless u keep dancing around wrong equations, like me..

??:.
Vaibhav