summaryrefslogtreecommitdiff
path: root/2084/CH16/EX16.13w/16_13w.sce
blob: 77fa0d8b473fd8f1bb82c0468c3dc40176d34542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.13w
//calculation of the length of the closed pipe

//given data
l0=60*10^-2//length(in m) of the open pipe

//calculation
//from the equation of the resonate frequency of the closed organ pipe....l=(n*v)/(4*nu)
l1=l0/4

printf('the length of the closed pipe is %d cm',l1*10^2)