At resonance, the inductive reactance is equal to the capacitive reactance. This means that the voltage across the inductor is also equal to the voltage across the capacitor.Therefore, the voltage across the capacitor is 40 V.