summaryrefslogtreecommitdiff
path: root/3754/CH15/EX15.1/15_1.sce
blob: 8235e22db1bce6701d818176ad8aec3444e8bf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear//

//Variables

PDmax = 500                            //Maximum Power dissipation at 25 degree Celsius (in milli-watt)
DF = 2.28                              //derating factor (in milli-watt per degree Celsius)
T = 70                                 //Temperaure (in degree Celsius)

//Calculation

PDmax70 = PDmax - DF * (T - 25)        //Maximum Power dissipation at 70 degree Celsius (in milli-watt)

//Result

printf("\n Maximum power dissipation at 70 degree Celsius is  %0.0f  mW."  ,PDmax70)