RIDDLE with numbers and flowers?
On a no-tax gardening sale, Joe Schmoe got tulips at $11.55 each, and daffodils at $13.65 each, roses at $21.45 each, sunflowers at $30.03 each and orchids at $50.05 each. The final bill came to $ 600. 92.
How many of each flower did Joe Schmoe buy?
RIDDLE with numbers and flowers?
Joe Schmoe's purchases were:
A: 10 Tulips = $115.50.
B: 10 Daffodils = $136.50
C: 06 Roses = $128.70
D: 04 Sunflowers = $120.12
E: 02 Orchids = $100.10
Add $115.50 + $136.50 + $120.12 + $100.10 %26amp; they total $600.92!
Reply:If it was a no tax gardening sale, it would be illegal and Joe would have gone to jail before he bought anything.
Besides, you need to know the total number of flowers bought to solve the problem.
Reply:One possible solution is
10 tulips
10 daffodils
6 roses
4 sunflowers
2 orchids
= 10(11.55) + 10(13.65) + 6(21.45) + 4(30.03) + 2(50.05)
=115.5 + 136.5 + 128.7 + 120.12 + 100.1
=600.92
Solved it using Integerr Programming
The model is below
minimize v
s.t.
11.55t + 13.65d + 21.45r + 30.03s + 50.05o = 600.92
t,d,r,s,and o are all integers
I solved it using Excel's solver
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment