Consider the battery-charging circuit shown in Figure, in which vs(t) = 20 sin(200 πt),R = 80Ω ,VB = 12V, and the diode is ideal.
a. Sketch the current i(t) to scale versus time.
b. Determine the average charging current for the battery. (Hint: The average current is the charge that flows through the battery in one cycle, divided by the period.)