Filter circuit for Arduino controled water heater

Has anybody pointed out that switching a heater on/off at 10kHz is silly...?

The whining sound you hear is the heater telling to write a proper program.