← run

gsm8k-0012

1.000
1/1 testsΒ· math
Challenge Β· difficulty 2/5
# GSM8K Problem 13

Carlos is planting a lemon tree. The tree will cost $90 to plant. Each year it will grow 7 lemons, which he can sell for $1.5 each. It costs $3 a year to water and feed the tree. How many years will it take before he starts earning money on the lemon tree?

Reason step by step, then give ONLY the final answer on the last line as \boxed{ANSWER}.

<!-- imported from openai/gsm8k (test) -->
Proposed solution
We are given:

- **Initial cost to plant the tree**: $90 (one-time cost)
- **Each year**, the tree grows **7 lemons**, sold at **$1.5 each** β†’ **Revenue per year** = 7 Γ— $1.5 = **$10.5**
- **Annual cost** for water and feed: **$3**
- So, **net profit per year** = Revenue βˆ’ Cost = $10.5 βˆ’ $3 = **$7.5**

We want to know: **How many years until Carlos starts earning money**, i.e., when **total net profit becomes positive**.

Let $ n $ be the number of years.

- Total cost = initial planting cost + annual costs = $90 + 3n$
- Total revenue = $10.5n$
- Net profit = Revenue βˆ’ Total cost = $10.5n βˆ’ (90 + 3n) = (10.5 βˆ’ 3)n βˆ’ 90 = 7.5n βˆ’ 90$

We want the smallest integer $ n $ such that net profit > 0:

$$
7.5n - 90 > 0 \\
7.5n > 90 \\
n > \frac{90}{7.5} = 12
$$

So, $ n > 12 $, meaning the smallest integer $ n $ is **13**.

Let’s double-check:

- After 12 years: net profit = $7.5 Γ— 12 βˆ’ 90 = 90 βˆ’ 90 = 0$ β†’ break-even (not yet earning).
- After 13 years: $7.5 Γ— 13 βˆ’ 90 = 97.5 βˆ’ 90 = 7.5 > 0$ β†’ starts earning.

βœ… So, it takes **13 years** before he starts earning money.

$$
\boxed{13}
$$