clc a=5//moles of solid carbon b=6//moles of H2 deltaHf1=-146.5 deltaHf2=-393.8 deltaHf3=-242 deltaH=(a*deltaHf2)+(b*deltaHf3)-deltaHf1 mprintf("deltaH298=%fkJ",deltaH)