2. Suppose Ruben's friend, Terri, goes along with him to the store. Terri buys a bag of chips for 25 cents, two candy bars at 45 cents each, two packs of gum at 30 cents each, and a medium drink for 75 cents. a. Create Terri's quantity matrix Q and Terri's price matrix P for purchases. B. Use matrix multiplication to find the total cost QP of Terri's purchases.

Respuesta :

Answer:

[tex]a. Q[1\ 2\ 2\ 1]\\\\\\\ \ P\left[\begin{array}{ccc}25\\45\\30\\75\end{array}\right] \\\\\\\\b. 250 \ cents\\[/tex]

Step-by-step explanation:

Let P be the price per quantity of the items purchased.

The price matrix can be represented as:

[tex]P\left[\begin{array}{ccc}25\\45\\30\\75\end{array}\right][/tex]

Let Q be the quantity of items Terri purchased.

The quantity matrix is written as:

[tex]\ \ \ c\ \ cb \ \ g\ \ md\\Q[\ 1 \ \ 2\ \ 2\ \ 1]\\[/tex]

#We multiply the P matrix by the quantity matrix to find the total cost QP:

[tex]QP=[\ 1 \ \ 2\ \ 2\ \ 1]\left[\begin{array}{ccc}25\\45\\30\\75\end{array}\right] \\\\\\=[25 \ 90\ 60\ 75]\\\\=[25 +90+60+75]\\\\=[250.00][/tex]

Hence, Terri's total cost is 250cents