# Exercise 3: Newsvendor Simulation **Lesson:** 3, 5 | **Time:** 60 min ## Scenario You sell a seasonal product. Demand per week is approximately **Normal(μ=1000, σ=200)**. - Selling price: **$50** | Unit cost: **$30** - Unsold units salvage at **$10** ## Tasks 1. Set understock cost Cu and overstock cost Co per unit (hint: lost margin vs cost minus salvage). 2. Simulate 10,000 weeks of demand with `numpy.random.normal`. 3. For order quantities **900, 1000, 1100, 1200**, estimate expected profit. 4. Which order quantity maximizes expected profit? 5. Compute the critical ratio Cu/(Cu+Co) and compare to empirical fill rate at best Q. ## Extension Use `data/operations.csv` to estimate μ and σ for one `product_id` and repeat.