1. The problem statement, all variables and given/known data Consider circuit below. (a)Use integral calculus to determine how much heat is generated through R when switch S is closed. (b)Derive the expressions for the charge q(t) and the current i(t) as functions of time, for the discharging capacitor in the circuit. 2. Relevant equations 3. The attempt at a solution First of all I'm not sure what the capacitor is or the voltage source is. Is it a battery or a capacitor?? It seems that it is one and both, but how can this be? Please help.