A cube is painted, and cut, something like this.
Answer Posted / chirag
LOGIC
•For a cube of side n*n*n painted on all sides which is uniformly cut into smaller cubes of dimension 1*1*1,
•Number of cubes with 0 side painted= (n-2) ^3
•Number of cubes with 1 sides painted =6(n - 2) ^2
•Number of cubes with 2 sides painted= 12(n-2)
•Number of cubes with 3 sidess painted= 8(always)
•For a cuboid of dimension a*b*c painted on all sides which is cut into smaller cubes of dimension 1*1*1,
•Number of cubes with 0 side painted= (a-2) (b-2) (c-2)
•Number of cubes with 1 sides painted =2[(a-2) (b-2) + (b-2)(c-2) + (a-2)(c-2) ]
•Number of cubes with 2 sides painted= 4(a+b+c -6)
•Number of cubes with 3 sidess painted= 8
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Which of the following does multithreading allow? A. several transactions that require the same program to use one copy of the program. B. many tasks to be allocated to the terminal. C. an audit trail of all files records from all files updated by a particular application
Given the length of the 3 sides of a triangle.Find the one that is impossible? (HINT : sum of smaller 2 sides is greater than the other one which is larger)
A Lorry starts from Banglore to Mysore At 6.00 a.m, 7.00 a.m, 8.00 a.m.....10 p.m. Similarly another Lorry on another side starts from Mysore to Banglore at 6.00 a.m, 7.00 a.m, 8.00 a.m.....10.00 p.m. A Lorry takes 9 hours to travel from Banglore to Mysore and vice versa.?
When the angle a, b, c, d are given find ‘x’?
f(X)= 2X-1 + f(X-1) if X is not equal to zeroandiff(X=0)=0, Value of f(5)
Two trains move in the same direction at 50 kmph and 32 kmph respectively. A man in the slower train observes the 15 seconds elapse before the faster train completely passes by him.
Complete the series 2, 7, 24, 77,__ (hint: 2*12= 24, 7*11= 77, therefore 24*10=
There are two candles with different thickness, but are of equal length. The thicker one lasts of six hours and the thinner candle last for 2 hours less than the thicker one. Suresh lights the two candles at the same time. When he went to bed he saw the thicker one is twice the length of the thinner one. For how long did Suresh light the two candles.
slur : speech :: smulge : ?
There were 36 chairs. how many ways can they be placed such that all rows have equal no. of chairs and atleast three chairs are there in each row and there are atleast three rows.
A son and father goes for boating in river upstream . After rowing for 1 mile son notices the hat of his father falling in the river. After 5min. he tells his father that his hat has fallen. So they turn around and are able to pick the hat at the point from where they began boating after 5 min.Tell the speed of river.
one man or two women or three boys can do a work in 44 days then one man, one women and one boy together can fininsh the same work in ---- days
gavaskar average in first 50 innings was 50 . after the 51st innings his average was 51 how many runs he made in the 51st innings
If a man buys 1 lt of milk for Rs.12 and mixes it with 20% water and sells it for Rs.15, then what is the percentage of gain?
15 tennis players take part in a tournament. Every player plays twice with each of his opponents. How many games are to be played?