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 --- 2534/CH4/EX4.1/Ex4_1.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 2534/CH4/EX4.1/Ex4_1.sce (limited to '2534/CH4/EX4.1') diff --git a/2534/CH4/EX4.1/Ex4_1.sce b/2534/CH4/EX4.1/Ex4_1.sce new file mode 100755 index 000000000..d961a9151 --- /dev/null +++ b/2534/CH4/EX4.1/Ex4_1.sce @@ -0,0 +1,24 @@ +//Ex4_1 +clc +Irs = 0.2*10^-6 +Vf = 0.1 +VT = 26*10^-3 +eta = 1//for germanium +I = Irs*(exp(Vf/eta/VT)-1) +disp("Irs = "+string(Irs)+"A")//reverse saturation current +disp("Vf = "+string(Vf)+"V")//applied voltage +disp("VT = "+string(VT)+"V")//voltage at room temperature +disp("eta = "+string(eta)) +disp("I = Irs*(exp(Vf/eta/VT)-1)")//current at room temperature +disp("I = "+string(I)+"A") + +//current in silicon: +eta = 2//for silicon +disp("eta = "+string(eta)) +I = Irs*(exp(Vf/eta/VT)-1) +disp("I = "+string(I)+"A") + + + + +// note: incomplete solution in textbook for above question. -- cgit