232k views
2 votes
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.

User Ida
by
7.8k points

1 Answer

5 votes

Answer:


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

Explanation:

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

The price matrix can be represented as:


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

Let Q be the quantity of items Terri purchased.

The quantity matrix is written as:


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

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


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]

Hence, Terri's total cost is 250cents

User Azngeek
by
8.0k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories