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