Use the given semimajor axis of the planet whose orbit you desire to know. Plug it in for a in the equation a^3 = T^2.
Calculate the cube (a^3) of the given information, and set it equal to T^2. (For example, if you know that the semimajor axis of Venus is 40, set the cube of 40 equal to T^2.)
Determine the unknown quantity algebraically. If 40^3 = T^2, calculate the square root of both T^2 and 40^3.
Solve for T, in years. In this example, then, since the square root of 40^3 (64,000) is approximately 253, the planetary orbit (T) is approximately 253 years.