Order today. Learn demand tomorrow.
You manage a campus pastry counter. Every morning brings a new forecast or a change in the unit economics. Choose how many pastries to prepare before demand is revealed, then learn which input moved the optimal quantity.
Compare the morning’s brief with the baseline.
First predict the direction of Q*, then commit a quantity.
Use immediate feedback to connect the changed input to Q*.
What will change?
After the baseline, five mornings change exactly one input at a time. The seventh combines two opposing changes, and the eighth is a capstone. This lets you learn what moves Q* before solving the full problem.
- Demand level
- μ moves the center
- Uncertainty
- σ scales the buffer
- Economics
- Cu/Co sets the percentile
Time: about six minutes. No calculator required.
Regular weekday
A normal day at the campus counter.
Baseline- Mean demand
- 100
- Std. deviation
- 20
- Sell
- $10
- Cost
- $4
- Salvage
- $1
Demand will be revealed only after you commit.
Need a decision hint?
Compare the marginal costs:
Cu = r − c = $6 for a unit you could have sold but did not stock.
Co = c − s = $3 for a unit ordered but left unsold.
The critical ratio is 0.667. Because this is above 0.5, Q* lies above mean demand. Greater uncertainty makes that upward buffer larger.
Demand was 0
- Sales
- 0
- Leftover
- 0
- Lost sales
- 0
- Profit
- $0
Your mornings so far
| Morning | Market brief | Order Q | Demand | Outcome | Profit |
|---|---|---|---|---|---|
| Your first result will appear here. | |||||
Your policy, explained
Comparing replays: Market scale changes between versions, so compare your distance from Q* and prediction score—not raw profit totals.
Why Q* changed across mornings
Cu = selling price − unit cost
Co = unit cost − salvage value
CR = Cu/(Cu+Co) sets the target demand percentile
Q* = μ + z(CR)σ combines the forecast, economics, and uncertainty
Swipe the table to compare your Q with Q*
| Brief | μ | σ | CR | Prediction | Your Q | Q* |
|---|