TCS
Company
If x, y, z can take values 1,2,3,4,5,6,7 then find number of solution of equation x+y+z=12
Read Solution (Total 8)
-
- when x=1 (y,z) can takes (4,7) (5,6) (6,5) (7,4) so, 4 values
similarly, when x=2 (y,z) can have 5 values
similarly, when x=3 (y,z) can have 6 values
similarly, when x=4 (y,z) can have 7 values
similarly, when x=5 (y,z) can have 6 values
similarly, when x=6 (y,z) can have 5 values
similarly, when x=7 (y,z) can have 4 values
so, total solution = 4+5+6+7+6+5+4 =37 - 11 years agoHelpfull: Yes(30) No(5)
- (1,7,4)(1,6,5)(2,3,7)(2,4,6)(2,5,5)(3,3,6)(3,4,5)(4,4,4)
3!+3!+3!+3!+(3!/2!)+(3!/2!)+3!+(3!/3!)=37 - 11 years agoHelpfull: Yes(7) No(0)
- answer is 34
(1,4,7) , (1,5,6) , (2,3,7) , (2,4,6) , (3,4,5) , (2,5,5) (4,4,4)
now (1,4,7), (1,5,6) , (2,3,7) , (2,4,6) , (3,4,5) each of them can be in 6 different forms
so 6*6=30
(2,5,5) can be written in 3 forms
(4,4,4) in only 1 form
so total: 30+3+1=34 - 11 years agoHelpfull: Yes(4) No(12)
- 6!+6!+6!=2160
- 11 years agoHelpfull: Yes(0) No(24)
- sets (2,3,7), (3,4,5), (6,5,1), (7,2,3), (7,4,1), (6,5,1), (6,4,2)
6+6+6+6+6+6+6=42 - 11 years agoHelpfull: Yes(0) No(13)
- In place of x we can put only 12 different values
In place of y we can put only 12 different values
In place of z we can put only 12 different values
so (12+12+12) = 36
and last (4+4+4) so we get 1
so finally 36+1=37 - 11 years agoHelpfull: Yes(0) No(9)
- answer is 19
- 11 years agoHelpfull: Yes(0) No(3)
- Ans Will Be 43 for sure.
- 11 years agoHelpfull: Yes(0) No(4)
TCS Other Question