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 /2825/CH3/EX3.8/Ex3_8.sce | |
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 '2825/CH3/EX3.8/Ex3_8.sce')
-rwxr-xr-x | 2825/CH3/EX3.8/Ex3_8.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/2825/CH3/EX3.8/Ex3_8.sce b/2825/CH3/EX3.8/Ex3_8.sce new file mode 100755 index 000000000..0e7eb7e10 --- /dev/null +++ b/2825/CH3/EX3.8/Ex3_8.sce @@ -0,0 +1,28 @@ +//Ex3_8 Pg-185
+clc
+disp("Forward current I is given by ")
+disp(" I=I0*exp(V/(n*Vt))-1")
+
+I_22=poly(0,"I_22")
+V=0.3 //voltage
+n=1 //constant
+T1=22+273 //temperature T1 in Kelvin
+Vt1=T1/11600
+I=I_22*(exp(V/0.025)-1)
+disp("When temperature rises to 72 degree celcius, then")
+
+T2=72+273 //temperature T2 in Kelvin
+Vt2=T2/11600
+TR=T2-T1 //temperature rise
+I_72=poly(0,"I_72")
+I_72=I_22*(2)^(TR/10)
+
+I_hash=I_72*(exp(V/(Vt2))-1)
+for_cur_rises=I_hash/I
+disp("Thus, at 72 degree celcius Forward current rises by ")
+disp(for_cur_rises)
+cur_I=768849.72
+cur_I_hash=162753.79
+FCR=cur_I/cur_I_hash
+printf("\n = %.2f",FCR)
+ //answer in the book is wrong
|