Gumball Problem

Three cents is the most Ms. Hernandez strength accept to lavish to get twain her twins the selfselfcorresponding pretenseed gumballs if there are singly clear and red gumballs. This is consequently for the earliest gentleman she uses there is a 50% Ms. Hernandez can get a red gumball and a 50% fortune she can get a red one. For the relieve and third she has the selfselfcorresponding fortunes. The chart under shows all the potential combinations of gumballs Ms. Hernandez could accept gotten. PenniesColor 1st PennyRed 2nd PennyWhite 3rd Gentleman Red st PennyWhite 2nd PennyRed 3rd PennyWhite 2. The contiguous day Ms. Hernandez and her twins ignoring another gumball tool succeeding a while three pretenses, red, clear, and bluish and intermittently her twins scantiness the selfselfcorresponding pretense. The most Ms. Hernandez strength accept to lavish is 4 cents. This is consequently she could get the following: PenniesColor 1stRed 2ndWhite 3rdBlue 4thWhite 3. Seven cents is the most Mr. Hodges strength accept to lavish to get his triplets the selfselfcorresponding pretense gumballs at the selfselfcorresponding three-pretense gumball tool as Ms. Hernandez. This is consequently he could get the following: PenniesColors 1st gentlemanBlue 2nd gentlemanRed 3rd gentlemanWhite 4th gentlemanWhite 5th gentlemanBlue 6th gentleman Red 7th gentlemanBlue 4. The contiguous day Mr. Hodges ignoringes a two-pretense (red and clear) gumball tool succeeding a while his triplets intermittently, they each scantiness the selfselfcorresponding pretense. The most Mr. Hodges would accept to lavish is 5 cents. This is consequently he can get the following: PenniesColor 1st gentlemanRed 2nd gentlemanWhite 3rd gentlemanWhite 4th gentlemanRed 5th gentlemanclear . The formula I build to explain these problems is: [(# of pretenses)(of kids)]- [(#of pretenses)-1]= how greatly capital they demand to lavish. Ex of formula for inquiry #1 is: [(2 pretenses)(2 kids)]-[(2 pretenses)-1]= 3 cents Ex of formula for inquiry #2 is: [(3 pretenses)(2 kids)]- [(3 pretenses)-1]= 4 cents Ex of formula for inquiry #3 is: [(3 pretenses)(3kids)]-[(3 pretenses)-1]= 7 cents Ex of formula for inquiry #4 is: [(2 pretenses)(3 kids)]-[(2 pretenses)-1]= 5 centsI figured this formula out by writing out how kids and pretenses in each problem and then the culmination equality late succeeding I build each rejoinder. Ex: Problem 1: 2 kids, 2 pretenses, max late: 4. I knew that two this demanded to be multitudinous and this demanded to be subtracted so I did a imagine and repress until I build the rejoinder.