Grams First, Rupees Second

Matrix MultiplicationEasy+10 XP+10

Grams First, Rupees Second

A bakery makes three products — bread, cake and cookies. The recipe matrix RRR records how many grams of each ingredient one unit of each product consumes. Rows are ingredients, columns are products:

BreadCakeCookies
Flour200200200150150150120120120
Sugar505050909090606060
Butter404040707070100100100

Today's production plan is the vector

p⃗=[302025](bread, cake, cookies)\vec{p} = \begin{bmatrix} 30 \\ 20 \\ 25 \end{bmatrix} \qquad \text{(bread, cake, cookies)}p​=​302025​​(bread, cake, cookies)

Ingredient prices, in rupees per gram, are 0.020.020.02 for flour, 0.050.050.05 for sugar and 0.080.080.08 for butter:

c⃗=[0.020.050.08]\vec{c} = \begin{bmatrix} 0.02 \\ 0.05 \\ 0.08 \end{bmatrix}c=​0.020.050.08​​

First compute u⃗=Rp⃗\vec{u} = R\vec{p}u=Rp​, the grams of each ingredient the plan consumes. Then report the total ingredient cost of the day's production, in rupees.

Your answer is a whole number of rupees.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

rupees