blob: df64bb21f82713c71b244aaf5c43dab3a3a7dbf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
|