The power supply in the bottom has been setup to an 8.6 volt peak to peak to reflect to 10 volt peak to peak and the .7 forward bias voltage it takes to turn on each diode. Don't forget the switch is for sine wave or square wave. I talk about this circuit in my following link.
https://youtu.be/bLp34N7ieAE