Hello, Super Mallow!
2) A window is in the form of a rectangle surmounted by a semicircle.
The rectangle is of clear glass, whereas the semicircle is of tinted glass
that transmits only half as much light per unit area as the clear glass.
The total perimeter is fixed.
Find the proportions of the window that will admit the most light. Code:
* * *
* *
* *
* *
r r
* - - - - + - - - - *
| |
| |
h| |h
| |
| |
* - - - - - - - - - *
2r
The radius of the semicircle is 
The width of the rectangle is
, its height is 
The perimeter of the semicircle is: . 
The perimeter of the rectangle is: . 
The total perimeter is a constant, 
Hence, we have: .
. [1]
The area of the rectangle is: . 
It admits a certain amount of light per squre unit.
Its light admission is: . 
The area of the semicircle is: . 
It admits half as much light per square unit.
Its light admission is: .  \:=\:\frac{1}{4}\pi r^2)
The total light admitted is: .
. [2]
Substitute [1] into [2]: . )
And we have: . r^2 + Pr)
. . and that is the function we must maximize . . .