Given the following information:
+ | + | = | 909 | |||
+ | + | = | 516 | |||
+ | + | = | 921 |
Compute:
+ | + | = | ? |
The information provided can be interpreted as the price for three fruit baskets with different combinations of the three fruits. This corresponds to a system of linear equations where the price of the three fruits is the vector of unknowns x:
x1= | x2= | x3= |
The system of linear equations is then: (102201012)⋅(x1x2x3)=(909516921) This can be solved using any solution algorithm, e.g., elimination: x1=41,x2=53,x3=434. Based on the three prices for the different fruits it is straightforward to compute the total price of the fourth fruit basket via:
+ | + | = | ||||
x1 | + | x2 | + | x3 | = | |
41 | + | 53 | + | 434 | = | 528 |