summaryrefslogtreecommitdiff
path: root/3840/CH13/EX13.1/Ex13_1.sce
blob: 785a6857a29ebcdb685f1bb1935af2588e483940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//
//
//

//Variable Declaration
A=92.9          //absorption(m**2)
V=2265          //volume(m**3)

//Calculation
T1=0.161*V/A        //reverberation time of hall without audience(seconds)
T2=0.161*V/(A*2)    //reverberation time of hall with audience(seconds)

//Result
printf("\n reverberation time of hall without audience is %0.1f  seconds",T1)
printf("\n reverberation time of hall with audience is %0.3f  seconds",T2)