Accurate Equation for Earth's Gravitational Binding Energy This is a relatively important question for anyone who can answer it. I am trying to find the equation that accurately solves for Earth's Gravitational Binding Energy. The information below is from the wikipedia page:
Assuming that the Earth is a uniform sphere (which is not correct, but is close enough to get an order-of-magnitude estimate) with M = 5.97 x 10^24 kg and r = 6.37 x 10^6 m, U is 2.24 x 10^32 J. This is roughly equal to one week of the Sun's total energy output. It is 37.5 MJ/kg, 60% of the absolute value of the potential energy per kilogram at the surface.
The actual depth-dependence of density, inferred from seismic travel times (see Adams–Williamson equation), is given in the Preliminary Reference Earth Model (PREM). Using this, the real gravitational binding energy of Earth can be calculated numerically as U = 2.487 x 10^32 J.
So what I wish to not for the latter results (2.487e+32 J) is what is the actual equation is used to get this result. 
And I do not mean the standard GBE equation which gave the other result above.
 A: 
I am trying to find the equation that accurately solves for Earth's Gravitational Binding Energy.

There isn't a single equation for this (and much of real science does not yield convenient single formulas as solutions).  What the PREM produces for density is a set of piecewise approximate polynomial functions that model the theorized density that produces a reasonable match to measured data (like for example seismic data).
So working from this page by Dave Typinski you could develop an integral equation for the gravitational binding energy.  I'm not going to actually do that myself, but the density polynomial functions are just quadratic, and you can apply this simply enough to the integral for gravitational binding energy :
$$U = 16\pi^2 G \int_0^R r \rho(r) \left[ \int_0^r \rho(r) r^2 dr \right] dr $$
This is tedious to do with the piecewise functions for density, but not difficult.
For a constant density $\rho(r)=\rho_0$ you can see this reduces to the familiar equation :
$$U = 16\pi^2G \rho_0^2 \int_0^R r \left[\frac 1 3 r^3\right] dr = \frac {16\pi^2G} {15} \rho_0^2 R^5 = \frac {3}{5} \frac {GM^2} R$$

So what I wish to not for the latter results ($2.487\times 10^{32}\,J$) is what is the actual equation is used to get this result. 

I can't answer that definitively, but it would would most likely be either a numerical integration or something like I've outlined.
