summaryrefslogtreecommitdiff
path: root/2231/CH1/EX1.26/Ex_1_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '2231/CH1/EX1.26/Ex_1_26.sce')
-rwxr-xr-x2231/CH1/EX1.26/Ex_1_26.sce18
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")