Pls, how can I calculate the voltage in a capacitor given root mean square voltage, capacitance, inductance and resistance