summaryrefslogtreecommitdiff
path: root/3630/CH8/EX8.7/Ex8_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH8/EX8.7/Ex8_7.sce')
-rw-r--r--3630/CH8/EX8.7/Ex8_7.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/3630/CH8/EX8.7/Ex8_7.sce b/3630/CH8/EX8.7/Ex8_7.sce
new file mode 100644
index 000000000..275fe7b2a
--- /dev/null
+++ b/3630/CH8/EX8.7/Ex8_7.sce
@@ -0,0 +1,6 @@
+clc;
+Pout=2; //watt
+Pin=0.0001; //watt
+ApdB=10*log10(Pout/Pin);
+disp('dB',ApdB,"ApdB=");//The answers vary due to round off error
+