consider the simple problem of placing four coloured balls:red,blue,green and white in 15 boxes.what are the numbers of distinct ways in which balls can be placed in these boxes,if each box can hold only one ball ?also write the generalized formula for this numerical result.
if balls =4 => answer 16 bacause a ball of each color may or may not be => 2 ^ 4
generalized formula"(1+n_r)*(1+n_b)*(1+n_g)*(1+n_w),if (n_r+n_b+n_g+n_w )\\leq n_{box}"
if we have 4 type balls and each number ="n_{box}" i.e. we have 15 red balls,we have 15 blue balls ,we have 15 geen balls and we have 15 white balls. if we need not empty box
we have "C^{3}_{15}=816" because string a string of 18 characters (15 'b', 3 '|')bijection task
'b' before first '|' - red balls, between first and second '|'-blue balls, between second and thrid '|' -green balls ,after thrid '|' - white balls.
generalized formula"C^{type\\ color-1}_{n_{box}+type\\ color-1}"
Comments
Leave a comment