diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2288/CH4/EX4.16.13 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2288/CH4/EX4.16.13')
-rwxr-xr-x | 2288/CH4/EX4.16.13/ex4_16_13.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2288/CH4/EX4.16.13/ex4_16_13.sce b/2288/CH4/EX4.16.13/ex4_16_13.sce new file mode 100755 index 000000000..a5ad750a2 --- /dev/null +++ b/2288/CH4/EX4.16.13/ex4_16_13.sce @@ -0,0 +1,19 @@ +// Exa 4.16.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")
|