summaryrefslogtreecommitdiff
path: root/2084/CH16/EX16.9w
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2084/CH16/EX16.9w
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 '2084/CH16/EX16.9w')
-rwxr-xr-x2084/CH16/EX16.9w/16_9w.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2084/CH16/EX16.9w/16_9w.sce b/2084/CH16/EX16.9w/16_9w.sce
new file mode 100755
index 000000000..86d47587b
--- /dev/null
+++ b/2084/CH16/EX16.9w/16_9w.sce
@@ -0,0 +1,16 @@
+//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 16.9w
+//calculation of the factor by which the pressure amplituide increases
+
+//given data
+n=30//increase(in dB) of the sound level
+
+//calculation
+//m = I2/I1 = intensity ratio
+m=10^(n/10)
+//since p2/p1 = sqrt(I2/I1)
+f=sqrt(m)//require factor
+
+printf('the factor by which the pressure amplituide increases is %d',round(f))