summaryrefslogtreecommitdiff
path: root/2459/CH14/EX14.4/Ex14_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH14/EX14.4/Ex14_4.sce')
-rw-r--r--2459/CH14/EX14.4/Ex14_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2459/CH14/EX14.4/Ex14_4.sce b/2459/CH14/EX14.4/Ex14_4.sce
new file mode 100644
index 000000000..5f6ebd77d
--- /dev/null
+++ b/2459/CH14/EX14.4/Ex14_4.sce
@@ -0,0 +1,13 @@
+//chapter 14
+//example 14.4
+//page 302
+
+gain_abs=30
+n=5
+
+Ap1=10*log10(gain_abs) // db
+Ap_tot=Ap1*n
+Ap_f=Ap_tot-10 // db
+
+printf("total power gain = %.3f db \n",Ap_tot)
+printf("power gain with negative feedback = %.3f db \n",Ap_f)