summaryrefslogtreecommitdiff
path: root/2459/CH16/EX16.8/Ex16_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH16/EX16.8/Ex16_8.sce')
-rw-r--r--2459/CH16/EX16.8/Ex16_8.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2459/CH16/EX16.8/Ex16_8.sce b/2459/CH16/EX16.8/Ex16_8.sce
new file mode 100644
index 000000000..18f644aae
--- /dev/null
+++ b/2459/CH16/EX16.8/Ex16_8.sce
@@ -0,0 +1,18 @@
+//chapter16
+//example16.8
+//page351
+
+Av=10000
+R1=2 // kilo ohm
+R2=18 // kilo ohm
+Vi=1 // mV
+
+mv=R1/(R1+R2)
+Avf=Av/(1+Av*mv)
+Vout=Avf*Vi
+
+printf("feedback fraction = %.1f \n",mv)
+
+printf("voltage gain with negative feedback = %.1f \n",Avf)
+
+printf("output voltage = %.1f mV \n",Vout)