Working Of A Carnot Heat Engine