Solve for h S=pir^2+2pirh