summaryrefslogtreecommitdiff
path: root/2084/CH16/EX16.12w/16_12w.sce
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.12w/16_12w.sce
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.12w/16_12w.sce')
-rwxr-xr-x2084/CH16/EX16.12w/16_12w.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2084/CH16/EX16.12w/16_12w.sce b/2084/CH16/EX16.12w/16_12w.sce
new file mode 100755
index 000000000..cef44ccc0
--- /dev/null
+++ b/2084/CH16/EX16.12w/16_12w.sce
@@ -0,0 +1,16 @@
+//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 16.12w
+//calculation of the length of the shortest closed organ pipe that will resonate with the tunning fork
+
+//given data
+nu=264//frequency(in Hz)of the tunning fork
+v=350//speed(in m/s) of the sound in air
+
+//calculation
+//from the equation of the resonate frequency of the closed organ pipe....l = (n*v)/(4*nu)
+n=1//for l to be minimum
+lmin=(v)/(4*nu)//equation of the resonate frequency of the closed organ pipe
+
+printf('the length of the shortest closed organ pipe that will resonate with the tunning fork is %d cm',lmin*10^2)