summaryrefslogtreecommitdiff
path: root/3507/CH14/EX14.1/Ex14_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH14/EX14.1/Ex14_1.sce')
-rw-r--r--3507/CH14/EX14.1/Ex14_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3507/CH14/EX14.1/Ex14_1.sce b/3507/CH14/EX14.1/Ex14_1.sce
new file mode 100644
index 000000000..3b83779b0
--- /dev/null
+++ b/3507/CH14/EX14.1/Ex14_1.sce
@@ -0,0 +1,10 @@
+//chapter 14
+//example 14.1
+//page 301
+
+Av=20*log10(30)
+
+Pv=10*log10(100)
+
+printf("voltage gain = %.3f db \n",Av)
+printf("power gain = %.3f db \n",Pv)