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 --- 1301/CH18/EX18.1/ex18_1.sce | 5 +++++ 1301/CH18/EX18.10/ex18_10.sce | 6 ++++++ 1301/CH18/EX18.11/ex18_11.sce | 10 ++++++++++ 1301/CH18/EX18.13/ex18_13.sce | 9 +++++++++ 1301/CH18/EX18.14/ex18_14.sce | 8 ++++++++ 1301/CH18/EX18.2/ex18_2.sce | 9 +++++++++ 1301/CH18/EX18.3/ex18_3.sce | 6 ++++++ 1301/CH18/EX18.4/ex18_4.sce | 8 ++++++++ 1301/CH18/EX18.5/ex18_5.sce | 9 +++++++++ 1301/CH18/EX18.6/ex18_6.sce | 7 +++++++ 1301/CH18/EX18.7/ex18_7.sce | 9 +++++++++ 1301/CH18/EX18.8/ex18_8.sce | 6 ++++++ 1301/CH18/EX18.9/ex18_9.sce | 9 +++++++++ 13 files changed, 101 insertions(+) create mode 100755 1301/CH18/EX18.1/ex18_1.sce create mode 100755 1301/CH18/EX18.10/ex18_10.sce create mode 100755 1301/CH18/EX18.11/ex18_11.sce create mode 100755 1301/CH18/EX18.13/ex18_13.sce create mode 100755 1301/CH18/EX18.14/ex18_14.sce create mode 100755 1301/CH18/EX18.2/ex18_2.sce create mode 100755 1301/CH18/EX18.3/ex18_3.sce create mode 100755 1301/CH18/EX18.4/ex18_4.sce create mode 100755 1301/CH18/EX18.5/ex18_5.sce create mode 100755 1301/CH18/EX18.6/ex18_6.sce create mode 100755 1301/CH18/EX18.7/ex18_7.sce create mode 100755 1301/CH18/EX18.8/ex18_8.sce create mode 100755 1301/CH18/EX18.9/ex18_9.sce (limited to '1301/CH18') diff --git a/1301/CH18/EX18.1/ex18_1.sce b/1301/CH18/EX18.1/ex18_1.sce new file mode 100755 index 000000000..ad92840b4 --- /dev/null +++ b/1301/CH18/EX18.1/ex18_1.sce @@ -0,0 +1,5 @@ +clc; +f=5*10^14; //frequency in Hz (given) +h=6.63*10^-34; //planck's constant in J.sec +E=h*f; //calculating energy +disp(3*E,"Total Energy in Joule = "); //displaying reuslt \ No newline at end of file diff --git a/1301/CH18/EX18.10/ex18_10.sce b/1301/CH18/EX18.10/ex18_10.sce new file mode 100755 index 000000000..28edfa816 --- /dev/null +++ b/1301/CH18/EX18.10/ex18_10.sce @@ -0,0 +1,6 @@ +clc; +m=10^3; //mass in kg +v=20; //velocity in m/sec +h=6.63*10^-34; //planck's constant in J.sec +l=h/(m*v); //calculating energy +disp(l,"Wavelength in m = "); //displaying reuslt diff --git a/1301/CH18/EX18.11/ex18_11.sce b/1301/CH18/EX18.11/ex18_11.sce new file mode 100755 index 000000000..8c5d9fbe6 --- /dev/null +++ b/1301/CH18/EX18.11/ex18_11.sce @@ -0,0 +1,10 @@ +clc; +e=1.6*10^-19; //charge +ke=1.5*10^4; //kinetic energy in eV +KE=ke*e; //calculating kinetic energy +m=9.1*10^-31; //mass in kg +disp(KE,"Kinetic Energy in Joule = "); //displaying result +v=sqrt((2*KE)/m); //calculating velocity +disp(v,"Velocity in m/sec = "); //displaying result +l=h/(m*v); //calculating wavelength +disp(l,"Wavelength in metre = "); h=6.63*10^-34; //planck's constant in J.sec \ No newline at end of file diff --git a/1301/CH18/EX18.13/ex18_13.sce b/1301/CH18/EX18.13/ex18_13.sce new file mode 100755 index 000000000..3f2936ee2 --- /dev/null +++ b/1301/CH18/EX18.13/ex18_13.sce @@ -0,0 +1,9 @@ +clc; +h=6.63*10^-34; //planck's constant in J.sec +delx=10^-9; //in m +m=9.1*10^-31; //mass in kg +u=h/(2*%pi*delx); //uncertainty principle +disp(u,"Uncertainty in electrons momentum in kg.m/sec"); //displaying result +delv=u/m; //uncertainty principle +disp(delv,"Uncertainty in electrons velocity in m/sec"); //displaying result +disp(u*1,"Uncertainty in electrons position in m"); //displaying result \ No newline at end of file diff --git a/1301/CH18/EX18.14/ex18_14.sce b/1301/CH18/EX18.14/ex18_14.sce new file mode 100755 index 000000000..09111eceb --- /dev/null +++ b/1301/CH18/EX18.14/ex18_14.sce @@ -0,0 +1,8 @@ +clc; +h=6.63*10^-34; //planck's constant in J.sec +delx=10^-10; //in m +m=9.1*10^-31; //mass in kg +u=h/(2*%pi*delx); //uncertainty principle +disp(u,"Uncertainty in electrons momentum in kg.m/sec = "); //displaying result +KE=(1/(2*m))*(u*u); //uncertainty principle +disp(KE,"Uncertainty in electrons kinetic energy in Joule = "); //displaying result \ No newline at end of file diff --git a/1301/CH18/EX18.2/ex18_2.sce b/1301/CH18/EX18.2/ex18_2.sce new file mode 100755 index 000000000..0a75396e5 --- /dev/null +++ b/1301/CH18/EX18.2/ex18_2.sce @@ -0,0 +1,9 @@ +clc; +c=3*10^8; //velocity in m/sec +l=5.5*10^-7; //wavelength in m +f=c/l; //calculating frequency +disp(f,"Frequency in Hz = "); //displaying reuslt +h=6.63*10^-34; //planck's constant in J.sec +E=h*f; //calculating energy +disp(E,"Energy in Joule = "); //displaying reuslt +disp((100/E),"No. of photons emitted per second = "); //displaying result \ No newline at end of file diff --git a/1301/CH18/EX18.3/ex18_3.sce b/1301/CH18/EX18.3/ex18_3.sce new file mode 100755 index 000000000..c3314e244 --- /dev/null +++ b/1301/CH18/EX18.3/ex18_3.sce @@ -0,0 +1,6 @@ +clc; +m=9.1*10^-31; //mass of electron in kg +v=10^7; //velocity in m/sec +KE=(1/2)*m*v*v; //calculating kinetic energy in Joule +disp(KE,"Kinetic energy in Joule = "); //displaying result +disp(KE/(1.6*10^-19),"Kinetic energy in eV = "); //displaying result \ No newline at end of file diff --git a/1301/CH18/EX18.4/ex18_4.sce b/1301/CH18/EX18.4/ex18_4.sce new file mode 100755 index 000000000..b7162feb7 --- /dev/null +++ b/1301/CH18/EX18.4/ex18_4.sce @@ -0,0 +1,8 @@ +clc; +e=1.6*10^-19; //charge +ke=200; //kinetic energy in eV +KE=ke*e; //calculating kinetic energy +m=1.67*10^-27; //mass in kg +disp(KE,"Kinetic Energy in Joule = "); //displaying result +v=sqrt((2*KE)/m); //calculating velocity +disp(v,"Velocity in m/sec = "); //displaying result \ No newline at end of file diff --git a/1301/CH18/EX18.5/ex18_5.sce b/1301/CH18/EX18.5/ex18_5.sce new file mode 100755 index 000000000..54d131ad8 --- /dev/null +++ b/1301/CH18/EX18.5/ex18_5.sce @@ -0,0 +1,9 @@ +clc; +e=1.6*10^-19; //charge +c=3*10^8; //velocity in m/sec +ke=106*10^6; //kinetic energy in eV +KE=ke*e; //calculating kinetic energy +disp(KE,"Kinetic Energy in Joule = "); //displaying result +m=KE/(c*c); //Einstein's equation +disp(m,"Mass in kg = "); //displaying result +disp(m/(9.1*10^-31),"Times electron mass = "); //displaying result \ No newline at end of file diff --git a/1301/CH18/EX18.6/ex18_6.sce b/1301/CH18/EX18.6/ex18_6.sce new file mode 100755 index 000000000..15b5d5f2e --- /dev/null +++ b/1301/CH18/EX18.6/ex18_6.sce @@ -0,0 +1,7 @@ +clc; +e=1.6*10^-19; //charge +c=3*10^8; //velocity in m/sec +KE=1.6*10^-19; //change in energy +m=KE/(c*c); //Einstein's equation +disp(m,"Mass in kg = "); //displaying result +disp(m/(3*10^-26),"Times mass of H20 molecule = "); //displaying result \ No newline at end of file diff --git a/1301/CH18/EX18.7/ex18_7.sce b/1301/CH18/EX18.7/ex18_7.sce new file mode 100755 index 000000000..49df62331 --- /dev/null +++ b/1301/CH18/EX18.7/ex18_7.sce @@ -0,0 +1,9 @@ +clc; +c=3*10^8; //velocity in m/sec +l=5*10^-7; //wavelength in m +f=c/l; //calculating frequency +disp(f,"Frequency in Hz = "); //displaying reuslt +h=6.63*10^-34; //planck's constant in J.sec +E=h*f; //calculating energy +disp(E,"Energy in Joule = "); //displaying reuslt +disp(E/(1.6*10^-19),"(a)Max. energy of photons that emerge = "); //displaying result diff --git a/1301/CH18/EX18.8/ex18_8.sce b/1301/CH18/EX18.8/ex18_8.sce new file mode 100755 index 000000000..e495b2d1b --- /dev/null +++ b/1301/CH18/EX18.8/ex18_8.sce @@ -0,0 +1,6 @@ +clc; +h=6.63*10^-34; //planck's constant in J.sec +e=1.6*10^-19; //in Coloumb +V=10^4; //potential difference in Volt +f=(e*V)/h; //calculating frequency +disp(f,"Frequency in Hz = "); //displaying reuslt diff --git a/1301/CH18/EX18.9/ex18_9.sce b/1301/CH18/EX18.9/ex18_9.sce new file mode 100755 index 000000000..67c19d8a8 --- /dev/null +++ b/1301/CH18/EX18.9/ex18_9.sce @@ -0,0 +1,9 @@ +clc; +c=3*10^8; //velocity in m/sec +l=2*10^-11; //wavelength in m +f=c/l; //calculating frequency +e=1.6*10^-19; //in Coloumb +disp(f,"Frequency in Hz = "); //displaying reuslt +h=6.63*10^-34; //planck's constant in J.sec +V=(h*f)/e; //calculating energy +disp(V,"operating Voltage in Volt = "); //displaying reuslt -- cgit