The amount of heat released can be calculated using the equation
#q = m_(H_2O) * c_(H_2O) * DeltaT#, where
#m_(H_2O)# - the mass of water; #c_(H_2O)# -water's specific heat ( #4.18 J/(g^@C)#); #DeltaT# - the change in temperature measured as #T_(fi nal) - T_(i nitial)#.
A decrease in temperature will determine a negative #DeltaT#, since this is equivalent to a lower final temperature (I'm assuming that the decrease in temperature was #3^@C#, not #30^@C#).
We can use water's density of approximately #1.00g/(cm^3)# to determine its mass