blob: dbbf833de15f031f534ed3f4f1c33738c68d074d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 16.17w
//calculation of the frequency of the note emitted by the taut string
//given data
nu1=440//frequency(in Hz) of the string
n=4//number of beats per second
nuf=440//tunning frequency(in Hz) of the fork
//calculation
fre=nuf+n//required frequncy
printf('the frequency of the note emitted by the taut string is %d Hz',fre)
|