From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 2459/CH9/EX9.8/Ex9_8.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 2459/CH9/EX9.8/Ex9_8.sce (limited to '2459/CH9/EX9.8/Ex9_8.sce') diff --git a/2459/CH9/EX9.8/Ex9_8.sce b/2459/CH9/EX9.8/Ex9_8.sce new file mode 100644 index 000000000..3567f74b6 --- /dev/null +++ b/2459/CH9/EX9.8/Ex9_8.sce @@ -0,0 +1,15 @@ +//chapter9 +//example9.8 +//page148 + +V=15 // V +R=0.5 // kilo ohm +V_D=0.7 // V + +// both diodes are forward biased + +I1=(V-V_D)/R +I_D1=I1/2 +I_D2=I_D1 + +printf("current through diode D1 = %.3f mA and diode D2 = %.3f mA \n",I_D1,I_D2) -- cgit