summaryrefslogtreecommitdiff
path: root/2243/CH16/EX16.3
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.3
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.3')
-rwxr-xr-x2243/CH16/EX16.3/Ex16_3.sce14
-rwxr-xr-x2243/CH16/EX16.3/Res16_3.txt1
2 files changed, 15 insertions, 0 deletions
diff --git a/2243/CH16/EX16.3/Ex16_3.sce b/2243/CH16/EX16.3/Ex16_3.sce
new file mode 100755
index 000000000..c9331ee03
--- /dev/null
+++ b/2243/CH16/EX16.3/Ex16_3.sce
@@ -0,0 +1,14 @@
+clc();
+clear;
+//Given :
+sm_min = 11*10^-12;// Minimum displacement amplitude in m
+sm_max = 11*10^-6;// Maximum displacement amplitude in m
+v = 343;// speed of sound in m/s
+f = 1000; // frequency in Hz
+rho_0 = 1.21; // density of air in kg/m^3
+// Sound intensity = (rho_0*v*omega^2*sm^2)/2
+//omega = 2*pi*f
+I_max = (rho_0*v*((2*%pi*f)^2)*(sm_max^2))/2; // Maximum Intensity
+I_min = (rho_0*v*((2*%pi*f)^2)*(sm_min^2))/2; // Minimum Intensity
+Ratio = I_max/I_min ;
+printf("I_max/I_min = %.1f x 10^12 ", Ratio*10^-12);
diff --git a/2243/CH16/EX16.3/Res16_3.txt b/2243/CH16/EX16.3/Res16_3.txt
new file mode 100755
index 000000000..1ba85e82f
--- /dev/null
+++ b/2243/CH16/EX16.3/Res16_3.txt
@@ -0,0 +1 @@
+I_max/I_min = 1.0 x 10^12 \ No newline at end of file