Exercise 3.1.7
Kepler found that the orbital period τ of a planet depends on its mean distance R from the sun according to τ=cRα for a simple rational number α. Perform a linear least-squares fit from the following table in order to determine the most likely simple rational value of α.
tau = [87.99, 224.7, 365.26, 686.98, 4332.4, 10759, 30684, 60188];
R = [57.59, 108.11, 149.57, 227.84, 778.14, 1427, 2870.3, 4499.9];
scatter(R,tau,title="Orbital Period (days)", label = "data",
xlabel=L"R (Mkm)",ylabel=L"tau")

figure 4
Using the log-log transformation:
logτ=logc+αlogR
So the exponent is close to 3/2, which matches Keplar’s third law (usually expressed as τ2∝R3)