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 --- 2288/CH3/EX3.21.21/ex3_21_21.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 2288/CH3/EX3.21.21/ex3_21_21.sce (limited to '2288/CH3/EX3.21.21/ex3_21_21.sce') diff --git a/2288/CH3/EX3.21.21/ex3_21_21.sce b/2288/CH3/EX3.21.21/ex3_21_21.sce new file mode 100755 index 000000000..7d8b52f04 --- /dev/null +++ b/2288/CH3/EX3.21.21/ex3_21_21.sce @@ -0,0 +1,18 @@ +// Exa 3.21.21 +clc; +clear; +close; +// Given data +D_n = 25;// in cm^2/sec +q = 1.6 * 10^-19;// in C +y2 = 10^14;// in /cm^3 +y1 = 0;// in /cm^3 +x2 = 0;//in µm +x1 = 0.5;// in µm +x1 = x1 * 10^-4;// in cm +dnBYdx = abs((y2-y1)/(x2-x1));// in /cm^4 +J_n = q * D_n * (dnBYdx);// in /cm^4 +J_n = J_n * 10^-1;// in A/cm^2 +disp(J_n,"The collector current density in A/cm^2 is"); + +// Note: In the book, the calculated value of dn by dx (2*10^19) is wrong. Correct value is 2*10^18 so the answer in the book is wrong. -- cgit