summaryrefslogtreecommitdiff
path: root/3755/CH14/EX14.3/Ex14_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3755/CH14/EX14.3/Ex14_3.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3755/CH14/EX14.3/Ex14_3.sce')
-rw-r--r--3755/CH14/EX14.3/Ex14_3.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/3755/CH14/EX14.3/Ex14_3.sce b/3755/CH14/EX14.3/Ex14_3.sce
new file mode 100644
index 000000000..fb59b8d04
--- /dev/null
+++ b/3755/CH14/EX14.3/Ex14_3.sce
@@ -0,0 +1,26 @@
+clear
+//
+//
+//
+
+//Variable declaration
+V=1200; //volume(m^3)
+a1=220; //area of wall(m^2)
+a2=120; //area of floor(m^2)
+a3=120; //area of ceiling(m^2)
+C1=0.03; //coefficient of absorption in wall
+C2=0.80; //coefficient of absorption in floor
+C3=0.06; //coefficient of absorption in ceiling
+
+//Calculations
+A1=a1*C1; //absorption due to plastered walls
+A2=a2*C2; //absorption due to wooden floor
+A3=a3*C3; //absorption due to plastered ceiling
+aS=a1+a2+a3; //total absorption in hall
+abar=(A1+A2+A3)/aS; //average sound absorption coefficient
+AS=abar*aS; //total absorption of room(metric sabines)
+T=0.165*V/AS; //reverberation time(sec)
+
+//Result
+printf("\n average sound absorption coefficient is %0.2f ",abar)
+printf("\n reverberation time is %0.1f sec",T)