There is substance that needs to be heated. the substance is gas. If were given T and P of the inlet and outlet, and given two equaitons one a z equation, for example:
z = 1 + aP/sqrt(T)
and a heat capacity equation
what woudl be the steps to solving for the needed heat to get the increased value of T at the outlet.