diff options
author | kinitrupti | 2017-05-12 18:40:35 +0530 |
---|---|---|
committer | kinitrupti | 2017-05-12 18:40:35 +0530 |
commit | 64d949698432e05f2a372d9edc859c5b9df1f438 (patch) | |
tree | 012fd5b4ac9102cdcf5bc56305e49d6714fa5951 /backup/A_Textbook_Of_Engineering_Physics_version_backup/Chapter11.ipynb | |
parent | 9c6ab8cbf3e1a84c780386abf4852d84cdd32d56 (diff) | |
download | Python-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.tar.gz Python-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.tar.bz2 Python-Textbook-Companions-64d949698432e05f2a372d9edc859c5b9df1f438.zip |
Revised list of TBCs
Diffstat (limited to 'backup/A_Textbook_Of_Engineering_Physics_version_backup/Chapter11.ipynb')
-rwxr-xr-x | backup/A_Textbook_Of_Engineering_Physics_version_backup/Chapter11.ipynb | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/backup/A_Textbook_Of_Engineering_Physics_version_backup/Chapter11.ipynb b/backup/A_Textbook_Of_Engineering_Physics_version_backup/Chapter11.ipynb new file mode 100755 index 00000000..2ca36fdf --- /dev/null +++ b/backup/A_Textbook_Of_Engineering_Physics_version_backup/Chapter11.ipynb @@ -0,0 +1,150 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:cb0c026235eca0bc18a695dcb9668ea4e2691af702577b5109cf13ded8d1630d"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter11-Architectural Acoustics"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg293"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "##Example 11.1\n",
+ "##calculation of total absorption and average absorption coefficient\n",
+ "\n",
+ "##given values\n",
+ "\n",
+ "V=20*15*5.;##volume of hall in m**3\n",
+ "t=3.5;##reverberation time of empty hall in sec\n",
+ "\n",
+ "\n",
+ "##calculation\n",
+ "a1=.161*V/t;##total absorption of empty hall\n",
+ "k=a1/(2.*(20*15+15*5+20*5.));\n",
+ "print'%s %.2f %s'%('the average absorption coefficient is',k,'');"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the average absorption coefficient is 0.07 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg293"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "##Example 11.2\n",
+ "##calculation of average absorption coefficient\n",
+ "\n",
+ "##given values\n",
+ "\n",
+ "V=10*8.*6.;##volume of hall in m**3\n",
+ "t=1.5;##reverberation time of empty hall in sec\n",
+ "A=20.;##area of curtain cloth in m**2\n",
+ "t1=1.;##new reverberation time in sec\n",
+ "\n",
+ "##calculation\n",
+ "a1=.161*V/t;##total absorption of empty hall\n",
+ "a2=.161*V/t1;##total absorption after a curtain cloth is suspended\n",
+ "\n",
+ "k=(a2-a1)/(2.*20.);\n",
+ "print'%s %.2f %s'%('the average absorption coefficient is',k,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the average absorption coefficient is 0.64 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg293"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "##Example 11.3\n",
+ "##calculation of average absorption coefficient and area\n",
+ "\n",
+ "##given values\n",
+ "\n",
+ "V=20*15*10.;##volume of hall in m**3\n",
+ "t=3.5;##reverberation time of empty hall in sec\n",
+ "t1=2.5;##reduced reverberation time \n",
+ "k2=.5;##absorption coefficient of curtain cloth\n",
+ "##calculation\n",
+ "a1=.161*V/t;##total absorption of empty hall\n",
+ "k1=a1/(2*(20*15+15*10+20*10));\n",
+ "print'%s %.2f %s'%('the average absorption coefficient is',k1,'');\n",
+ "a2=.161*V/t1;##total absorption when wall is covered with curtain\n",
+ "a=t1*(a2-a1)/(t1*k2);\n",
+ "print'%s %.2f %s'%('area of wall to be covered with curtain(in m^2)is:',a,'')"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the average absorption coefficient is 0.11 \n",
+ "area of wall to be covered with curtain(in m^2)is: 110.40 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |