Solve for h f=4gh