Wow, what fun. Ok, first if πr²h=600, then h=600/πr²
The cost function is C=0.02(2πrh)+0.06(2πr²). Enter what we found h to be, yank the π, and clean up.
C=π[0.04r(600/πr²)+0.12r²]
C=π[24/πr+0.12r²]
Now, put the π back in to clear the fraction of annoyances
C = 24/r + 0.12πr²
Derivative
C' = -24/r² + 0.24πr
C' = 0.24πr-24/r²
The minimum is going to be where that is zero.
0.24πr-24/r² = 0
0.75398r-24/r² = 0
(0.75398r³-24)/r²=0
0.75398(r³-31.8311)/r² = 0
(r³-31.8311)/r² = 0
r³ - 31.8311 = 0 [Legal because we know r>0]
r³ = 31.8311
r= 3.1692
Therefore, r=3.1692" and...
h=600/πr²
h = 600 / 31.5536
h=19.0152
0.04(πrh)+0.12(πr²) = 11.3593 cents per cup. ■