what are the machine used in coal and petroleum