First of all, we need to convert the energy produced from kilojoules to calories. 1 kJ corresponds to 239.1 cal, therefore:
[tex] E=18.9 kJ \cdot 239.1 =4519.4 cal [/tex]
And so now we can calculate the energy value of the oil:
[tex] E_v = \frac{E}{m}=\frac{4519.4 cal}{0.50 g}=9038.8 cal/g [/tex]