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 /275/CH1/EX1.1.75 | |
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 '275/CH1/EX1.1.75')
-rwxr-xr-x | 275/CH1/EX1.1.75/Ch1_1_75.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/275/CH1/EX1.1.75/Ch1_1_75.sce b/275/CH1/EX1.1.75/Ch1_1_75.sce new file mode 100755 index 000000000..81407610e --- /dev/null +++ b/275/CH1/EX1.1.75/Ch1_1_75.sce @@ -0,0 +1,15 @@ +clc
+disp("Example 1.75")
+printf("\n")
+disp("Find the current through diode at 50c & 80c")
+T1=50
+T2=80
+D=3.2*10^-3
+Pd1=400*10^-3
+Vz=6.2
+//at 50c
+Izm1=Pd1/Vz
+//at 80c
+Pd2=Pd1-((T2-T1)*D)
+Izm2=Pd2/Vz
+printf("the current through diode at 50c & 80c=\n%f ampere\n%f ampere\n",Izm1,Izm2)
|