summaryrefslogtreecommitdiff
path: root/2288/CH3/EX3.21.17/ex3_21_17.sce
blob: f666e2c750ffecf8a401cb9bfe3a5d8046f65ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Exa 3.21.17
clc;
clear;
close;
// Given data
y2 = 6 * 10^16;// in /cm^3
y1 = 10^17;// in /cm^3
x2 = 2;// in µm
x1 = 0;// in µm
D_n = 35;// in cm^2/sec
q = 1.6 *10^-19;// in C
dnBYdx = (y2 - y1)/((x2-x1) * 10^-4);
J_n = q * D_n * dnBYdx;// in A/cm^2
disp(J_n,"The current density in silicon in A/cm^2 is");