What is that formula for?
and why does your method work. They don't look like they would give the same result.
It worked in all exercises and my teacher then admitted my way is better.
That formula is for machines that heat, like heaters and stuff. W is power/potency, Qq is heat from hot source and Qf is heat from cold source.