summaryrefslogtreecommitdiff
path: root/2243/CH16/EX16.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2243/CH16/EX16.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2243/CH16/EX16.4')
-rwxr-xr-x2243/CH16/EX16.4/Ex16_4.sce14
-rwxr-xr-x2243/CH16/EX16.4/Res16_4.txt3
2 files changed, 17 insertions, 0 deletions
diff --git a/2243/CH16/EX16.4/Ex16_4.sce b/2243/CH16/EX16.4/Ex16_4.sce
new file mode 100755
index 000000000..bf4ba1d41
--- /dev/null
+++ b/2243/CH16/EX16.4/Ex16_4.sce
@@ -0,0 +1,14 @@
+clc();
+clear;
+//Given :
+I0 = 10^-12; // in W/m^2
+beta1 = 0; // in dB
+beta2 = 60;// in dB
+beta3 = 120; // in dB
+// Intensity level = beta = 10*log10(I/I0)
+I1 = 10^(beta1/10)*I0; // Intensity in W/m^2
+I2 = 10^(beta2/10)*I0; // Intensity in W/m^2
+I3 = 10^(beta3/10)*I0; // Intensity in W/m^2
+printf("Hearing Threshold : %.1f x 10^-12 W/m^2 \n",I1*10^12);
+printf("Speech Activity : %.1f x 10^-6 W/m^2 \n",I2*10^6);
+printf("Pain Threshold : %.1f W/m^2",I3);
diff --git a/2243/CH16/EX16.4/Res16_4.txt b/2243/CH16/EX16.4/Res16_4.txt
new file mode 100755
index 000000000..d0a8da198
--- /dev/null
+++ b/2243/CH16/EX16.4/Res16_4.txt
@@ -0,0 +1,3 @@
+Hearing Threshold : 1.0 x 10^-12 W/m^2
+Speech Activity : 1.0 x 10^-6 W/m^2
+Pain Threshold : 1.0 W/m^2 \ No newline at end of file