summaryrefslogtreecommitdiff
path: root/3507/CH15/EX15.12/Ex15_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH15/EX15.12/Ex15_12.sce')
-rw-r--r--3507/CH15/EX15.12/Ex15_12.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3507/CH15/EX15.12/Ex15_12.sce b/3507/CH15/EX15.12/Ex15_12.sce
new file mode 100644
index 000000000..61157998e
--- /dev/null
+++ b/3507/CH15/EX15.12/Ex15_12.sce
@@ -0,0 +1,18 @@
+//chapter15
+//example15.12
+//page334
+
+T_Jmax=200 // degree celcius
+T_amb1=25 // degree celcius
+T_amb2=75 // degree celcius
+theta=20 // degree celcius per watt
+Vcc=4 // V
+
+P_total1=(T_Jmax-T_amb1)/theta
+Ic1=P_total1/Vcc
+
+P_total2=(T_Jmax-T_amb2)/theta
+Ic2=P_total2/Vcc
+
+printf("for ambient = 25 degree C, allowed collector current = %.3f A \n",Ic1)
+printf("for ambient = 75 degree C, allowed collector current = %.3f A \n",Ic2)