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 /2198/CH2/EX2.7.1 | |
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 '2198/CH2/EX2.7.1')
-rwxr-xr-x | 2198/CH2/EX2.7.1/Ex2_7_1.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2198/CH2/EX2.7.1/Ex2_7_1.sce b/2198/CH2/EX2.7.1/Ex2_7_1.sce new file mode 100755 index 000000000..ba3bca495 --- /dev/null +++ b/2198/CH2/EX2.7.1/Ex2_7_1.sce @@ -0,0 +1,13 @@ +//Ex 2.7.1
+clc;clear;close;
+format('v',6);
+
+//Given :
+Vgamma=0.6;//volt
+rf=12;//ohm
+V=5;//volts
+R=1;//kohm
+IF=(V-Vgamma)/(R*1000+rf);//A
+disp(IF*1000,"Diode current in mA :");
+VF=Vgamma+IF*rf;//volts
+disp(VF,"Diode voltage in volts :");
|