summaryrefslogtreecommitdiff
path: root/3753/CH3/EX3.2/Ex3_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3753/CH3/EX3.2/Ex3_2.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 '3753/CH3/EX3.2/Ex3_2.sce')
-rw-r--r--3753/CH3/EX3.2/Ex3_2.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/3753/CH3/EX3.2/Ex3_2.sce b/3753/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..056b73d6c
--- /dev/null
+++ b/3753/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,30 @@
+//Example number 3.2, Page number 3.32
+
+
+clc;clear;close
+
+// Variable declaration
+a1=450 // Area of plastered wall
+a2=360 // Area of wooden floor and wooden doors
+a3=24 // Area of Glass
+a4=600 // Area of seats
+a5=500 // Area of audience when they are in seats
+c1=0.03 // Coefficient of absorption of plastered wall
+c2=0.06 // Coefficient of absorption of wooden floor and wooden doors
+c3=0.025 // Coefficient of absorption of Glass
+c4=0.3 // Coefficient of absorption of seats
+c5=0.43 // Coefficient of absorption of audience when they are in seats
+l=12 // in m
+b=30 // in m
+h=6 // in m
+
+// Calculation
+V=l*b*h // volume of the hall
+A=(a1*c1)+(a2*c2)+(a3*c3)+(a4*c4)+(a5*c5) // Total absorption
+T=(0.16*V)/A // Reverbration time
+
+// Result
+printf("Volume of the hall = %.f m^3",V)
+printf("\nTotal absorption = %0.1f m^2",A)
+printf("\nReverbration time = %0.1f second",T)
+// Answer given for the Reverbration time in the text book is wrong