summaryrefslogtreecommitdiff
path: root/3648/CH14/EX14.2
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH14/EX14.2')
-rw-r--r--3648/CH14/EX14.2/Ex14_2.sce8
-rw-r--r--3648/CH14/EX14.2/Ex14_2.txt1
2 files changed, 9 insertions, 0 deletions
diff --git a/3648/CH14/EX14.2/Ex14_2.sce b/3648/CH14/EX14.2/Ex14_2.sce
new file mode 100644
index 000000000..44fdd92d5
--- /dev/null
+++ b/3648/CH14/EX14.2/Ex14_2.sce
@@ -0,0 +1,8 @@
+//Example 14_2
+clc();
+clear;
+//To find the sound level of a sound wave
+i1=10^-5 //Units in W/meter^2
+i2=10^-12 //Units in W/meter^2
+level=10*log10(i1/i2) //units in dB
+printf("The sound level of the sound wave is=%d dB",level)
diff --git a/3648/CH14/EX14.2/Ex14_2.txt b/3648/CH14/EX14.2/Ex14_2.txt
new file mode 100644
index 000000000..05d0b0eb1
--- /dev/null
+++ b/3648/CH14/EX14.2/Ex14_2.txt
@@ -0,0 +1 @@
+The sound level of the sound wave is=70 dB \ No newline at end of file