Examples of everyday heat engines include : the steam engine , the diesel engine , and the gasoline ( petrol ) engine in an automobile . Examples of everyday heat engines include the steam engine , the diesel engine , and the gasoline ( petrol ) engine in an automobile .