summaryrefslogtreecommitdiff
path: root/2075/CH5/EX5.10/pe5_10.sce
blob: 039e91510348bf4a0575059c3d5664c7083c653c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//example 5.10
clc; funcprot(0);
// Initialization of Variable
G=6.4;//A/V
I=5;//current
Pq=9.8;//W
Tj=140;
Ta=40;
//calculation
R=2/G;
disp(R,"resistance in ohm:")
printf('thus pick a .33ohm rsistance')
R=.33;
Im=I/3;
Vr=Im*R;
disp(Vr,"voltage in V:")
P=Vr*Im/4;
disp(P,"power in W:")
Qs=(Tj-Ta)/Pq-2.1;
disp(Qs,"thermal resistance in degreeC/W")
clear()