summaryrefslogtreecommitdiff
path: root/401/CH6/EX6.7/Example6_7.sce
blob: b099e98254c0ca0e404e2fdcfba85ab5b1b2be15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//Example 6.7
//Program to compare the ratio of threshold current densities at 20 C 
//and 80 C for AlGaAs and InGaAsP
  
clear;
clc ;
close ;

//Given data 
T1=293;               //degree C
T2=352;               //degree C

//For AlGaAs
T0=170;               //degree C
Jth_20=exp(T1/T0);
Jth_80=exp(T2/T0);
Ratio=Jth_80/Jth_20;

//Displaying the Result in Command Window
printf("\n\n\t Ratio of current densities for AlGaAs is %0.2f .",Ratio);

//For InGaAsP
T0=55;               //degree C
Jth_20=exp(T1/T0);
Jth_80=exp(T2/T0);
Ratio=Jth_80/Jth_20;

//Displaying the Result in Command Window
printf("\n\n\t Ratio of current densities for InGaAsP is %0.2f .",Ratio);