summaryrefslogtreecommitdiff
path: root/3630/CH19/EX19.7/Ex19_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH19/EX19.7/Ex19_7.sce')
-rw-r--r--3630/CH19/EX19.7/Ex19_7.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3630/CH19/EX19.7/Ex19_7.sce b/3630/CH19/EX19.7/Ex19_7.sce
new file mode 100644
index 000000000..768cf304e
--- /dev/null
+++ b/3630/CH19/EX19.7/Ex19_7.sce
@@ -0,0 +1,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
+
+
+