summaryrefslogtreecommitdiff
path: root/2459/CH15/EX15.7/Ex15_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH15/EX15.7/Ex15_7.sce')
-rw-r--r--2459/CH15/EX15.7/Ex15_7.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2459/CH15/EX15.7/Ex15_7.sce b/2459/CH15/EX15.7/Ex15_7.sce
new file mode 100644
index 000000000..b6cf6b970
--- /dev/null
+++ b/2459/CH15/EX15.7/Ex15_7.sce
@@ -0,0 +1,15 @@
+//chapter15
+//example15.7
+//page329
+
+Vcc=5 // V
+Ic=50d-3 // ampere
+
+Pac_max=Vcc*Ic/2
+Pdc=Vcc*Ic
+Pdis=Pac_max*2
+eta=(Pac_max/Pdc)*100
+
+printf("maximum power output= %.3f mW \n",Pac_max*1000)
+printf("power dissipation = %.3f mW \n",Pdis*1000)
+printf("maximum collector efficiency = %.3f percent \n",eta)