#Calculate the change in temperature
#Initialization of variables
Cpm=75 #J/k mol
n=5.55 #mol
q=1 #kJ
#Calculations
deltaT=q*1000/(n*Cpm)
#results
print '%s %.1f %s' %('Change in temperature =',deltaT,'K')
#Calculate the change in enthalpy of the sample
#Initialization of variables
n=5.55 #mol
T1=20 #C
T2=80 #K
Cpm=75.29 #J/K mol
#Calculations
H=n*Cpm*(T2-T1)/1000.
#results
print '%s %d %s' %('Enthalpy of the sample changes by',H,'kJ')
#Calculate the heat supplied, heat capacity and heat output of the calorimeter
#Initialization of variables
A=1.23 #A
V=12 #V
t=123 #s
Temp=4.47 #C
rise=3.22 #C
#Calculations
q=A*V*t
C=q/Temp
Output= C*rise/1000.
#Results
print '%s %.1f %s' %('heat supplied during calibration =',q,'J')
print '%s %.1f %s' %('\n Heat capacity of the calorimeter =',C,'J/C')
print '%s %.2f %s' %('\n Heat output =',Output,' kJ')
#Calculate the amount by which the person's internal energy falls
#Initialization of variables
work=-622 #kJ
heat=-82 #kJ
#Calculations
U=work+heat
#results
print '%s %d %s' %('The persons internal energy falls by',-U,'kJ')