Solve for T T=gr+gvt