summaryrefslogtreecommitdiff
path: root/3630/CH19/EX19.7/Ex19_7.sce
blob: 768cf304efadab90deb258d6fd58d3ad4b38e0f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;
Rin=20000;
rf=100000;
Vout1=-12;
Vout2=12;
Vin=2.4;
UTP=-(Rin/rf)*Vout1;
LTP=-(Rin/rf)*Vout2;
Vrin=(Vin-Vout1)*(Rin/(Rin+rf));
disp('V',UTP,"UTP=");//The answers vary due to round off error
disp('V',LTP,"LTP=");//The answers vary due to round off error
disp('V',Vrin,"Vrin=");//The answers vary due to round off error