I am looking to find out how to calculate the surface area of a domed roof which rests on a quadrangle (ie a dome with squared edges) and I was wondering if anybody knew how to do this? I have attached a sketch of the kind of shape I am thinking of; the roof is a solid surface.