Amusement Park Capacity Expansion: Profit & Expected Value
Arrays & HashingAuto-graded · 17 test casesLast updated
Tests financial modeling with expected-value decision-making, break-even sensitivity analysis, and revenue-based fee structures across expansion scenarios.
Amusement Park Capacity Expansion: Profit & Expected Value
An amusement park sits on 2,000 acres and records 1,000,000 entries per year. Three ticket products are sold:
| Product | Volume | Price |
|---|---|---|
| Single-day pass | 250,000 | $80 |
| Five-day pass | 100,000 | $300 |
| Annual membership | 10,000 | $1,000 |
An annual membership holder visits on average 25 days per year. Prices are fixed and do not change under any scenario.
Cost structure:
- Variable operating cost: $22 per entry
- Fixed operating cost: $20,000,000 per year (unchanged across all scenarios unless stated otherwise)
- Royalty fee: a percentage of total revenue paid to the landowner
Part (a) — Baseline financials
Under current operations the royalty fee rate is 5% of revenue. Compute:
- Total annual revenue
- Total variable cost
- Royalty fee amount
- Annual profit
Profit = Revenue − Variable cost − Royalty fee − Fixed cost
Part (b) — Expansion Option A (negotiated lease)
The park can acquire an adjacent 1,000 acres under a direct lease. The lease raises the royalty fee rate from 5% to 10% of revenue. All entries and ticket volumes scale proportionally with total acreage (park grows from 2,000 to 3,000 acres). Fixed cost stays at $20,000,000. Compute profit under Option A.
Part (c) — Expansion Option B (competitive bid)
Alternatively, the park can enter a competitive bid for the same 1,000 acres:
- Win (probability 0.80): acquire the land, royalty fee stays at 5%, acreage grows to 3,000.
- Lose (probability 0.20): remain at 2,000 acres with the current 5% fee.
Entries and ticket volumes scale with acreage on a win, exactly as in Option A.
Compute:
- Profit if the bid is won
- Profit if the bid is lost
- Expected profit of bidding
Based on all three options (baseline, A, B), identify the best option by expected profit.
Part (d) — Sensitivity analysis
Holding everything else from Option A constant (3,000 acres, proportional scaling of entries and revenue):
(i) Break-even royalty rate: What royalty fee rate would make Option A's profit exactly equal to the baseline profit from Part (a)? Express as a decimal.
(ii) Break-even variable cost: Keeping the royalty rate fixed at 10%, what variable cost per entry would make Option A's profit exactly equal to the baseline profit?
Return format
Return a single dictionary with this exact structure (all monetary values in dollars as plain numbers, not strings):
{
"current": {
"entries": int,
"revenue": float,
"variable_cost": float,
"land_owner_fee": float,
"profit": float,
},
"option_a": {
"entries": float,
"revenue": float,
"variable_cost": float,
"land_owner_fee": float,
"profit": float,
},
"option_b": {
"win_probability": float,
"lose_probability": float,
"win_profit": float,
"lose_profit": float,
"expected_profit": float,
},
"sensitivity": {
"break_even_fee_rate": float,
"break_even_variable_cost_per_entry": float,
},
"best_option": str, # "A" or "B"
}
Constraints
- All ticket volumes, prices, and cost parameters are positive integers or floats as given; no input arguments are needed.
- Acreage scaling is strictly proportional: scale factor = new total acreage / original acreage.
- Fixed cost does not scale with acreage.
- The royalty fee is always applied to revenue, never to profit.
- Annual membership holders each contribute 25 entries to the total entry count.
- The entry count derived from ticket volumes must reconcile exactly with the stated 1,000,000 figure.
best_optionis determined purely by comparing expected profit across all three options; use"B"if Option B's expected profit is strictly greater than Option A's profit.
Examples
Example 1
Input: park_expansion_analysis()
Output: {'current': {'entries': 1000000, 'revenue': 60000000, 'variable_cost': 22000000, 'land_owner_fee': 3000000, 'profit': 15000000}, 'option_a': {'entries': 1500000, 'revenue': 90000000, 'variable_cost': 33000000, 'land_owner_fee': 9000000, 'profit': 28000000}, 'option_b': {'win_probability': 0.8, 'lose_probability': 0.2, 'win_profit': 32500000, 'lose_profit': 15000000, 'expected_profit': 29000000}, 'sensitivity': {'break_even_fee_rate': 0.24444444444444444, 'break_even_variable_cost_per_entry': 30.666666666666668}, 'best_option': 'B'}
Hints
Hint 1
Start by verifying that the three ticket products and their visit frequencies add up to exactly 1,000,000 total entries — this consistency check anchors every downstream calculation.
Hint 2
The profit formula is Profit = R(1 − f) − vE − F, where f is the royalty rate applied to revenue R, v is variable cost per entry, E is total entries, and F is fixed cost. Write this once and reuse it for every scenario by swapping in the right values.
Hint 3
For the break-even sensitivity questions, set Option A's profit equal to the baseline profit and isolate the unknown (fee rate or variable cost) algebraically rather than by trial and error.
Worked solution
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Approach
Core profit model
Every scenario uses one formula:
Profit = R(1 − f) − vE − F
where R is revenue, f is the royalty rate, v is variable cost per entry, E is total entries, and F is fixed cost. Writing this once and substituting the right values for each scenario avoids arithmetic drift and makes the sensitivity algebra straightforward.
Reconciling the entry count
Before doing any math, verify that the three ticket products reproduce the stated 1,000,000 entries:
- Single-day: 250,000 × 1 = 250,000
- Five-day: 100,000 × 5 = 500,000
- Annual: 10,000 × 25 = 250,000
- Total = 1,000,000 ✓
This also confirms revenue per entry is $60, a useful sanity anchor.
Part (a) — Baseline
Revenue = 250,000×80 + 100,000×300 + 10,000×1,000 = $60M
Variable cost = 1,000,000 × $22 = $22M
Royalty fee = 5% × $60M = $3M
Profit = 60 − 22 − 3 − 20 = $15M
Part (b) — Option A
Scale factor = 3,000 / 2,000 = 1.5. Revenue and entries both grow by 1.5×; fixed cost stays flat.
Revenue = $90M, entries = 1.5M, variable cost = $33M, royalty fee = 10% × $90M = $9M
Profit = 90 − 33 − 9 − 20 = $28M
Fixed cost leverage is the main driver: it stays at $20M while contribution grows from $38M to $57M. The fee rate doubling costs an extra $4.5M but is dwarfed by the expansion gain.
Part (c) — Option B
Win: same scale as Option A but royalty stays at 5% → fee = $4.5M → profit = $32.5M
Lose: stay at baseline → profit = $15M
Expected profit = 0.8 × 32.5 + 0.2 × 15 = 26 + 3 = $29M
Option B ($29M expected) beats Option A ($28M certain) by $1M. The best option is B, provided the 80% win estimate is reliable and bidding carries no material cost. The margin is thin: the break-even win probability is 0.8 × 32.5 + (1 − 0.8) × 15 = 28 solved for p, giving p ≈ 74.3%. Any bid cost above $1M also erases the advantage.
Part (d) — Sensitivity
Break-even royalty rate (i):
Set Option A profit = $15M and solve for f:
90(1 − f) − 33 − 20 = 15
90(1 − f) = 68
f* = 1 − 68/90 = 22/90 ≈ 24.4%
The current 10% is far below that ceiling, so expansion has a wide cushion on fee rate.
Break-even variable cost (ii):
Hold fee at 10%, solve for v:
90(0.9) − 1.5M × v − 20 = 15
81 − 20 − 15 = 1.5M × v
v* = 46M / 1.5M ≈ $30.67 per entry
Variable cost would need to rise ~$8.67 (≈39%) before Option A stops beating the baseline — a large buffer against congestion or staffing pressures on the new land.
Common mistakes
- Scaling fixed cost with acreage (overstates cost by $10M under expansion).
- Applying the royalty to profit instead of revenue.
- Using 1 visit per annual pass instead of 25 when computing entries.
- Treating the losing outcome of Option B as $0 rather than the baseline $15M.
Complexity
There are no loops or data structures — every value is a closed-form arithmetic expression. Time and space are both O(1).
from typing import Dict
def park_expansion_analysis() -> Dict[str, object]:
# --- Input parameters ---
single_day_tickets = 250_000
five_day_tickets = 100_000
annual_passes = 10_000
single_day_price = 80
five_day_price = 300
annual_pass_price = 1_000
annual_pass_visits = 25
current_entries = 1_000_000
variable_cost_per_entry = 22
fixed_cost = 20_000_000
current_fee_rate = 0.05
option_a_fee_rate = 0.10
current_acreage = 2_000
expanded_acreage = 3_000
expansion_scale = expanded_acreage / current_acreage # 1.5
win_probability = 0.80
lose_probability = 0.20
# --- Consistency check: ticket volumes must reconcile to stated entries ---
calculated_entries = (
single_day_tickets
+ five_day_tickets * 5
+ annual_passes * annual_pass_visits
)
assert calculated_entries == current_entries, (
f"Entry count mismatch: {calculated_entries} != {current_entries}"
)
# --- Part (a): Baseline financials ---
current_revenue = (
single_day_tickets * single_day_price
+ five_day_tickets * five_day_price
+ annual_passes * annual_pass_price
)
current_variable_cost = current_entries * variable_cost_per_entry
current_land_owner_fee = current_revenue * current_fee_rate
current_profit = (
current_revenue
- current_variable_cost
- current_land_owner_fee
- fixed_cost
)
# --- Part (b): Option A — negotiated lease at 10% fee, 3,000 acres ---
expanded_entries = current_entries * expansion_scale
expanded_revenue = current_revenue * expansion_scale
expanded_variable_cost = expanded_entries * variable_cost_per_entry
option_a_land_owner_fee = expanded_revenue * option_a_fee_rate
option_a_profit = (
expanded_revenue
- expanded_variable_cost
- option_a_land_owner_fee
- fixed_cost
)
# --- Part (c): Option B — competitive bid at 5% fee if won ---
option_b_win_land_owner_fee = expanded_revenue * current_fee_rate
option_b_win_profit = (
expanded_revenue
- expanded_variable_cost
- option_b_win_land_owner_fee
- fixed_cost
)
option_b_lose_profit = current_profit # stay at baseline
option_b_expected_profit = (
win_probability * option_b_win_profit
+ lose_probability * option_b_lose_profit
)
# --- Part (d): Sensitivity ---
# (i) Break-even royalty rate: Option A profit == current profit
# f* = 1 - (current_profit + expanded_variable_cost + fixed_cost) / expanded_revenue
break_even_fee_rate = (
expanded_revenue
- expanded_variable_cost
- fixed_cost
- current_profit
) / expanded_revenue
# (ii) Break-even variable cost per entry (fee held at 10%):
# v* = (expanded_revenue * (1 - 0.10) - fixed_cost - current_profit) / expanded_entries
break_even_variable_cost_per_entry = (
expanded_revenue * (1 - option_a_fee_rate)
- fixed_cost
- current_profit
) / expanded_entries
return {
"current": {
"entries": current_entries,
"revenue": current_revenue,
"variable_cost": current_variable_cost,
"land_owner_fee": current_land_owner_fee,
"profit": current_profit,
},
"option_a": {
"entries": expanded_entries,
"revenue": expanded_revenue,
"variable_cost": expanded_variable_cost,
"land_owner_fee": option_a_land_owner_fee,
"profit": option_a_profit,
},
"option_b": {
"win_probability": win_probability,
"lose_probability": lose_probability,
"win_profit": option_b_win_profit,
"lose_profit": option_b_lose_profit,
"expected_profit": option_b_expected_profit,
},
"sensitivity": {
"break_even_fee_rate": break_even_fee_rate,
"break_even_variable_cost_per_entry": break_even_variable_cost_per_entry,
},
"best_option": "B",
}