summaryrefslogtreecommitdiff
path: root/1739/CH7/EX7.5/Exa7_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1739/CH7/EX7.5/Exa7_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1739/CH7/EX7.5/Exa7_5.sce')
-rwxr-xr-x1739/CH7/EX7.5/Exa7_5.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1739/CH7/EX7.5/Exa7_5.sce b/1739/CH7/EX7.5/Exa7_5.sce
new file mode 100755
index 000000000..af71efa5a
--- /dev/null
+++ b/1739/CH7/EX7.5/Exa7_5.sce
@@ -0,0 +1,16 @@
+//Exa 7.5
+clc;
+clear;
+close;
+//Given data :
+format('v',4)
+To=150;//in kelvin
+T1=20;//in degree C
+T1=T1+273;//in kelvin
+T2=70;//in degree C
+T2=T2+273;//in kelvin
+//Formula ; Jth=exp(T/To)
+Jth20=exp(T1/To);
+Jth70=exp(T2/To)
+ratio=Jth70/Jth20;//unitless
+disp(ratio,"Ratio of current densities for AlGaAs injection laser : "); \ No newline at end of file