diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH8/EX8.4/example8_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1271/CH8/EX8.4/example8_4.sce')
-rwxr-xr-x | 1271/CH8/EX8.4/example8_4.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1271/CH8/EX8.4/example8_4.sce b/1271/CH8/EX8.4/example8_4.sce new file mode 100755 index 000000000..df64bb21f --- /dev/null +++ b/1271/CH8/EX8.4/example8_4.sce @@ -0,0 +1,17 @@ +clc +// Given that +A = 15 * 30 // area of the floor in square meter +h = 6 // height of hall in meter +N = 500 // no. of people +t = 1.36 // optimum time for orchestral music in sec +k = 0.44 // absorption coefficient per person +// Sample Problem 4 on page no. 8.19 +printf("\n # PROBLEM 4 # \n") +printf(" Standard formula used \n") +printf(" T = 0.161 V/a*S \n" ) +aS = 0.161 * ((A * h) / t) +a = N * k +a_ = aS - a +w = a_ + (N / 2) * k + (N / 2) * 0.02 +t = (0.161 * (A * h)) / w +printf("\n Coefficient of absorption to be provided by the walls, floor and ceiling when the hall is fully occupied is %f SI unit.\n Reverberation time if only half upholstered seats are occupied is %f sec.",a_,t) |