To solve this problem we will apply the concept related to the heat transferred to a body to reach a certain temperature. This concept is shaped by the energy ratio of a body which is the product of the mass, its specific heat and the change in temperature. For the specific case, it will be the sum of the heat transferred to the Water, the Aluminum and the loss due to latency due to vaporization in the water. That is to say,
The chemical change occurred. Electrolysis is used by scientists to make chemical reactions that wouldnt normaly spontaniously ocur. In this case we are getting new gases from water molecul which is change in structure of elements ( we are getting new moleculs)