Solve for j b=(j+w)/2