Solve for b A=1/2*(h(b+B))