Calculating Specific Heat Formula