Solve sets of equations using MATLAB Last month Mario bought
Solve sets of equations using MATLAB
Last month Mario bought 26 cups of coffee and 37 cups of tea from the studio canteen. They cost him $44.23 altogether. Luigi bought 15 cups of coffee and 48 cups of tea and they cost him $47.32 altogether. How much do cups of tea and coffee cost in cents?
Solution
Let, tea cost x cents and coffee cost y cents
So,
26y+37x=4423
15y+48x=4732
Solving gives
x~81.8 cents
y~53.7 cents

