標題:
此文章來自奇摩知識+如有不便請留言告知
Linear Diophantine Equations
發問:
Can anybody solve these questions????1. Mick has $5.63 worth of bananas and apples. Bananas are 13 cents each and apples are 7 cents each. How many different combinations of apples and bananas can he have and what are they?2.A man goes to the bank and asks for x dollars and y cents. The banker by mistake... 顯示更多 Can anybody solve these questions???? 1. Mick has $5.63 worth of bananas and apples. Bananas are 13 cents each and apples are 7 cents each. How many different combinations of apples and bananas can he have and what are they? 2.A man goes to the bank and asks for x dollars and y cents. The banker by mistake gives him y dollars and x cents. After spending 5 cents the man realizes that he now has twice the amount he asked for. What was the amount he asked for? 3.A farmer buys 100 animals for $10000. The animals include at least one cow, one pig, and one chicken, but no other kind. If a cow costs $1000, a pig costs $300, and a chicken costs $50, how many of each did he buy?
最佳解答:
1. Let the numbers of bananas and apples be B and A respectively. We have 0.13B + 0.04A = 5.63 13B + A = 563 A = 8 + 13t >= 0 B = 39 -7t >= 0 for some integer t 0
其他解答: