derivation: formula for spherical cap

how can I derive the formula of the spherical cap?