summaryrefslogtreecommitdiff
path: root/3636/CH11/EX11.4/Ex11_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH11/EX11.4/Ex11_4.sce')
-rw-r--r--3636/CH11/EX11.4/Ex11_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3636/CH11/EX11.4/Ex11_4.sce b/3636/CH11/EX11.4/Ex11_4.sce
new file mode 100644
index 000000000..99037e8a9
--- /dev/null
+++ b/3636/CH11/EX11.4/Ex11_4.sce
@@ -0,0 +1,15 @@
+clear;
+clc;
+TJ_max=150 //in C
+Tamb=27 //in C
+Rth_dp=1.7 //Thermal resistance in C/W
+Rth_pa=40 //in C/W
+Rth_ps=1 //in C/W
+Rth_sa=4 //in C/W
+
+//Calculation
+PD1_max=(TJ_max-Tamb)/(Rth_dp+Rth_pa)
+PD2_max=(TJ_max-Tamb)/(Rth_dp+Rth_sa+Rth_ps)
+
+mprintf("Case(a):No heat sink used :-Maximum power distribution= %1.2f W\n",PD1_max)
+mprintf("Case(b):Heaat sink used :- Maximum power distribution= %2.2f W",PD2_max)