summaryrefslogtreecommitdiff
path: root/2084/CH16/EX16.6/16_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2084/CH16/EX16.6/16_6.sce')
-rwxr-xr-x2084/CH16/EX16.6/16_6.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2084/CH16/EX16.6/16_6.sce b/2084/CH16/EX16.6/16_6.sce
new file mode 100755
index 000000000..d66be1115
--- /dev/null
+++ b/2084/CH16/EX16.6/16_6.sce
@@ -0,0 +1,15 @@
+//developed in windows XP operating system 32bit
+//platform Scilab 5.4.1
+clc;clear;
+//example 16.6
+//calculation of the distance of the piston from the open end,for tube to vibrate in its first overtone
+
+//given data
+nu=416//frequency(in Hz) of the tunning fork
+v=333//speed(in m/s) of the sound in air
+
+//calculation
+lambda=v/nu//wavelength
+L=3*lambda/4//length of the tube
+
+printf('the distance of the piston from the open end,for tube to vibrate in its first overtone is %3.1f cm',L*10^2)