Knowing the force and distance allows you to calculate the work done.
Then, if you know the TIME, you can calculate the power.
It depends on the electricity passed with cold water or hot water it also depends on the structure of the object in gas the current flows faster than solid or liquid
They can be compounds too.
Examples: salt, sugar, and water are all compounds, not elements or mixtures.