summaryrefslogtreecommitdiff
path: root/3630/CH15/EX15.4/Ex15_4.sce
blob: 17a1fdaf5a68c01f74ac2b38aaca240f05912333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
Av=121;
Vout=4;
Vin=Vout/Av;
V1=4;
V2=-4;
Vpk1=V1-2;
Vpk2=V2+2;
disp('V+',Vpk1,"Vpk1=");
disp('V-',Vpk2,"Vpk1=");
disp('mVpp',Vin*1000,"Vin=");