(a)
Centre the cuboid, with volume , with the lower face on the xy plane. Let the coordinates of the vertex in
where the cuboid intersects the hemisphere be
.
The upper vertices are on the surface of the hemishpere so we get the constraint
Form the objective function
Take partial derivates
From
Substitute in , recall
Similarly from we get
. Thus
.
Using the constraint ,
.
Finally, again using , the required volume is