different because joules law talks about heat produce in an electric whiles ohm' law talks about potential difference
Force is defined as the rate of change of momentum.
The initial amount of momentum is

because water stops when it hit the wall total change of momentum must be

.
Now let's calculate the force.

We need to find

. This is the amount of water hiting the wall per second.

Our final formula would be:

And now we can calculate the answer: