Notice
Recent Posts
Recent Comments
Links
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Today
In Total
관리 메뉴

A Joyful AI Research Journey🌳😊

Integer Linear Combinations: Solving the 7 and 13 Florin Puzzle 본문

🌳Coursework ✨/Discrete Maths

Integer Linear Combinations: Solving the 7 and 13 Florin Puzzle

yjyuwisely 2024. 1. 7. 07:00
Question

Person A has an unlimited number of 7-florin coins, person B has an unlimited number of 13-florin coins.
How A can pay 5 florins to B?


7x - 13y = 5

2*A - B = D

2*7 - 13 = 1

So let's find a multiple to get our goal and it's 5 because 5 x D or (5x1) is 5.
Now let's multiply each value.

14 - 13 = 1

14*5 - 13*5 = 5

70 - 65 = 5

x = 70 / 7 = 10

y = 65 / 13 = 5

∴  x = 10, y = 5

728x90
반응형
Comments