caculate H vs F