Ripple factor formula for full wave rectifier