A clerk counted 14 small baseball caps, 37 medium baseball caps, and 29 large baseball caps on the store shelves. She also counted 9 small baseball caps and 19 medium baseball caps in the stockroom. How would I organize this into a matrix ?
well, one way would be to have rows represent locations: shelves: stockroom: and columns would be the count of each size available in that location: small medium large shelves: stockroom:
populate the matrix with the data you have. for example, 14 small caps on the shelves, so at the upper left of the matrix where the shelves row and the small column intersect, you'd enter 14.
with it organized in this fashion, you can have a total going down each column, so that you can see at a glance how many caps of each size you have, too.
like this ?
Looks good. I would just insert a 0 in the last cell so as not to leave any matrix cell undefined.
You have organized it into a table. But for matrix you may just want the numbers. It will be a 2x3 matrix with the understanding what the numbers in the respective row and column represents.
B. Each baseball cap sells for $16. Create the matrix that shows the total value of each cap size in each location. how would i do this ?
would i do the same as the previous table i created but just replace the number of caps with the amount they are worth or be like 14 caps = and then insert their worth ?
you'd do a scalar multiplication of the price of a cap ($16) with the matrix representing the inventory
the result would be a new matrix representing the value of each cap size in each location
Join our real-time social learning platform and learn together with your friends!