Area/perimeter formulas:
A_s = s*s
P_s = 4*s
A_c = pi*r^2
P_c = 2*pi*r
P_s + P_c = 50
4*s + 2*pi*r = 50
r = (50 - 4*s ) / (2*pi)
now we can replace one of the variables so that we get an equation with only 1 var instead of 2
A_c = pi*[ (50 - 4*s ) / (2*pi)]^2
P_c = 2 * pi * [ (50 - 4*s ) / (2*pi)]
and you want to minimize A_s + A_c
I don't feel like simplifying, but you can do that.
it looks like a parabola, so you can differentiate to find the critical points. or just use the algebra formula to find the minimum of a parabola in your domain s in (0, 50)
This post was edited by carteblanche on Dec 31 2013 06:31pm