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 --- 2342/CH7/EX7.1/EX7_1.sce | 12 ++++++++++++ 2342/CH7/EX7.2/EX7_2.sce | 33 +++++++++++++++++++++++++++++++++ 2342/CH7/EX7.3/EX7_3.sce | 19 +++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100755 2342/CH7/EX7.1/EX7_1.sce create mode 100755 2342/CH7/EX7.2/EX7_2.sce create mode 100755 2342/CH7/EX7.3/EX7_3.sce (limited to '2342/CH7') diff --git a/2342/CH7/EX7.1/EX7_1.sce b/2342/CH7/EX7.1/EX7_1.sce new file mode 100755 index 000000000..2474bb503 --- /dev/null +++ b/2342/CH7/EX7.1/EX7_1.sce @@ -0,0 +1,12 @@ +// Exa 7.1 +format('v',6) +clc; +clear; +close; +// Given data +O_V = 5;// output voltage in V +V_D = 1.5;//voltage drop in V +R = (O_V - V_D)/O_V; +R = R * 10^3;// in ohm +disp(R,"The resistance value in Ω is"); +disp("As this is not standard value, use R=680 Ω which is a standard value") diff --git a/2342/CH7/EX7.2/EX7_2.sce b/2342/CH7/EX7.2/EX7_2.sce new file mode 100755 index 000000000..07ea8d371 --- /dev/null +++ b/2342/CH7/EX7.2/EX7_2.sce @@ -0,0 +1,33 @@ +// Exa 7.2 +format('v',6) +clc; +clear; +close; +// Given data +N_A = 7.5*10^24;// in atoms/m^3 +N_D = 1.5*10^22;// in atoms/m^3 +D_e = 25*10^-4;// in m^2/s +D_h = 1*10^-3;// in m^2/s +Torque_eo = 500;// in ns +Torque_ho = 100;// in ns +n_i = 1.5*10^16;// in /m^3 +e = 1.6*10^-19;// in C +P_C = 12.5;// in mA/cm^2 +// Electron diffusion length +L_e = sqrt(D_e*Torque_ho*10^-9);// in m +L_e = L_e * 10^6;// in µm +// hole diffusion length +L_h = sqrt(D_h*Torque_ho*10^-9);// in m +L_h = L_h * 10^6;// in µm +// The value of J_s can be calculated as, +J_s = e*((n_i)^2)*( (D_e/(L_e*10^-6*N_A)) + (D_h/(L_h*10^-6*N_D)) );// in A/m^2 +J_s = J_s * 10^3;// in A/cm^2 +V_T = 26;// in mV +I_lembda = 12.5*10^-3; +I_s = 2.4*10^-4; +// Open circuit voltage +V_OC = V_T*log( 1+(I_lembda/J_s) );// in mV +V_OC = V_OC * 10^-3;// in V +disp(V_OC,"Open circuit voltage in V is"); + +// Note: There is calculation error to evaluate the value of VOC since 26*10^-3*log(1+12.5*10^-3/2.4*10^-4) calculated as 0.10318 not 0.522 V diff --git a/2342/CH7/EX7.3/EX7_3.sce b/2342/CH7/EX7.3/EX7_3.sce new file mode 100755 index 000000000..256dd5100 --- /dev/null +++ b/2342/CH7/EX7.3/EX7_3.sce @@ -0,0 +1,19 @@ +// Exa 7.3 +format('v',6) +clc; +clear; +close; +// Given data +Phi_o = 1*10^21;// in m^-2s^-1 +Alpha = 1*10^5;// in m^-1 +W = 25;// in µm +W =W * 10^-6;// in m +e = 1.6*10^-19;// in C +// At the front edge of intrinsic region, the generation rate of EHP +G_L1 = Alpha*Phi_o;// in m^-3s^-1 +// At the back edge of intrinsic region, the generation rate of EHP +G_L2 = Alpha*Phi_o*%e^( (-Alpha*W) );// in m^-3s^-1 +// Photo current density, +J_L = e*Phi_o*(1-%e^(-Alpha*W));// in A/m^2 +J_L = J_L * 10^-1;// in mA/cm^2 +disp(J_L,"Photo current density in mA/cm^2 is"); -- cgit