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 /1514/CH2/EX2.8 | |
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 '1514/CH2/EX2.8')
-rwxr-xr-x | 1514/CH2/EX2.8/ch2_2_8.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/1514/CH2/EX2.8/ch2_2_8.sce b/1514/CH2/EX2.8/ch2_2_8.sce new file mode 100755 index 000000000..871d0db67 --- /dev/null +++ b/1514/CH2/EX2.8/ch2_2_8.sce @@ -0,0 +1,22 @@ +//chapter 2
+//example 2.8
+//page 52
+clear;
+clc ;
+//given
+T1=25;//degreeC
+T2=65;//degreeC
+deltaT=T2-T1;
+P1=700;//max power dissipationin mw
+DF=5;//derating factor in mW/degree celcius
+VF=0.7;//forward voltage drop across diode
+
+//maximum forward current at 25 degreeC
+If1=P1/VF*10^-3;
+
+//maximum forward current at 65 degreeC
+P2=P1-(deltaT*DF);//mW
+If2=P2/VF;
+
+printf('maximum forward current at 25 degreeC=%d A\n',If1);
+printf(' maximum forward current at 65 degreeC=%d mA',If2);
|