Menu Close

Assuming-you-have-enough-coins-of-1-5-10-25-and-50cents-In-how-many-ways-can-you-make-a-change-for-1dollar-




Question Number 117192 by Lordose last updated on 10/Oct/20
Assuming you have enough coins   of 1,5,10,25,and 50cents. In how  many ways can you make a change for 1dollar.
Assumingyouhaveenoughcoinsof1,5,10,25,and50cents.Inhowmanywayscanyoumakeachangefor1dollar.
Answered by mr W last updated on 10/Oct/20
a+5b+10c+25d+50e=100  (1+x+x^2 +x^3 +...)×  (1+x^5 +x^(10) +x^(15) +...)×  (1+x^(10) +x^(20) +x^(30) +...)×  (1+x^(25) +x^(50) +x^(75) +...)×  (1+x^(50) +x^(100) +x^(150) +...)  =(1/((1−x)(1−x^5 )(1−x^(10) )(1−x^(25) )(1−x^(50) )))  coefficient of term x^(100)  is 292, i.e.  we have 292 ways to change 1 dollar.
a+5b+10c+25d+50e=100(1+x+x2+x3+)×(1+x5+x10+x15+)×(1+x10+x20+x30+)×(1+x25+x50+x75+)×(1+x50+x100+x150+)=1(1x)(1x5)(1x10)(1x25)(1x50)coefficientoftermx100is292,i.e.wehave292waystochange1dollar.
Commented by Lordose last updated on 10/Oct/20
Thanks sir
Commented by Lordose last updated on 10/Oct/20
can you explain sir?
canyouexplainsir?
Commented by Lordose last updated on 10/Oct/20
������
Commented by mr W last updated on 10/Oct/20
i used generating function method  to find the number of non−negative  integer solutions of equation  a+5b+10c+25d+50e=100
iusedgeneratingfunctionmethodtofindthenumberofnonnegativeintegersolutionsofequationa+5b+10c+25d+50e=100
Commented by Lordose last updated on 10/Oct/20
Thanks sir ��

Leave a Reply

Your email address will not be published. Required fields are marked *