Working Of A Carnot Engine