1 2 3 4 5 6 7 8 9 10
clear; clc; w=1; c=1; v=1; y=5; c2=w*c*v+(w*y*v); c3=2*w*c+6*w*c; c4=3*w*c+8*w*c; mprintf("the capacitance is\nc2=%dC\nc3=%dC\nc3=%dC",c2,c3,c4);