Answer:
An ideal "Carnot" engine
E = (Q2 - Q1) / Q2 or 1 - Q1 / Q2
Q1 (heat wasted) would have to be zero for 100% efficiency
1.6m questions
2.0m answers