I always get so confused when two voltage sources are present in a circuit. I never know how they affect the circuit. Am i supposed to combine them into one source by subtracting if they are opposite and adding if the polarity is the same? or am I supposed to use super position and see how each part of the circuit is affected by each one individually? For this example i get different answers for different methods. If i combine them then i get 24 V source which means the capacitor is at 20 V which is wrong. However using super position i get a total of 32 volts at the capacitor which is right.