A probability problem by Mayank Gupta

Three variables x,y,z have a sum of 30. All three of them are non-negative integers.If any two variables don't have the same value and exactly one variable has a value less than or equal to three , then find the number of possible solutions for the variables.

294 285 98 68

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

As we know that x+y+z=30 and x,y,z>0 and x,y,z is not equal to 0. now ... make 3 cases:- case 1.) if x=1,,, then y+z=29 1.) then y=1 and z=28, 2,) then y=2 and z=27, ... ...... .... .....

.... 28.) then y=28 and z=1. total no of cases adds upto 28 here..

similarly .. make cases if x=2.. and x=3.. then assuming that x can be any of the x,y,z.. we easily get the answer by just suming up the cases .. which we get 294.. :)

1.hey aniruddh but accrding to quetin only one variable can take value less then or equal to 3?????? so how can you take x= 1 , y = 28 , z= 1 its totally wrong 2. 0 can also be included as it is asked only non negative integer and defenetly 0 is a non negative integer???

kaivalya swami - 7 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...