The heights of stacks of 1, 2, 3, … cups are 12, 13.5, 15, … cm, an AP with a=12 and d=1.5. A stack of n cups has height
hn=12+(n−1)×1.5 cm
(i) Stack of 10 cups.
h10=12+9×1.5=12+13.5=25.5 cm
(ii) Largest stack under a 40 cm shelf.
We need hn≤40:
12+(n−1)×1.5≤40⇒(n−1)×1.5≤28⇒n−1≤18.67
So n−1 can be at most 18, giving 19 cups. Check: h19=12+27=39 cm fits, but h20=40.5 cm does not.
(iii) Equal heights.
A stack of n cups of the second kind has height 10+(n−1)×2 cm. Set the two heights equal:
12+1.5(n−1)=10+2(n−1)
2=0.5(n−1)⇒n−1=4⇒n=5
Stacks of 5 cups have the same height, 18 cm.
Check: 12+4×1.5=18 and 10+4×2=18 ✓
OR (iii) Cups on the counter.
Step 1 — cups in the first and last stacks. The heights of the 8 stacks are 18, 19.5, … cm, so the last stack is 18+7×1.5=28.5 cm tall. Using hn:
12+(n−1)×1.5=18⇒n=5
12+(n−1)×1.5=28.5⇒n=12
Each stack is 1.5 cm taller, that is, one cup more, so the stacks hold 5, 6, 7, …, 12 cups.
Step 2 — add them. This is an AP of 8 terms with first term 5 and last term 12:
S8=28(5+12)=4×17=68
There are 68 cups on the counter.