A company must purchase ve kinds of material. The following table gives the price the company pays

Question:

A company must purchase ve kinds of material. The following table gives the price the company pays per ton for each material, along with the number of tons purchased in the months of May, June, and July:

Quantity purchased (tons) Material Price (S/ton) May June July 300 4 550 3 2 400 6. 250 3 5 500 2 4 6434t3 123 45


Use MATLAB to answer these questions:

a. Create a 5 x 3 matrix containing the amounts spent on each item for each month.

b. What is the total spent in May? in June? in July?

c. What is the total spent on each material in the three-month period?

d. What is the total spent on all materials in the three-month period?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: