Text this: Optimal design of passive filter to mitigate harmonic in power frequency