Diode & rectifier
Diode characteristic plus half-wave and bridge rectifier: an input sine becomes u_out across the load, smoothing capacitor switchable (ripple visible) — characteristic and time course side by side.
Electrical engineering fundamentalsTry it