C= 1/2h(q+z) for q
solve for q
solve for q