blob: d3852d9d6a4e0f684943b73d505d23c4b154113d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.10w
//calculation of the frequency at which the maxima of intensity are detected
//given data
r=20*10^-2//radius(in m) of the semicircular part
v=340//speed(in m/s) of the sound in air
//calculation
l1=2*r//straight distance
l2=%pi*r//curve distance
deltal=l2-l1
nu=v/deltal
printf('the frequency at which the maxima of intensity are detected are %d Hz and %d Hz',nu,2*nu)
|