Spherical prism gravity effects by Gauss‐Legendre quadrature integration