Most important, you should declare what the variables mean. And if I were you, I'd only provide the linearly independent equalities, i.e. not both T0=k/g and g=k/T0. People should be able to rearrange the terms. Once, you write k = 2h / (1 + T0), the units in the denominator are inconsinstent. Generally, I think your formulas are incorrect...
Let's find the formulas. First, we define some variables:
h(t) = height of the object at time t
T = total jump time
H = maximal height
When we assume h(t) to be a parabola, it has a quadradic equation:
h(t) = a*t2 + b*t + c
Some relations at begin, middle and end of the jump are known:
h(0) = 0
h(T/2) = H
h(T) = 0
By inserting them in the equation, we can compute a, b and c:
a = -4H/T2
b = 4H/T
c = 0
Therefore, we have:
h(t) = -4H/T2 * t2 + 4H/T * t
A constantly accelerated object with acceleration g and initial velocity v0 travels the following distance during time t:
s(t) = g/2 * t2 + v0 * t
Thus, comparing the coefficients of h(t) and s(t) yields:
g = -8H/T2
v0 = 4H/T
Note however that I'm talking about the continuous case. In a game, you have to consider a certain time step, to which your gravity and velocity need to be adapted.