From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1985/CH1/EX1.1/chapter1_Example1.sce | 14 ++++++++++++++ 1985/CH1/EX1.2/chapter1_Example2.sce | 13 +++++++++++++ 1985/CH1/EX1.3/chapter1_Example3.sce | 16 ++++++++++++++++ 1985/CH1/EX1.4/chapter1_Example4.sce | 14 ++++++++++++++ 1985/CH10/EX10.1/Chapter10_example1.sce | 16 ++++++++++++++++ 1985/CH10/EX10.2/Chapter10_example2.sce | 14 ++++++++++++++ 1985/CH10/EX10.3/Chapter10_example3.sce | 12 ++++++++++++ 1985/CH10/EX10.4/Chapter10_example4.sce | 15 +++++++++++++++ 1985/CH10/EX10.5/Chapter10_example5.sce | 20 ++++++++++++++++++++ 1985/CH10/EX10.6/Chapter10_example6.sce | 22 ++++++++++++++++++++++ 1985/CH10/EX10.7/Chapter10_example7.sce | 25 +++++++++++++++++++++++++ 1985/CH11/EX11.1/Chapter11_Example1.sce | 14 ++++++++++++++ 1985/CH11/EX11.2/Chapter11_Example2.sce | 15 +++++++++++++++ 1985/CH11/EX11.3/Chapter11_Example3.sce | 17 +++++++++++++++++ 1985/CH11/EX11.4/Chapter11_Example4.sce | 18 ++++++++++++++++++ 1985/CH11/EX11.5/Chapter11_Example5.sce | 12 ++++++++++++ 1985/CH11/EX11.6/Chapter11_Example6.sce | 14 ++++++++++++++ 1985/CH11/EX11.7/Chapter11_Example7.sce | 16 ++++++++++++++++ 1985/CH12/EX12.1/Chapter12_example1.sce | 13 +++++++++++++ 1985/CH12/EX12.10/Chapter12_example10.sce | 15 +++++++++++++++ 1985/CH12/EX12.11/Chapter12_example11.sce | 15 +++++++++++++++ 1985/CH12/EX12.2/Chapter12_example2.sce | 12 ++++++++++++ 1985/CH12/EX12.3/Chapter12_example3.sce | 14 ++++++++++++++ 1985/CH12/EX12.4/Chapter12_example4.sce | 14 ++++++++++++++ 1985/CH12/EX12.5/Chapter12_example5.sce | 14 ++++++++++++++ 1985/CH12/EX12.6/Chapter12_example6.sce | 17 +++++++++++++++++ 1985/CH12/EX12.7/Chapter12_example7.sce | 13 +++++++++++++ 1985/CH12/EX12.8/Chapter12_example8.sce | 14 ++++++++++++++ 1985/CH12/EX12.9/Chapter12_example9.sce | 11 +++++++++++ 1985/CH13/EX13.2/Chapter13_example2.sce | 14 ++++++++++++++ 1985/CH13/EX13.3/Chapter13_example3.sce | 14 ++++++++++++++ 1985/CH13/EX13.5/Chapter13_example5.sce | 18 ++++++++++++++++++ 1985/CH13/EX13.6/Chapter13_example6.sce | 23 +++++++++++++++++++++++ 1985/CH13/EX13.7/Chapter13_example7.sce | 12 ++++++++++++ 1985/CH13/EX13.8/Chapter13_example8.sce | 15 +++++++++++++++ 1985/CH13/EX13.9/Chapter13_example9.sce | 12 ++++++++++++ 1985/CH14/EX14.1/Chapter14_example1.sce | 11 +++++++++++ 1985/CH14/EX14.2/Chapter14_example2.sce | 17 +++++++++++++++++ 1985/CH14/EX14.3/Chapter14_example3.sce | 16 ++++++++++++++++ 1985/CH14/EX14.4/Chapter14_example4.sce | 19 +++++++++++++++++++ 1985/CH14/EX14.5/Chapter14_example5.sce | 15 +++++++++++++++ 1985/CH14/EX14.6/Chapter14_example6.sce | 12 ++++++++++++ 1985/CH14/EX14.7/Chapter14_example7.sce | 13 +++++++++++++ 1985/CH14/EX14.8/Chapter14_example8.sce | 13 +++++++++++++ 1985/CH14/EX14.9/Chapter14_example9.sce | 18 ++++++++++++++++++ 1985/CH15/EX15.1/Chapter15_example1.sce | 11 +++++++++++ 1985/CH15/EX15.2/Chapter15_example2.sce | 11 +++++++++++ 1985/CH16/EX16.1/Chapter16_example1.sce | 13 +++++++++++++ 1985/CH16/EX16.2/Chapter16_example2.sce | 18 ++++++++++++++++++ 1985/CH16/EX16.3/Chapter16_example3.sce | 15 +++++++++++++++ 1985/CH16/EX16.4/Chapter16_example4.sce | 11 +++++++++++ 1985/CH16/EX16.5/Chapter16_example5.sce | 16 ++++++++++++++++ 1985/CH16/EX16.6/Chapter16_example6.sce | 12 ++++++++++++ 1985/CH17/EX17.1/Chapter17_example1.sce | 17 +++++++++++++++++ 1985/CH17/EX17.2/Chapter17_example2.sce | 12 ++++++++++++ 1985/CH17/EX17.3/Chapter17_example3.sce | 15 +++++++++++++++ 1985/CH17/EX17.4/Chapter17_example4.sce | 18 ++++++++++++++++++ 1985/CH17/EX17.5/Chapter17_example5.sce | 15 +++++++++++++++ 1985/CH17/EX17.6/Chapter17_example6.sce | 15 +++++++++++++++ 1985/CH17/EX17.7/Chapter17_example7.sce | 18 ++++++++++++++++++ 1985/CH2/EX2.1/Chapter2_example1.sce | 13 +++++++++++++ 1985/CH2/EX2.10/Chapter2_example10.sce | 13 +++++++++++++ 1985/CH2/EX2.2/Chapter2_example2.sce | 14 ++++++++++++++ 1985/CH2/EX2.3/Chapter2_example3.sce | 14 ++++++++++++++ 1985/CH2/EX2.4/Chapter2_example4.sce | 13 +++++++++++++ 1985/CH2/EX2.6/Chapter2_example6.sce | 11 +++++++++++ 1985/CH2/EX2.7/Chapter2_example7.sce | 19 +++++++++++++++++++ 1985/CH2/EX2.8/Chapter2_example8.sce | 13 +++++++++++++ 1985/CH2/EX2.9/Chapter2_example9.sce | 15 +++++++++++++++ 1985/CH3/EX3.1/Chapter3_Example1.sce | 14 ++++++++++++++ 1985/CH3/EX3.10/Chapter3_Example10.sce | 14 ++++++++++++++ 1985/CH3/EX3.2/Chapter3_Example2.sce | 12 ++++++++++++ 1985/CH3/EX3.3/Chapter3_Example3.sce | 15 +++++++++++++++ 1985/CH3/EX3.4/Chapter3_Example4.sce | 14 ++++++++++++++ 1985/CH3/EX3.5/Chapter3_Example5.sce | 14 ++++++++++++++ 1985/CH3/EX3.6/Chapter3_Example6.sce | 18 ++++++++++++++++++ 1985/CH3/EX3.8/Chapter3_Example8.sce | 14 ++++++++++++++ 1985/CH3/EX3.9/Chapter3_Example9.sce | 11 +++++++++++ 1985/CH4/EX4.1/Chapter4_Example1.sce | 16 ++++++++++++++++ 1985/CH4/EX4.2/Chapter4_Example2.sce | 11 +++++++++++ 1985/CH4/EX4.3/Chapter4_Example3.sce | 14 ++++++++++++++ 1985/CH4/EX4.4/Chapter4_Example4.sce | 16 ++++++++++++++++ 1985/CH4/EX4.5/Chapter4_Example5.sce | 14 ++++++++++++++ 1985/CH4/EX4.6/Chapter4_Example6.sce | 13 +++++++++++++ 1985/CH4/EX4.7/Chapter4_Example7.sce | 12 ++++++++++++ 1985/CH5/EX5.1/chapter5_Example1.sce | 13 +++++++++++++ 1985/CH5/EX5.2/chapter5_Example2.sce | 15 +++++++++++++++ 1985/CH5/EX5.3/chapter5_Example3.sce | 15 +++++++++++++++ 1985/CH5/EX5.4/chapter5_Example4.sce | 15 +++++++++++++++ 1985/CH5/EX5.5/chapter5_Example5.sce | 16 ++++++++++++++++ 1985/CH5/EX5.6/chapter5_Example6.sce | 15 +++++++++++++++ 1985/CH5/EX5.7/chapter5_Example7.sce | 18 ++++++++++++++++++ 1985/CH5/EX5.8/chapter5_Example8.sce | 14 ++++++++++++++ 1985/CH6/EX6.1/Chapter6_Example1.sce | 13 +++++++++++++ 1985/CH6/EX6.2/Chapter6_Example2.sce | 13 +++++++++++++ 1985/CH6/EX6.3/Chapter6_Example3.sce | 12 ++++++++++++ 1985/CH6/EX6.4/Chapter6_Example4.sce | 13 +++++++++++++ 1985/CH7/EX7.1/Chapter7_Example1.sce | 10 ++++++++++ 1985/CH7/EX7.10/Chapter7_Example10.sce | 10 ++++++++++ 1985/CH7/EX7.2/Chapter7_Example2.sce | 10 ++++++++++ 1985/CH7/EX7.3/Chapter7_Example3.sce | 10 ++++++++++ 1985/CH7/EX7.4/Chapter7_Example4.sce | 15 +++++++++++++++ 1985/CH7/EX7.5/Chapter7_Example5.sce | 12 ++++++++++++ 1985/CH7/EX7.6/Chapter7_Example6.sce | 15 +++++++++++++++ 1985/CH7/EX7.7/Chapter7_Example7.sce | 15 +++++++++++++++ 1985/CH7/EX7.8/Chapter7_Example8.sce | 12 ++++++++++++ 1985/CH7/EX7.9/Chapter7_Example9.sce | 16 ++++++++++++++++ 1985/CH8/EX8.1/Chapter8_Example1.sce | 11 +++++++++++ 1985/CH8/EX8.2/Chapter8_Example2.sce | 13 +++++++++++++ 1985/CH8/EX8.3/Chapter8_Example3.sce | 11 +++++++++++ 1985/CH8/EX8.4/Chapter8_Example4.sce | 14 ++++++++++++++ 1985/CH9/EX9.1/Chapter9_Example1.sce | 13 +++++++++++++ 1985/CH9/EX9.2/Chapter9_Example2.sce | 15 +++++++++++++++ 1985/CH9/EX9.3/Chapter9_Example3.sce | 15 +++++++++++++++ 1985/CH9/EX9.4/Chapter9_Example4.sce | 18 ++++++++++++++++++ 1985/CH9/EX9.5/Chapter9_Example5.sce | 15 +++++++++++++++ 1985/CH9/EX9.6/Chapter9_Example6.sce | 11 +++++++++++ 1985/CH9/EX9.7/Chapter9_Example7.sce | 15 +++++++++++++++ 118 files changed, 1693 insertions(+) create mode 100755 1985/CH1/EX1.1/chapter1_Example1.sce create mode 100755 1985/CH1/EX1.2/chapter1_Example2.sce create mode 100755 1985/CH1/EX1.3/chapter1_Example3.sce create mode 100755 1985/CH1/EX1.4/chapter1_Example4.sce create mode 100755 1985/CH10/EX10.1/Chapter10_example1.sce create mode 100755 1985/CH10/EX10.2/Chapter10_example2.sce create mode 100755 1985/CH10/EX10.3/Chapter10_example3.sce create mode 100755 1985/CH10/EX10.4/Chapter10_example4.sce create mode 100755 1985/CH10/EX10.5/Chapter10_example5.sce create mode 100755 1985/CH10/EX10.6/Chapter10_example6.sce create mode 100755 1985/CH10/EX10.7/Chapter10_example7.sce create mode 100755 1985/CH11/EX11.1/Chapter11_Example1.sce create mode 100755 1985/CH11/EX11.2/Chapter11_Example2.sce create mode 100755 1985/CH11/EX11.3/Chapter11_Example3.sce create mode 100755 1985/CH11/EX11.4/Chapter11_Example4.sce create mode 100755 1985/CH11/EX11.5/Chapter11_Example5.sce create mode 100755 1985/CH11/EX11.6/Chapter11_Example6.sce create mode 100755 1985/CH11/EX11.7/Chapter11_Example7.sce create mode 100755 1985/CH12/EX12.1/Chapter12_example1.sce create mode 100755 1985/CH12/EX12.10/Chapter12_example10.sce create mode 100755 1985/CH12/EX12.11/Chapter12_example11.sce create mode 100755 1985/CH12/EX12.2/Chapter12_example2.sce create mode 100755 1985/CH12/EX12.3/Chapter12_example3.sce create mode 100755 1985/CH12/EX12.4/Chapter12_example4.sce create mode 100755 1985/CH12/EX12.5/Chapter12_example5.sce create mode 100755 1985/CH12/EX12.6/Chapter12_example6.sce create mode 100755 1985/CH12/EX12.7/Chapter12_example7.sce create mode 100755 1985/CH12/EX12.8/Chapter12_example8.sce create mode 100755 1985/CH12/EX12.9/Chapter12_example9.sce create mode 100755 1985/CH13/EX13.2/Chapter13_example2.sce create mode 100755 1985/CH13/EX13.3/Chapter13_example3.sce create mode 100755 1985/CH13/EX13.5/Chapter13_example5.sce create mode 100755 1985/CH13/EX13.6/Chapter13_example6.sce create mode 100755 1985/CH13/EX13.7/Chapter13_example7.sce create mode 100755 1985/CH13/EX13.8/Chapter13_example8.sce create mode 100755 1985/CH13/EX13.9/Chapter13_example9.sce create mode 100755 1985/CH14/EX14.1/Chapter14_example1.sce create mode 100755 1985/CH14/EX14.2/Chapter14_example2.sce create mode 100755 1985/CH14/EX14.3/Chapter14_example3.sce create mode 100755 1985/CH14/EX14.4/Chapter14_example4.sce create mode 100755 1985/CH14/EX14.5/Chapter14_example5.sce create mode 100755 1985/CH14/EX14.6/Chapter14_example6.sce create mode 100755 1985/CH14/EX14.7/Chapter14_example7.sce create mode 100755 1985/CH14/EX14.8/Chapter14_example8.sce create mode 100755 1985/CH14/EX14.9/Chapter14_example9.sce create mode 100755 1985/CH15/EX15.1/Chapter15_example1.sce create mode 100755 1985/CH15/EX15.2/Chapter15_example2.sce create mode 100755 1985/CH16/EX16.1/Chapter16_example1.sce create mode 100755 1985/CH16/EX16.2/Chapter16_example2.sce create mode 100755 1985/CH16/EX16.3/Chapter16_example3.sce create mode 100755 1985/CH16/EX16.4/Chapter16_example4.sce create mode 100755 1985/CH16/EX16.5/Chapter16_example5.sce create mode 100755 1985/CH16/EX16.6/Chapter16_example6.sce create mode 100755 1985/CH17/EX17.1/Chapter17_example1.sce create mode 100755 1985/CH17/EX17.2/Chapter17_example2.sce create mode 100755 1985/CH17/EX17.3/Chapter17_example3.sce create mode 100755 1985/CH17/EX17.4/Chapter17_example4.sce create mode 100755 1985/CH17/EX17.5/Chapter17_example5.sce create mode 100755 1985/CH17/EX17.6/Chapter17_example6.sce create mode 100755 1985/CH17/EX17.7/Chapter17_example7.sce create mode 100755 1985/CH2/EX2.1/Chapter2_example1.sce create mode 100755 1985/CH2/EX2.10/Chapter2_example10.sce create mode 100755 1985/CH2/EX2.2/Chapter2_example2.sce create mode 100755 1985/CH2/EX2.3/Chapter2_example3.sce create mode 100755 1985/CH2/EX2.4/Chapter2_example4.sce create mode 100755 1985/CH2/EX2.6/Chapter2_example6.sce create mode 100755 1985/CH2/EX2.7/Chapter2_example7.sce create mode 100755 1985/CH2/EX2.8/Chapter2_example8.sce create mode 100755 1985/CH2/EX2.9/Chapter2_example9.sce create mode 100755 1985/CH3/EX3.1/Chapter3_Example1.sce create mode 100755 1985/CH3/EX3.10/Chapter3_Example10.sce create mode 100755 1985/CH3/EX3.2/Chapter3_Example2.sce create mode 100755 1985/CH3/EX3.3/Chapter3_Example3.sce create mode 100755 1985/CH3/EX3.4/Chapter3_Example4.sce create mode 100755 1985/CH3/EX3.5/Chapter3_Example5.sce create mode 100755 1985/CH3/EX3.6/Chapter3_Example6.sce create mode 100755 1985/CH3/EX3.8/Chapter3_Example8.sce create mode 100755 1985/CH3/EX3.9/Chapter3_Example9.sce create mode 100755 1985/CH4/EX4.1/Chapter4_Example1.sce create mode 100755 1985/CH4/EX4.2/Chapter4_Example2.sce create mode 100755 1985/CH4/EX4.3/Chapter4_Example3.sce create mode 100755 1985/CH4/EX4.4/Chapter4_Example4.sce create mode 100755 1985/CH4/EX4.5/Chapter4_Example5.sce create mode 100755 1985/CH4/EX4.6/Chapter4_Example6.sce create mode 100755 1985/CH4/EX4.7/Chapter4_Example7.sce create mode 100755 1985/CH5/EX5.1/chapter5_Example1.sce create mode 100755 1985/CH5/EX5.2/chapter5_Example2.sce create mode 100755 1985/CH5/EX5.3/chapter5_Example3.sce create mode 100755 1985/CH5/EX5.4/chapter5_Example4.sce create mode 100755 1985/CH5/EX5.5/chapter5_Example5.sce create mode 100755 1985/CH5/EX5.6/chapter5_Example6.sce create mode 100755 1985/CH5/EX5.7/chapter5_Example7.sce create mode 100755 1985/CH5/EX5.8/chapter5_Example8.sce create mode 100755 1985/CH6/EX6.1/Chapter6_Example1.sce create mode 100755 1985/CH6/EX6.2/Chapter6_Example2.sce create mode 100755 1985/CH6/EX6.3/Chapter6_Example3.sce create mode 100755 1985/CH6/EX6.4/Chapter6_Example4.sce create mode 100755 1985/CH7/EX7.1/Chapter7_Example1.sce create mode 100755 1985/CH7/EX7.10/Chapter7_Example10.sce create mode 100755 1985/CH7/EX7.2/Chapter7_Example2.sce create mode 100755 1985/CH7/EX7.3/Chapter7_Example3.sce create mode 100755 1985/CH7/EX7.4/Chapter7_Example4.sce create mode 100755 1985/CH7/EX7.5/Chapter7_Example5.sce create mode 100755 1985/CH7/EX7.6/Chapter7_Example6.sce create mode 100755 1985/CH7/EX7.7/Chapter7_Example7.sce create mode 100755 1985/CH7/EX7.8/Chapter7_Example8.sce create mode 100755 1985/CH7/EX7.9/Chapter7_Example9.sce create mode 100755 1985/CH8/EX8.1/Chapter8_Example1.sce create mode 100755 1985/CH8/EX8.2/Chapter8_Example2.sce create mode 100755 1985/CH8/EX8.3/Chapter8_Example3.sce create mode 100755 1985/CH8/EX8.4/Chapter8_Example4.sce create mode 100755 1985/CH9/EX9.1/Chapter9_Example1.sce create mode 100755 1985/CH9/EX9.2/Chapter9_Example2.sce create mode 100755 1985/CH9/EX9.3/Chapter9_Example3.sce create mode 100755 1985/CH9/EX9.4/Chapter9_Example4.sce create mode 100755 1985/CH9/EX9.5/Chapter9_Example5.sce create mode 100755 1985/CH9/EX9.6/Chapter9_Example6.sce create mode 100755 1985/CH9/EX9.7/Chapter9_Example7.sce (limited to '1985') diff --git a/1985/CH1/EX1.1/chapter1_Example1.sce b/1985/CH1/EX1.1/chapter1_Example1.sce new file mode 100755 index 000000000..8efba1eb1 --- /dev/null +++ b/1985/CH1/EX1.1/chapter1_Example1.sce @@ -0,0 +1,14 @@ + +clc +clear + +//INPUT DATA +L=1;//Length of the bar in m +l=0.25;//Length of the pemdulum in m + +//CALCULATIONS +k=sqrt((L^2)/12);//Radius of gyration m +T=sqrt(((k^2/l)+l)/9.8)*2*3.14;//Time period of pendulum in s + +//OUTPUT +mprintf('Time period of the pendulum is %3.3f sec',T) diff --git a/1985/CH1/EX1.2/chapter1_Example2.sce b/1985/CH1/EX1.2/chapter1_Example2.sce new file mode 100755 index 000000000..75b421142 --- /dev/null +++ b/1985/CH1/EX1.2/chapter1_Example2.sce @@ -0,0 +1,13 @@ + +clc +clear + +//INPUT DATA +T=2.223;//Time taken for 1 oscillation in sec +L=1.228;//Length of the pendulum in m + +//CALCULATIONS +g=((4*3.14^2*L)/(T^2));//Acceleration due to gravity in m.s^-2 + +//OUTPUT +mprintf('The acceleration due to gravity is %3.2f m s^-2',g) diff --git a/1985/CH1/EX1.3/chapter1_Example3.sce b/1985/CH1/EX1.3/chapter1_Example3.sce new file mode 100755 index 000000000..9d063382a --- /dev/null +++ b/1985/CH1/EX1.3/chapter1_Example3.sce @@ -0,0 +1,16 @@ + +clc +clear + +//INPUT DATA +l=1.2;//Length of of bar in m + +//CALCULATIONS +k=sqrt(l^2/12);//Radius of gyration in m +T=sqrt(((k^2/(l/2))+(l/2))/9.8)*2*3.14;//Time period of the pendulum in s +L=((9.8*T^2)/(4*3.14^2));//Length in m +D=L-(l/2);//Another point where pendulum has same timeperiod in m + +//OUTPUT +mprintf('The time period of pendulum is %3.3f s\nDistance of another point from centre of gravity on bar with same time period is %3.1f m',T,D) + diff --git a/1985/CH1/EX1.4/chapter1_Example4.sce b/1985/CH1/EX1.4/chapter1_Example4.sce new file mode 100755 index 000000000..bf03a209a --- /dev/null +++ b/1985/CH1/EX1.4/chapter1_Example4.sce @@ -0,0 +1,14 @@ + +clc +clear + +//INPUT DATA +L=1;//Length of pendulum in m +B=0.05;//Width of pendulum in m + +//CALCULATIONS +k=sqrt((L^2+B^2)/12);//Radius of gyration in m +D=((L/2)-k)*100;//distance of point of minimum time period from one end in cm + +//OUTPUT +mprintf('The minimum time period is obtained at %3.2f cm',D) diff --git a/1985/CH10/EX10.1/Chapter10_example1.sce b/1985/CH10/EX10.1/Chapter10_example1.sce new file mode 100755 index 000000000..dd2bad9cf --- /dev/null +++ b/1985/CH10/EX10.1/Chapter10_example1.sce @@ -0,0 +1,16 @@ +clc +clear +//Input data +mU235=235.044//Mass of U235 in a.m.u +mXe135=134.907//Mass of Xe135 in a.m.u +mMo98=97.906//Mass of Mo98 in a.m.u +mn=1.008665//Mass of neutron in a.m.u + +//Calculations +LHS=mU235+mn//The total mass of the reactants in a.m.u +RHS=mMo98+mXe135+3*mn//The total mass of the products in a.m.u +md=LHS-RHS//Mass defect in a.m.u +E=(md*934.18)//Energy released in MeV + +//Output +printf('The energy released in the nuclear fission reaction is %3i MeV',E) diff --git a/1985/CH10/EX10.2/Chapter10_example2.sce b/1985/CH10/EX10.2/Chapter10_example2.sce new file mode 100755 index 000000000..5e0e5fcd6 --- /dev/null +++ b/1985/CH10/EX10.2/Chapter10_example2.sce @@ -0,0 +1,14 @@ +clc +clear +//Input data +E=200//Energy released in the fission of U235 in MeV +e=1.6*10^-19//Charge of electron in Coulumb +A=6.023*10^23//Avagadros number +a=235//U235 + +//Calculations +x=(A/a)//Number of atoms in 1 gram of U235 +E=((x*E*e*10^6)/(3.6*10^6))/10^4//Energy released by 1 gm of U235 in kWh + +//Output +printf('Energy released by 1 gm of U235 is %3.2f*10^4 kWh',E) diff --git a/1985/CH10/EX10.3/Chapter10_example3.sce b/1985/CH10/EX10.3/Chapter10_example3.sce new file mode 100755 index 000000000..2202fcd30 --- /dev/null +++ b/1985/CH10/EX10.3/Chapter10_example3.sce @@ -0,0 +1,12 @@ +clc +clear +//Input data +Ef=200//Energy released per fission in MeV +Er=32*10^6//Energy produced by the reactor in W +e=1.6*10^-19//Charge of electron in Coulumb + +//Calculations +n=(Er/(Ef*10^6*e))/10^18//Number of U235 nuclei needed to produce an energy of 32*10^6 J/s *10^18 + +//Output +printf('%3.0f*10^18 U235 nuclei are needed to produce an energy of 32*10^6 J/s',n) diff --git a/1985/CH10/EX10.4/Chapter10_example4.sce b/1985/CH10/EX10.4/Chapter10_example4.sce new file mode 100755 index 000000000..c42178540 --- /dev/null +++ b/1985/CH10/EX10.4/Chapter10_example4.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +E=100*10^3//Energy produced by the reactor in W +e=1.6*10^-19//Charge of electron in Coulumb +A=6.023*10^23//Avagadros number +a=235//U235 + +//Calculations +Er=200//Let the energy released per fission be 200 MeV, +n=(E/(Er*10^6*e))//The number of U235 nuclei needed to produce 100kW of energy +m=((a*n)/(A*1000))/10^-9//Mass of 'n' atoms of U235 + +//Output +printf('The reactor consumes %3.5f*10^-9 kg of U235 in one second',m) diff --git a/1985/CH10/EX10.5/Chapter10_example5.sce b/1985/CH10/EX10.5/Chapter10_example5.sce new file mode 100755 index 000000000..15d505a6e --- /dev/null +++ b/1985/CH10/EX10.5/Chapter10_example5.sce @@ -0,0 +1,20 @@ +clc +clear +//Input data +n=30//Efficiency of the reactor in percent +Ef=200//Energy released per fission in MeV +E=200//Energy needed to the city in MW +e=1.6*10^-19//Charge of electron in Coulumb +A=6.023*10^23//Avagadros number +a=235//U235 + +//Calculations +E1=E*10^6//Energy required to the city in J/s +E2=E1*24*60*60//Energy required to the city for one day in J +I=(E2/n)*100//Useful input in J +Ef2=(Ef*10^6*e)//Energy released per fission in J +n=(I/Ef2)//Number of nucei required to produce 'I' J of energy +m=((a*n)/(A*1000))//Mass of 'n' atoms of U235 in kg + +//Output +printf('The amount of fuel required for one day operation of he reactor is %3.4f kg',m) diff --git a/1985/CH10/EX10.6/Chapter10_example6.sce b/1985/CH10/EX10.6/Chapter10_example6.sce new file mode 100755 index 000000000..3e56d7197 --- /dev/null +++ b/1985/CH10/EX10.6/Chapter10_example6.sce @@ -0,0 +1,22 @@ +clc +clear +//Input data +mH=2.01478//Mass of Hydrogen (1H2) in a.m.u +mHe=4.00388//Mass of Helium (He4) in a.m.u +n=20//Efficiency in percent +O=10000//Output of the reactor in kW +e=1.6*10^-19//Charge of electron in Coulumb +A=6.023*10^23//Avagadros number + +//Calculations +md=(2*mH-mHe)//Mass defect in a.m.u +E=(md*931.48)//Energy released in MeV +O1=(O*1000)//Output of the reactor in J/s +E1=(O1*24*60*60)//Energy released by the reactor in one day in J +I=(E1/n)*100//Useful input in J +N=(I*2/(E*10^6*e))//Number of deuterons required to release an energy of 'I' J +m=((2*N)/A)//Mass of 'N' atoms of 1H2 in gm + +//Output +printf('The reactor consumes %3.3f*10^-3 kg of deuteron in one day',m) + diff --git a/1985/CH10/EX10.7/Chapter10_example7.sce b/1985/CH10/EX10.7/Chapter10_example7.sce new file mode 100755 index 000000000..e849b0f8a --- /dev/null +++ b/1985/CH10/EX10.7/Chapter10_example7.sce @@ -0,0 +1,25 @@ +clc +clear +//Input data +mH1=1.007825//Mass of 1H1 in a.m.u +mH2=2.014102//Mass of 1H2 in a.m.u +mHe3=3.01603//Mass of 2He3 in a.m.u +mHe4=4.002603//Mass of 2He4 in a.m.u + +//Calculations +//For Eq.(i) +md1=(2*mH1)-mH2//Mass defect in a.m.u. Mass defect in the textbook is wrong since 2*1.007825 is taken as 2.014650 instead of 2.015650 +E1=md1*931.48//Energy released in MeV + +//For Eq.(ii) +md2=(mH1+mH2)-mHe3//Mass defect in a.m.u +E2=md2*931.48//Energy released in MeV + +//For Eq.(iii) +md3=(2*mHe3-mHe4-2*mH1)//Mass defect in a.m.u. Mass defect in the textbook is wrong since 2*1.007825 is taken as 2.014650 instead of 2.015650 +E3=md3*931.48//Energy released in MeV + +E=(E1+E2+E3)//Total energy released in the above reactions in MeV + +//Output +printf('Total energy released in the above reactions is %3.4f MeV',E) diff --git a/1985/CH11/EX11.1/Chapter11_Example1.sce b/1985/CH11/EX11.1/Chapter11_Example1.sce new file mode 100755 index 000000000..16909c80e --- /dev/null +++ b/1985/CH11/EX11.1/Chapter11_Example1.sce @@ -0,0 +1,14 @@ +clc +clear +//Input data +h=6.625*10^-34//Plancks constant in J.s +e=(1.6*10^-19)//Charge of the electron in C +c=(3*10^8)//Velocity of light in m/s +V=(10*10^3)//Potential difference applied in V + +//Calculations +lmin=(12400/V)//The wavelength of X-rays emitted in angstroms +v=(c/(lmin*10^-10))/10^18//Frequency of the X-ray beam emitted in Hz*10^18 + +//Output +printf('The shortest wavelength of X-rays produced by an X-ray tube is %3.2f angstroms \n The frequency of the X-ray beam emitted is %3.3f*10^18 Hz',lmin,v) diff --git a/1985/CH11/EX11.2/Chapter11_Example2.sce b/1985/CH11/EX11.2/Chapter11_Example2.sce new file mode 100755 index 000000000..fe6640f99 --- /dev/null +++ b/1985/CH11/EX11.2/Chapter11_Example2.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +V=10*1000//Potential difference applied in V +I=2*10^-3//Current in A +e=(1.6*10^-19)//Charge of the electron in C +m=9.1*10^-31//Mass of the electron in kg + +//Calculations +n=(I/e)/10^16//Number of electrons striking the target per second *10^16 +v=sqrt((2*e*V)/m)/10^7//Velocity of the electron in m/s*10^7 +lmin=12400/V//Wavelength of the X-rays in angstroms + +//Output +printf('Number of electrons striking the target per second is %3.2f*10^16 \n Velocity of the electron is %3.2f*10^7 m/s \n Wavelength of the X-rays is %3.2f angstroms',n,v,lmin) diff --git a/1985/CH11/EX11.3/Chapter11_Example3.sce b/1985/CH11/EX11.3/Chapter11_Example3.sce new file mode 100755 index 000000000..7812a093c --- /dev/null +++ b/1985/CH11/EX11.3/Chapter11_Example3.sce @@ -0,0 +1,17 @@ + +clc +clear +//Input data +d=5.6534*10^-10//Interplanar spacing in m +q1=13.666//Glacing angle in degrees +n1=1//Order of diffraction +n2=2//Order of diffraction + +//Calculations +l=((2*d*sind(q1))/n1)/10^-10//Wavelength in m*10^-10 +q2=asind((n2*l*10^-10)/(2*d))//Angle for the second order in degrees +qzx=(q2-(int(q2)))*60//For output +qzy=(qzx-(int(qzx)))*60//For output + +//Output +printf('(a) The wavelength of the X-rays is %3.3f*10^-10 m \n (b) The angle for the second order Bragg reflection is %3.0f degrees %3.0f minutes %3.2f seconds',l,q2,qzx,qzy) diff --git a/1985/CH11/EX11.4/Chapter11_Example4.sce b/1985/CH11/EX11.4/Chapter11_Example4.sce new file mode 100755 index 000000000..23477624e --- /dev/null +++ b/1985/CH11/EX11.4/Chapter11_Example4.sce @@ -0,0 +1,18 @@ + +clc +clear +//Input data +V=24800//Potential difference applied in V +n=1//Order of diffraction +l=1.54*10^-10//Wavelength of X-ray beam in m +q=15.8//Glancing angle in degrees + +//Calculations +d=((n*l)/(2*sind(q)))/10^-10//Interplanar spacing in m +lmin=12400/V//Minimum wavelength of X-rays emitted in angstroms +q=asind((n*lmin*10^-10)/(2*d*10^-10))//Glancing angle for minimum wavelength in degrees +qx=(q-int(q))*60//For output +qy=(qx-int(qx))*60//For output + +//Output +printf('The grating spaing for NaCl crystal is %3.3f angstroms \n Glancing angle for minimum wavelength is %3.0f degrees %3.0f minutes %3.0f seconds',d,q,qx,qy) diff --git a/1985/CH11/EX11.5/Chapter11_Example5.sce b/1985/CH11/EX11.5/Chapter11_Example5.sce new file mode 100755 index 000000000..3aa00f638 --- /dev/null +++ b/1985/CH11/EX11.5/Chapter11_Example5.sce @@ -0,0 +1,12 @@ +clc +clear +//Input data +l=0.7078//Wavelength of X-rays in m +ZMo=42//Atomic number of molybdenum +ZCd=48//Atomic number of cadmium + +//Calculations +lCd=(l)*((ZMo-1)^2/(ZCd-1)^2)//Wavelength of Cadmium radiation in angstroms + +//Output +printf('The wavelength of cadmium radiation is %3.4f angstroms',lCd) diff --git a/1985/CH11/EX11.6/Chapter11_Example6.sce b/1985/CH11/EX11.6/Chapter11_Example6.sce new file mode 100755 index 000000000..45b8fa949 --- /dev/null +++ b/1985/CH11/EX11.6/Chapter11_Example6.sce @@ -0,0 +1,14 @@ +clc +clear +//Input data +q=60//Angle of scattering in degrees +l=1.24//Wavelength of X-rays in angstroms +m=9.1*10^-31//Mass of the electron in kg +h=6.625*10^-34//Plancks constant in J.s +c=(3*10^8)//Velocity of light in m/s + +//Calculations +dl=((h*(1-cosd(q)))/(m*c))/10^-10//The Compton angle in degrees + +//Output +printf('The Compton shift is %3.3f angstroms',dl) diff --git a/1985/CH11/EX11.7/Chapter11_Example7.sce b/1985/CH11/EX11.7/Chapter11_Example7.sce new file mode 100755 index 000000000..87b96217b --- /dev/null +++ b/1985/CH11/EX11.7/Chapter11_Example7.sce @@ -0,0 +1,16 @@ +clc +clear +//Input data +l=0.112*10^-9//Wavelength of X-rays in m +q=90//Angle of scattering in degrees +m=9.1*10^-31//Mass of the electron in kg +h=6.625*10^-34//Plancks constant in J.s +c=(3*10^8)//Velocity of light in m/s + +//Calculations +dl=((h*(1-cosd(q)))/(m*c))/10^-10//The Compton angle in degrees +l1=(dl+(l/10^-10))//Wavelength of the X-rays scattered at an agle of 90 degrees in angstroms +dE=((h*c*((1/l)-(1/(l1*10^-10)))))/10^-17//The energy of the recoiling electron in J*10^-17 + +//Output +printf('(a) Wavelength of the X-rays scattered at an agle of 90 degrees with respect to the original direction is %3.3f angstroms \n (b) The energy of the scattering electron after the collision is %3.2f*10^-17 J',l1,dE) diff --git a/1985/CH12/EX12.1/Chapter12_example1.sce b/1985/CH12/EX12.1/Chapter12_example1.sce new file mode 100755 index 000000000..315857a35 --- /dev/null +++ b/1985/CH12/EX12.1/Chapter12_example1.sce @@ -0,0 +1,13 @@ +clc +clear +//Input data +E=10//Energy of the photon in eV +h=6.625*10^-34//Plancks constant in J.s +c=3*10^8//Velocity of light in m/s +e=1.6*10^-19//Charge of electron in Columbs + +//Calculations +l=((h*c)/(E*e))/10^-10//Wavelength of the photon in angstroms + +//Output +printf('The wavelength of the photon is %3.0f angstroms',l) diff --git a/1985/CH12/EX12.10/Chapter12_example10.sce b/1985/CH12/EX12.10/Chapter12_example10.sce new file mode 100755 index 000000000..a77bd7b41 --- /dev/null +++ b/1985/CH12/EX12.10/Chapter12_example10.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +W=2.4//Work function in eV +l=6000*10^-10//Wavelength of the light in m +h=6.625*10^-34//Plancks constant in J.s +c=3*10^8//Velocity of light in m/s +e=1.6*10^-19//Charge of electron in Columbs + +//Calculations +vo=((W*e)/h)/10^14//Threshold frequency in Hz*10^14 +v=(c/l)/10^14//Frequency of incident light in Hz*10^14 + +//Output +printf('Threshold frequency is %3.3f*10^14 Hz and Frequency of incident light is %i*10^14 Hz \n Since v>N1 should exist.\n Therefore, there is no amplification possibility. \n But, subsequent development in maintaining population inversion by pumping the atoms from lower level to higher level optically or electronically led to the discovery of lasers.',N) diff --git a/1985/CH5/EX5.6/chapter5_Example6.sce b/1985/CH5/EX5.6/chapter5_Example6.sce new file mode 100755 index 000000000..6a48dff86 --- /dev/null +++ b/1985/CH5/EX5.6/chapter5_Example6.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +l=632.8*10^-9//Wavelength of the laser beam in m +P=2.3*10^-3//Power output in W +c=(3*10^8)//Velocity of light in m/s +h=6.625*10^-34//Plancks constant in J.s + +//Calculations +f=(c/l)//Frequency of the photon emitted by the laser beam in Hz +E=h*f//Energy of a photon in J +n=((P*60)/E)/10^17//The number of photons emitted *10^17 + +//Output +printf('The number of photons emitted is %3.4f*10^17 photons/minute',n) diff --git a/1985/CH5/EX5.7/chapter5_Example7.sce b/1985/CH5/EX5.7/chapter5_Example7.sce new file mode 100755 index 000000000..a7dc5bdeb --- /dev/null +++ b/1985/CH5/EX5.7/chapter5_Example7.sce @@ -0,0 +1,18 @@ +clc +clear +//Input data +NA=0.16//Numerical aperture of the fibre +n1=1.45//Refractive index of the core +d=(90*10^-6)//Diameter of the core in m +l=0.9*10^-6//Wavelength in m + +//Calculations +n2=sqrt(n1^2-NA^2)//Refractive index of the cladding +q=asind(NA)//Acceptance angle in degrees +qx=(q-int(q))*60//For output +qy=(qx-int(qx))*60//For output +N=(4.9*((d*NA)/l)^2)//Number of modes propagating through the fibre +n=(int(N)/2)//The number of modes propagating through graded fibre + +//Output +printf('Refractive index of the cladding is %3.3f \n Acceptance angle of the fibre is %3.0f degrees %3.0f minutes %3.2f seconds \n Number of modes propagating through the fibre is %3.1f \n The number of modes propagating through graded fibre is %3.0f',n2,q,qx,qy,N,n) diff --git a/1985/CH5/EX5.8/chapter5_Example8.sce b/1985/CH5/EX5.8/chapter5_Example8.sce new file mode 100755 index 000000000..7e737ee22 --- /dev/null +++ b/1985/CH5/EX5.8/chapter5_Example8.sce @@ -0,0 +1,14 @@ +clc +clear +//Input data +l=1*10^-6//Wavelength of light used in m +n1=1.45//Refractive index of the core +n2=1.448//Refractive index of the cladding +d=6*10^-6//Diamter of the core in m + +//Calculations +NA=sqrt(n1^2-n2^2)//Numerical aperture +N=4.9*(d*NA/l)^2//Number of modes propagating through the fibre + +//Output +printf('The number of modes that can be allowed through the fibre is %i. \n It is a single-mode fibre',N) diff --git a/1985/CH6/EX6.1/Chapter6_Example1.sce b/1985/CH6/EX6.1/Chapter6_Example1.sce new file mode 100755 index 000000000..a7f1a2704 --- /dev/null +++ b/1985/CH6/EX6.1/Chapter6_Example1.sce @@ -0,0 +1,13 @@ +clc +clear +//Input data +f=1.5//Focal length of an achromatic combination of two lenses in contact in m +dp=[0.018,0.027]//Dispersive power of the materials of the lenses + +//Calculations +f12=(dp(1)/dp(2))//Ratio of dispersive powers +f1=(1-(1/f))*f//Focal length of the first lens in m +f2=(f1/-f12)//Focal length of the second lens in m + +//Output +printf('Focal length of the first lens is %3.1f m (convex lens) \n Focal length of the second lens is %3.2f m (concave lens)',f1,f2) diff --git a/1985/CH6/EX6.2/Chapter6_Example2.sce b/1985/CH6/EX6.2/Chapter6_Example2.sce new file mode 100755 index 000000000..7da6ce6e5 --- /dev/null +++ b/1985/CH6/EX6.2/Chapter6_Example2.sce @@ -0,0 +1,13 @@ +clc +clear +//Input data +r=[0.1,0.4]//Radii of curvature in m +u=[1.5230,1.5145]//Refractive indices of the lens for violet and red light respectively + +//Calculations +fr=1/((u(2)-1)*((1/r(1))-(1/r(2))))//Focal length of the lens for red light in m +fv=1/((u(1)-1)*((1/r(1))-(1/r(2))))//Focal length of the lens for violet light in m +f=fr-fv//Longitudinal chromatic aberration in m + +//Output +printf('Longitudinal chromatic aberration for an object at infinity is %3.4f m',f) diff --git a/1985/CH6/EX6.3/Chapter6_Example3.sce b/1985/CH6/EX6.3/Chapter6_Example3.sce new file mode 100755 index 000000000..a4ef72ac8 --- /dev/null +++ b/1985/CH6/EX6.3/Chapter6_Example3.sce @@ -0,0 +1,12 @@ +clc +clear +//Input data +C=[1.5145,1.5170,1.5230]//Refractive index of the crown glass for C,D and F line respectively +F=[1.6444,1.6520,1.6637]//Refractive index of the flint glass for C,D and F line respectively + +//Calculations +w1=(C(3)-C(1))/(C(2)-1)//Dispersive power of the first lens +w2=(F(3)-F(1))/(F(2)-1)//Dispersive power of the second lens + +//Output +printf('The dispersive power for crown glass is %3.4f \n The dispersive power for the flint glass is %3.5f',w1,w2) diff --git a/1985/CH6/EX6.4/Chapter6_Example4.sce b/1985/CH6/EX6.4/Chapter6_Example4.sce new file mode 100755 index 000000000..f371ea879 --- /dev/null +++ b/1985/CH6/EX6.4/Chapter6_Example4.sce @@ -0,0 +1,13 @@ +clc +clear +//Input data +t1=30//Exposure time in s +d1=5.6//Lens aperture +d2=8//Lens aperture + +//Calculations +f=1/2//The squares of the f-number are in the ratio 1:2 +t2=(1/f)*t1//Exposure time in s + +//Output +printf('The time of exposure is %3.0f s when the print is made with a lens aperture of %i',t2,d2) diff --git a/1985/CH7/EX7.1/Chapter7_Example1.sce b/1985/CH7/EX7.1/Chapter7_Example1.sce new file mode 100755 index 000000000..7eed6ce27 --- /dev/null +++ b/1985/CH7/EX7.1/Chapter7_Example1.sce @@ -0,0 +1,10 @@ +clc +clear +//Input data +I=0.1//Intensity of sound produced by thunder in W/m^2 + +//Calculations +b=10*log10(I/10^-12)//Relative intensity in dB + +//Output +printf('The intensity level is %3.0f dB',b) diff --git a/1985/CH7/EX7.10/Chapter7_Example10.sce b/1985/CH7/EX7.10/Chapter7_Example10.sce new file mode 100755 index 000000000..ed404c86e --- /dev/null +++ b/1985/CH7/EX7.10/Chapter7_Example10.sce @@ -0,0 +1,10 @@ +clc +clear +//Input data +I2=100//Sound intensity in W/m^2 + +//Calculations +b=10*log10(I2/10^-12)//Relative intensity in dB + +//Output +printf('The intensity level of the jet plane is %3.0f dB',b) diff --git a/1985/CH7/EX7.2/Chapter7_Example2.sce b/1985/CH7/EX7.2/Chapter7_Example2.sce new file mode 100755 index 000000000..26b8a54f6 --- /dev/null +++ b/1985/CH7/EX7.2/Chapter7_Example2.sce @@ -0,0 +1,10 @@ +clc +clear +//Input data +I=(10^-4)//Intensity of sound in the street in W/m^2 + +//Calculations +b=10*log10(I/10^-12)//Relative intensity in dB + +//Output +printf('The relative sound intensity is %3.0f dB',b) diff --git a/1985/CH7/EX7.3/Chapter7_Example3.sce b/1985/CH7/EX7.3/Chapter7_Example3.sce new file mode 100755 index 000000000..c5fcb95a8 --- /dev/null +++ b/1985/CH7/EX7.3/Chapter7_Example3.sce @@ -0,0 +1,10 @@ +clc +clear +//Input data +I=2//Sound intensity is doubled or Intensity ratio + +//Calculations +b=10*log10(I)//Relative intensity in dB + +//Output +printf('Increase in the acoustic intensity level is %3.2f dB',b) diff --git a/1985/CH7/EX7.4/Chapter7_Example4.sce b/1985/CH7/EX7.4/Chapter7_Example4.sce new file mode 100755 index 000000000..1919bd29d --- /dev/null +++ b/1985/CH7/EX7.4/Chapter7_Example4.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +P=3.14//Power radiated in W +r=10//Distance (radius) in m +I=[100,1,10^-12]//Reference intensities in W/m^2 + +//Calculations +Is=P/(4*3.14*r^2)//Intensity of sound in W/m^2 +b1=10*log10(Is/I(1))//Relative intensity in dB +b2=10*log10(Is/I(2))//Relative intensity in dB +b3=10*log10(Is/I(3))//Relative intensity in dB + +//Output +printf('The intensity level of a sound with reference to \n (i) %i W/m^2 = %3.4f dB \n (ii) %i W/m^2 = %3.4f dB \n (iii) 10^-12 W/m^2 = %3.3f dB',I(1),b1,I(2),b2,b3) diff --git a/1985/CH7/EX7.5/Chapter7_Example5.sce b/1985/CH7/EX7.5/Chapter7_Example5.sce new file mode 100755 index 000000000..e3583ec13 --- /dev/null +++ b/1985/CH7/EX7.5/Chapter7_Example5.sce @@ -0,0 +1,12 @@ +clc +clear +//Input data +P=1.5//The acoustic power produced by the loudspeaker in J/s +r=20//Distance in m + +//Calculations +I=(P/(4*3.14*r^2))//Intensity of the sound produced by the loudspeaker in W/m^2 +b=10*log10(I/10^-12)//Intensity level in dB + +//Output +printf('The intensity level at a distance of %i m is %3.1f dB',r,b) diff --git a/1985/CH7/EX7.6/Chapter7_Example6.sce b/1985/CH7/EX7.6/Chapter7_Example6.sce new file mode 100755 index 000000000..96ec9f51a --- /dev/null +++ b/1985/CH7/EX7.6/Chapter7_Example6.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +b1=80//Intensity levelof the sound produced by the electric generator in dB +b2=70//Intensity level of the room in dB + +//Calculations +I2=10^(b1/10)*10^-12//Intensity of the sound produced by the electric generator in W/m^2 +I4=10^(b2/10)*10^-12//Intensity of the sound existing in the room in W/m^2 +I=I2+I4//Total sound intensity when the generator is operating in W/m^2 +b=10*log10(I/10^-12)//Relative intensity in dB + +//Output +printf('The resultant intensity level of the sound is %3.3f dB',b) + diff --git a/1985/CH7/EX7.7/Chapter7_Example7.sce b/1985/CH7/EX7.7/Chapter7_Example7.sce new file mode 100755 index 000000000..93ea60a61 --- /dev/null +++ b/1985/CH7/EX7.7/Chapter7_Example7.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +v=1500//Volume of hall in m^3 +A1=100//Absorption of the sound by the hall in m^2 O.W.U or sabines +A2=100//Absorption of the sound by the audience in m^2 O.W.U or sabines + +//Calculations +A=A1+A2//Total absorption of sound in sabines +t1=(0.16*v)/A1//Reverberation time of the hall when the room is empty in s +t2=(0.16*v)/A//Reverberation time of the hall when the room is filled with audience in s +t=t1-t2//Change in reverberation time in s + +//Output +printf('When the hall is filled with audience, the reverberation time is reduced to %3.1f s',t) diff --git a/1985/CH7/EX7.8/Chapter7_Example8.sce b/1985/CH7/EX7.8/Chapter7_Example8.sce new file mode 100755 index 000000000..4a96182a0 --- /dev/null +++ b/1985/CH7/EX7.8/Chapter7_Example8.sce @@ -0,0 +1,12 @@ +clc +clear +//Input data +v=1000//Volume of the hall in m^3 +T=2//Reverberation time in s +s=350//Area of the sound absorbing surface in m^2 + +//Calculations +a=(0.16*v)/(T*s)//The average absorption coefficient + +//Output +printf('The average absorption coefficient of the room is %3.4f',a) diff --git a/1985/CH7/EX7.9/Chapter7_Example9.sce b/1985/CH7/EX7.9/Chapter7_Example9.sce new file mode 100755 index 000000000..05e944fa1 --- /dev/null +++ b/1985/CH7/EX7.9/Chapter7_Example9.sce @@ -0,0 +1,16 @@ +clc +clear +//Input data +v=2400//Volume of the hall in m^3 +s=600//Seating capacity of the hall +a=[500,600,500,20,400,200]//Area or number for plaster ceiling, plaster walls, wood floor, wood doors, seats cushion, seats cane in m^2 for arae +c=[0.02,0.03,0.06,0.06,0.01,0.01]//Coefficient of absorption for plaster ceiling, plaster walls, wood floor, wood doors, seats cushion, seats cane sabine/ chair +am=0.45//Absorption of each member of the audience in sabine +//Calculations +T1=a(1)*c(1)+a(2)*c(2)+a(3)*c(3)+a(4)*c(4)+a(5)*c(5)+a(6)*c(6)//Total absorption when the hall is empty in sabine +t1=(0.16*v)/T1//Reverberation time in s +T2=a(1)*c(1)+a(2)*c(2)+a(3)*c(3)+a(4)*c(4)+a(5)*am+a(6)*am//Total absorption when the hall is occupied with audience +t2=(0.16*v)/T2//Reverberation time in s + +//Output +printf('The reverberation time of the hall \n (i) when it is empty = %3.3f s \n (ii) when filled with audience = %3.2f s',t1,t2) diff --git a/1985/CH8/EX8.1/Chapter8_Example1.sce b/1985/CH8/EX8.1/Chapter8_Example1.sce new file mode 100755 index 000000000..92ad9d967 --- /dev/null +++ b/1985/CH8/EX8.1/Chapter8_Example1.sce @@ -0,0 +1,11 @@ +clc +clear +t=(1*10^-3)//Thickness of the crystal in m +d=2650//Density of quartz in kg/m^3 +Y=(7.9*10^10)//Youngs modulus of quartz in N/m^2 + +//Calculations +f=((1/(2*t))*sqrt(Y/d))/10^6//Fundamental frequency of the quartz crystal in Hz *10^6 + +//Output +printf('Fundamental frequency of the quartz crystal is %3.3f *10^6 Hz',f) diff --git a/1985/CH8/EX8.2/Chapter8_Example2.sce b/1985/CH8/EX8.2/Chapter8_Example2.sce new file mode 100755 index 000000000..fc926c6a0 --- /dev/null +++ b/1985/CH8/EX8.2/Chapter8_Example2.sce @@ -0,0 +1,13 @@ +clc +clear +//Input data +t=0.005//Length of the crystal in m +Y=(7.9*10^10)//Youngs modulus in N/m^2 +d=2650//Density in kgm^3 + +//Calculations +f1=((1/(2*t))*sqrt(Y/d))/10^5//Fundamental vibration in Hz *10^5 +f2=2*f1/10//Frequency of first overcome in Hz *10^6 + +//Output +printf('The frequency of the fundamental note is %3.2f *10^5 Hz \n The first overtone emitted by a piezoelectric crystal is %3.3f *10^6 Hz',f1,f2) diff --git a/1985/CH8/EX8.3/Chapter8_Example3.sce b/1985/CH8/EX8.3/Chapter8_Example3.sce new file mode 100755 index 000000000..2e4183a06 --- /dev/null +++ b/1985/CH8/EX8.3/Chapter8_Example3.sce @@ -0,0 +1,11 @@ +clc +clear +//Input data +v=5000//Velocity of sound in steel in m/s +f=(50*10^3)//Difference between two adjacent frequencies in Hz + +//Calculations +d=(v/(2*f))//Thickness of the plate in m + +//Output +printf('The thickness of the steel plate is %3.2f m',d) diff --git a/1985/CH8/EX8.4/Chapter8_Example4.sce b/1985/CH8/EX8.4/Chapter8_Example4.sce new file mode 100755 index 000000000..b00571725 --- /dev/null +++ b/1985/CH8/EX8.4/Chapter8_Example4.sce @@ -0,0 +1,14 @@ +clc +clear +//Input data +//f=(2.87*10^3)/t The fundamental frequency in terms of thickness +x=(2.87*10^3)//x value from function +d=2660//Density in kg/m^3 +f=1200//Frequency of vibration in kHz + +//Calculations +Y=(2*2*x^2*d)/10^10//Youngs modulus in N/m^2*10^10 +t=((1/(2*f*1000))*sqrt((Y*10^10)/d))/10^-3//Thickness in m*10^-3 + +//Output +printf('Youngs modulus of the quartz crystal is %3.2f *10^10 N/m^2 \n The thickness of the crystal is %3.2f *10^-3 m',Y,t) diff --git a/1985/CH9/EX9.1/Chapter9_Example1.sce b/1985/CH9/EX9.1/Chapter9_Example1.sce new file mode 100755 index 000000000..54eb0fad1 --- /dev/null +++ b/1985/CH9/EX9.1/Chapter9_Example1.sce @@ -0,0 +1,13 @@ +clc +clear +//Input data +V=150//Potential difference in V +h=(6.625*10^-34)//Plancks constant in Js +m=(9.1*10^-31)//Mass of the electron in kg +e=(1.6*10^-19)//Charge of the electron in coloumbs + +//Calculations +l=(h/sqrt(2*m*e*V))/10^-10//de Broglie wavelength of the electron in m*10^-10 + +//Output +printf('The de Broglie wavelength of an electron is %3.4f *10^-10 m',l) diff --git a/1985/CH9/EX9.2/Chapter9_Example2.sce b/1985/CH9/EX9.2/Chapter9_Example2.sce new file mode 100755 index 000000000..a3ee6736f --- /dev/null +++ b/1985/CH9/EX9.2/Chapter9_Example2.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +E=0.025//Energy of the electron in MeV +e=(1.6*10^-19)//Charge of the electron in coloumbs +h=(6.625*10^-34)//Plancks constant in Js +m=(9.1*10^-31)//Mass of the electron in kg + +//Calculations +E1=E*e*10^6//Energy of the electron in J +v=sqrt((2*E1)/m)//Velocity of the electron in m/s +l=(h/(m*v))/10^-10//de Broglie wavelength in angstroms + +//Output +printf('The de Broglie wavelength is %3.4f angstroms',l) diff --git a/1985/CH9/EX9.3/Chapter9_Example3.sce b/1985/CH9/EX9.3/Chapter9_Example3.sce new file mode 100755 index 000000000..2d8836655 --- /dev/null +++ b/1985/CH9/EX9.3/Chapter9_Example3.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +E=1//Energy of the electron in MeV +e=(1.6*10^-19)//Charge of the electron in coloumbs +h=(6.625*10^-34)//Plancks constant in Js +m=(9.1*10^-31)//Mass of the electron in kg + +//Calculations +E1=E*e*10^6//Energy of the electron in J +v=sqrt((2*E1)/m)//Velocity of the electron in m/s +l=(h/(m*v))/10^-10//de Broglie wavelength in angstroms + +//Output +printf('The de Broglie wavelength is %3.5f angstroms',l) diff --git a/1985/CH9/EX9.4/Chapter9_Example4.sce b/1985/CH9/EX9.4/Chapter9_Example4.sce new file mode 100755 index 000000000..a6c20ab45 --- /dev/null +++ b/1985/CH9/EX9.4/Chapter9_Example4.sce @@ -0,0 +1,18 @@ +clc +clear +//Input data +V=100//Potential difference in V +e=(1.6*10^-19)//Charge of the electron in coloumbs +h=(6.625*10^-34)//Plancks constant in Js +m=(9.1*10^-31)//Mass of the electron in kg +c=(3*10^8)//Velocity of light in m/s + +//Calculations +v=sqrt((2*e*V)/m)/10^6//Velocity of the electron in m/s*10^6 +u=(c^2/(v*10^6))/10^10//Phase velocity of the electron in m/s *10^10 +l=(h/(m*(v*10^6)))/10^-10//de Broglie wavelength in angstroms +p=(m*(v*10^6))/10^-24//Momemtum of the electron in kg.m/s *10^-24 +V1=(1/(l*10^-10))/10^9//Wave number of the electron wave in m^-1 + +//Output +printf('(i) Velocity of the electron is %3.5f*10^6 m/s \n (ii) Phase velocity of the electron is %3.4f*10^10 m/s \n (iii) de Broglie wavelength is %3.5f angstroms \n (iv) Momemtum of the electron is %3.6f *10^-24 kg.m/s \n (v) Wave number of the electron wave is %3.6f *10^9 m^-1',v,u,l,p,V1) diff --git a/1985/CH9/EX9.5/Chapter9_Example5.sce b/1985/CH9/EX9.5/Chapter9_Example5.sce new file mode 100755 index 000000000..a8092c344 --- /dev/null +++ b/1985/CH9/EX9.5/Chapter9_Example5.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +r=10^-14//Radius of the nucleus in m +m=(1.67*10^-27)//Mass of the proton in kg +h=(6.625*10^-34)//Plancks constant in Js + +//Calculations +x=6.24150934*10^12//1 Joule in MeV +dp=(h/(2*3.14*r))/10^-20//The uncertainity in the momentum of the proton in kg m/s *10^-20 +ke=((dp*10^-20)^2/(2*m))*x//Minimum kinetic energy of the proton in MeV + +//Output +printf('The uncertainity in the momentum of the proton is %3.3f*10^-20 kg m/s \n Minimum kinetic energy of the proton is %3.3f MeV',dp,ke) + diff --git a/1985/CH9/EX9.6/Chapter9_Example6.sce b/1985/CH9/EX9.6/Chapter9_Example6.sce new file mode 100755 index 000000000..f69c78ccb --- /dev/null +++ b/1985/CH9/EX9.6/Chapter9_Example6.sce @@ -0,0 +1,11 @@ +clc +clear +//Input data +dx=(0.1*10^-10)//The uncertainity in the position of the electron in m +h=(6.625*10^-34)//Plancks constant in Js + +//Calculations +dp=(h/(2*3.14*dx))/10^-23//The uncertainity in the momentum of the electron located in kg m/s*10^-23 + +//Output +printf('The uncertainity in the momentum of the electron located is %3.3f*10^-23 kg m/s',dp) diff --git a/1985/CH9/EX9.7/Chapter9_Example7.sce b/1985/CH9/EX9.7/Chapter9_Example7.sce new file mode 100755 index 000000000..fa4e9bbad --- /dev/null +++ b/1985/CH9/EX9.7/Chapter9_Example7.sce @@ -0,0 +1,15 @@ +clc +clear +//Input data +a=(1*10^-10)//Width of the potential well in m +m=(9.1*10^-31)//Mass of the electron in kg +h=(6.625*10^-34)//Plancks constant in Js + +//Calculations +x=6.24150934*10^18//1 Joule in eV +E1=((h^2*1^2)/(8*m*a^2))*x//The energy of the first excited state in eV +E2=((h^2*2^2)/(8*m*a^2))*x//The energy of the second excited state in eV +E3=((h^2*3^2)/(8*m*a^2))*x//The energy of the third excited state in eV + +//Output +printf('The energy of the first excited state is %3.3f eV \n The energy of the second excited state is %3.3f eV \n The energy of the third excited state is %3.3f eV',E1,E2,E3) -- cgit