Look on this page for physics information, links etc.

The mathematical treatment of tides 
The first and second laws of thermodynamics