- #1
noobshoob
- 3
- 0
I don't know if this is the correct place to post this thread, but I have come across a few problems which I do not know how to approach.
1. A shop sells TVs at $300, DVDs at $20 and Radios at $50. Put these into a row matrix.
Here is what I did:
Is this correct? Should it be [300, 20, 50] (horizontally, if it matters)?
2. On Monday they sell 5 TVs, 2 DVDs and 3 Radios.
On Tuesday they sell 7 TVs, 3 DVDs, and 2 Radios.
On Wednesday they sell 5 TVs, 6 DVDs and 4 Radios.
Set out the costs and the quantities into 2 matrices.
Here is what I did:
3. Calculate the product of the cost and quantity matrices to form the income matrix.
Should I multiply them? Use dot product?
1. A shop sells TVs at $300, DVDs at $20 and Radios at $50. Put these into a row matrix.
Here is what I did:
Code:
300
20
50
2. On Monday they sell 5 TVs, 2 DVDs and 3 Radios.
On Tuesday they sell 7 TVs, 3 DVDs, and 2 Radios.
On Wednesday they sell 5 TVs, 6 DVDs and 4 Radios.
Set out the costs and the quantities into 2 matrices.
Here is what I did:
Code:
300 5 7 5
20 2 3 6
50 3 2 4
3. Calculate the product of the cost and quantity matrices to form the income matrix.
Should I multiply them? Use dot product?