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=");