You will write four functions that a power-supply designer uses for a rectifier and its smoothing capacitor.
The idea. For an ideal half-wave rectifier the mean output is . For a full-wave rectifier it is . A capacitor of farad gives a ripple , and a ripple factor .
Your tasks.
dc_half_wave, return the mean output in V for a peak value v_peak.dc_full_wave, return the mean output in V for a peak value v_peak.ripple_voltage, return the peak-to-peak ripple in V, for a load current in A, a ripple frequency in Hz and a capacitance in F.ripple_factor, return the ripple factor for a mean output v_dc and a peak-to-peak ripple ripple.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…