G = 6.673 × 10 −11 N*m^2/kg^2
(Freedman, Roger; Geller, Robert M.; Kaufmann, William J.. Universe (Page A6). W. H. Freeman. Kindle Edition.)
N = kg*m/s^2, so the units of G as defined above is (kg * m^3)/(kg^2 * S^2) or m^3/(kg * S^2)
To convert from seconds to days:
60s/min * 60min/hr * 24hr/day = 86,400 sec/day
and from meters to AU:
1 AU = 1.4960 × 10^11 m
(Freedman, Roger; Geller, Robert M.; Kaufmann, William J.. Universe (Page A6). W. H. Freeman. Kindle Edition.)
G = 6.673 × 10 −11 (kg * m^3)/(kg^2 * S^2)
= 6.673 × 10 −11 (kg * m^3)/(kg^2 * S^2)* ((1 AU / 1.4960 × 10^11 m)^3) / ((1 d / 86400 s)^2)
= 6.673 × 10 −11 * (6.68445 x 10^-12)^3 / (1.1574 x 10^-05)^2
= 6.673 × 10 −11 * 2.9868x10^-34 / 1.33959x10^-10
= 6.673 × 10 −11 * 2.2296 x 10^-24
G = 1.4878 x 10^-34 AU^3 /(kg*d^2)
Then you make an assumption of circular motion.
To do so the following equations apply (Giancoli Douglas. General Physics (Page 88) Prentice-Hall, 1984):
a = v^2 / r , acceleration of a particle moving with tangential velocity, v, in circle of radius, r.
g = G * (m / r^2), acceleration of a gravity, with mass of body causing acceleration, m, at distance r
a = g
and
v^2 / r = G * (m / r^2)
thus
[1] v^2 = G * (m / r), which your first equation.
Then you use a form of the average velocity equation:
(Giancoli Douglas. General Physics (Page 15, 90) Prentice-Hall, 1984)
v = x1 - x0 / t1 - t0
= x1 / t1 for x0 = 0, t0 = 0
x1 = 2*(3.14)r for the distance around the circumference of a circle
t1 = T, the revolution period
thus
v = 2(3.14)r / T
or
[2] T = 2(3.14)*r / v
Solving [1]
G = 1.4878 x 10^-34 AU^3 /(kg*d^2)
M = 1.989 × 10^30 kg (Freedman, Roger; Geller, Robert M.; Kaufmann, William J.. Universe (Page A6). W. H. Freeman. Kindle Edition)
r = 1 AU
v = SQRT[(1.4878 x 10^-34 AU^3 /(kg*d^2)) * 1.989 × 10^30 kg / 1 AU]
= SQRT[2.9593 x 10^-04]
= 1.72 x 10^-02 AU/day
Then using the velocity to solve [2]
T = 2 * (3.14) * 1 AU / 1.72 x 10^-02 AU/day
T = 3.65246 X 10^02 days
However, you can go further if you substitute [2] in [1]:
[1] v^2 = G * (m / r)
[2] v = 2*(pi)*r / T
(4 * (pi)^2 * r^2) / T^2 = G * (m / r)
[3] (4*pi^2)/(G*m) = T^2 / r^3
Thus any body orbiting a mass, m, will have its period and orbital distance related by a constant, (4*pi^2)/(G*m).
This is core of Kepler's third law, which allows you to relate the orbital distance and period of any two bodies orbiting the same mass with the following equation:
[4] T1^2 / T2^2 = r1^3 / r2^3