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 --- 1085/CH16/EX16.1/ex16_1.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 1085/CH16/EX16.1/ex16_1.sce (limited to '1085/CH16') diff --git a/1085/CH16/EX16.1/ex16_1.sce b/1085/CH16/EX16.1/ex16_1.sce new file mode 100755 index 000000000..e1e0ab1ff --- /dev/null +++ b/1085/CH16/EX16.1/ex16_1.sce @@ -0,0 +1,14 @@ +//Exam:16.1 +clc; +clear; +close; +T_c=4.2;//critical temperature of mercury +k=1.4*10^(-23);// +E_g=3*k*T_c;//energy gap (in Joule) +e=1.6*10^(-19);//charge on the electron +E=E_g/e;//energy gap (in electron volt) +h=6.6*10^(-34)// in J-s +c=3*10^8;//in m/s +wavelength=h*c/E_g;//wavelength of a photon (in m) +disp(E,'energy gap (in electron volt)='); +disp(wavelength,'wavelength of a photon (in m)='); \ No newline at end of file -- cgit