how it works mechanics physics