summaryrefslogtreecommitdiff
path: root/2459/CH16/EX16.4/Ex16_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH16/EX16.4/Ex16_4.sce')
-rw-r--r--2459/CH16/EX16.4/Ex16_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2459/CH16/EX16.4/Ex16_4.sce b/2459/CH16/EX16.4/Ex16_4.sce
new file mode 100644
index 000000000..629a75f34
--- /dev/null
+++ b/2459/CH16/EX16.4/Ex16_4.sce
@@ -0,0 +1,15 @@
+//chapter16
+//example16.4
+//page346
+
+Vo=10
+Vi=0.25
+Vif=0.5
+
+Av=Vo/Vi
+Avf=Vo/Vif
+
+// since Avf=Av/(1+Av*mv), we get
+mv=(Av/Avf-1)/Av
+
+printf("fraction of output fed back to input = %.3f \n",mv)