summaryrefslogtreecommitdiff
path: root/1076/CH4/EX4.8/4_8.sce
blob: 2dc00ef99fe4d78150e4d718908db4f0248ff408 (plain)
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);