Circuit with only two capacitors