Is the production of electricity by magnetic field.
There are two types of generator which is <u>D</u><u>.</u><u>C</u><u> </u>generator . And A.C <em>g</em><em>e</em><em>n</em><em>e</em><em>r</em><em>a</em><em>t</em><em>o</em><em>r</em>
A.C gen consist of rectangular coil,brushes and permanent magnet
According to the external force mechanical energy used to rotate coil, due to magnetic flux produced by permanent magnet create induced current, this is to according to flemmings right hand rule of electromagnetic induction the rotating coil will produce current
I hope that will help.
You used density, because water/ice has a density of 1, and ice will sink in anything with a lesser density