voltage on inductor the similarities between a capacitor and an inductor quora