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 --- 2129/CH3/EX3.10.13/ex3_10_13.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 2129/CH3/EX3.10.13/ex3_10_13.sce (limited to '2129/CH3/EX3.10.13/ex3_10_13.sce') diff --git a/2129/CH3/EX3.10.13/ex3_10_13.sce b/2129/CH3/EX3.10.13/ex3_10_13.sce new file mode 100755 index 000000000..9d357237c --- /dev/null +++ b/2129/CH3/EX3.10.13/ex3_10_13.sce @@ -0,0 +1,19 @@ +// Exa 3.10.13 +clc; +clear; +close; +// Given data +V_D = 10;// in V +// V_S = i*R_L + V_D +V_S = V_D;// in V (i * R_L = 0) +disp(V_S,"when diode is OFF, the voltage in volts is : "); +R_L = 250;// in ohm +I = V_S/R_L;// in A +disp(I*10^3,"when diode is ON, the current in mA is"); +V_D= 0:0.1:10;// in V +I= (V_S-V_D)/R_L*1000;// in mA +plot(V_D,I) +xlabel("V_D in volts"); +ylabel("Current in mA") +title("DC load line"); +disp("DC load line shown in figure") -- cgit