A certain company manufactures and sells golf carts. At the

A certain company manufactures and sells golf carts. At the end of each week, the company transfers the carts produced that week into storage (inventory). All carts that are sold are taken from the inventory. A simple model of this process is

I(k + 1) = P(k) + I(k) – S(k)

Where

P(k) = number of carts produced in week k

I(k) = number of carts in inventory in week k

S(k) = number of carts sold in week k

The projected weekly sales for 10 weeks are

 

Suppose the weekly production is based on the previous week’s sales so that P(k) = S(k – 1). Assume that the first week’s production is 50 carts; that is, P(1) = 50. Write a MATLAB program to compute and plot the number of carts in inventory for each of the 10 weeks or until the inventory drops below zero. Run the program for two cases:

(a) An initial inventory of 50 carts so that I(l) = 50

(b) An initial inventory of 30 carts so that I(1) = 30.

 

Leave a Comment

Your email address will not be published. Required fields are marked *

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2024 - GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top