Topic: 2 Challenges
I apologise if this forum is only intended for serious content (maybe there could be a fun forum?), but here's a pair of challenges:
A, B and C decide to go for a 10km walk. A and B can walk at 4kmh and C can walk at 8kmh. They also have a bicycle which only one of them can use at a time. When riding, A and B can travel at 24kmh while C can ride at 32kmh.
What is the shortest time in which all three can complete the trip, and how do they do it?
n.b. my solution is written in Maxima, which is open source, but which is a CAS rather than a Linear Programming package - but it has a simple simplex solver, and, usefully for this problem, a function for generating permutations.
For this one, I used LP_Solve, because it requires integers:
In my pocket I have £41.58 which is made up of different denominations of coins. There is exactly the same number of each coin. What is the minimum number of coins I have, and what are they? (Britain has 8 commonly used coins, and in GBP their values are: 0.01, 0.02, 0.05, 0.10, 0.20, 0.50, 1, 2).
