//Example 19.10 C1=1*10^-6;//Capacitance of capacitor 1 (F) C2=5*10^-6;//Capacitance of capacitor 2 (F) C3=8*10^-6;//Capacitance of capacitor 3 (F) C_s=1/(1/C1+1/C2);//Effective capacitance of capacitors in series (F) C_tot=C_s+C3;//Total capacitance (F) printf('Total capacitance of the combination = %0.3e F',C_tot) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest