The switch in the figure (Intro 1 figure) has been in position a for a very long time. It is suddenly flipped to position b for 1.25 ms, then back to a. How much energy is dissipated by the resistor?
the circuit for a is 50V battery, 125 ohm resistor and 20uF capacitor. The circuit for b is the 20uF capacitor and the 50 ohm resistor.
Time constant=RC, Ucap=0.5CV^2, V=IR, Q=CV, i don't know I've tried others too
The Attempt at a Solution
I know the capacitor will be at 50V. I found time constant and current and charge and tried so see if i=i(max)e^(-t/RC) would work and tried to relate it back to energy but it didn't. The answer is 23 mJ.