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 /2231/CH1/EX1.26 | |
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 '2231/CH1/EX1.26')
-rwxr-xr-x | 2231/CH1/EX1.26/Ex_1_26.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2231/CH1/EX1.26/Ex_1_26.sce b/2231/CH1/EX1.26/Ex_1_26.sce new file mode 100755 index 000000000..abbb127e7 --- /dev/null +++ b/2231/CH1/EX1.26/Ex_1_26.sce @@ -0,0 +1,18 @@ +//Example 1_26
+clc;
+clear;close;
+
+//Given data:
+Tj=125;//degreeC
+Ts=80;//degreeC
+theta_jc=0.7;//degree C/W
+theta_cs=0.4;//degree C/W
+//part (a)
+Pav1=(Tj-Ts)/(theta_jc+theta_cs);//W
+disp(Pav1,"(a) Average power loss in W")
+//part (b)
+Ts=50;//degreeC
+Pav2=(Tj-Ts)/(theta_jc+theta_cs);//W
+disp(Pav2,"(b) Permisible average power loss in W")
+rating_increase=(sqrt(Pav2)-sqrt(Pav1))/sqrt(Pav1)*100;//%
+disp(rating_increase,"Percentage increase in rating")
|