summaryrefslogtreecommitdiff
path: root/226/CH8/EX8.3/example3_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH8/EX8.3/example3_sce.sce')
-rwxr-xr-x226/CH8/EX8.3/example3_sce.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/226/CH8/EX8.3/example3_sce.sce b/226/CH8/EX8.3/example3_sce.sce
new file mode 100755
index 000000000..743b15c66
--- /dev/null
+++ b/226/CH8/EX8.3/example3_sce.sce
@@ -0,0 +1,9 @@
+//chapter 8
+//example 8.3
+//page 314
+printf("\n")
+printf("given")
+v1=1;// output voltage measured at 5KHz
+v2=.707;// output voltage measure at 20kHz
+Po=20*log10(v2/v1);
+printf(" output power change is %ddB\n",Po) \ No newline at end of file