summaryrefslogtreecommitdiff
path: root/1397/CH3/EX3.5/3_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1397/CH3/EX3.5/3_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1397/CH3/EX3.5/3_5.sce')
-rwxr-xr-x1397/CH3/EX3.5/3_5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1397/CH3/EX3.5/3_5.sce b/1397/CH3/EX3.5/3_5.sce
new file mode 100755
index 000000000..1cba6e8a9
--- /dev/null
+++ b/1397/CH3/EX3.5/3_5.sce
@@ -0,0 +1,13 @@
+//clc();
+clear;
+//To determine reverberation time of the hall
+V=1000; //volume of hall in m^3
+A1=400; //area of wall in m^2
+A2=100; //area of floor in m^2
+A3=100; //area of ceiling in m^2
+N=0.02; //number of cushion chairs of wall
+a1=0.01; //absorption coefficient of ceiling
+a2=0.05; //absorption coefficient of floor
+a3=1.0; //absorption coefficient of each cushion chair
+T=(0.165*V)/((A1*N)+(A2*a1)+(A2*a2)+(A3*a3))
+printf("reverberation time of the hall is %f sec",T);