A square wave produces a greater heating effect than the same peak voltage triangle wave.

effects of two ac voltages power