summaryrefslogtreecommitdiff
path: root/620/CH16/EX16.1/example16_1.sce
blob: ca9e273eecad6c5825f001a7bd9a84145daf63e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
disp("Part a");
u1=50*10^(-3);
l1=4.6;
n=10;
vp=u1*l1*n/2;
disp("the peak voltage (in V) is"); disp(vp);
disp("Part b");
u2=0.2;
l2=3.2;
t=u2*l2;
disp("the period T (in ms) is"); disp(t);
disp("Part c");
f=1/t;
disp("the frequency f (in kHz) is"); disp(f);