summaryrefslogtreecommitdiff
path: root/3710/CH5/EX5.6/Ex5_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3710/CH5/EX5.6/Ex5_6.sce')
-rw-r--r--3710/CH5/EX5.6/Ex5_6.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3710/CH5/EX5.6/Ex5_6.sce b/3710/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..c8e68adeb
--- /dev/null
+++ b/3710/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,11 @@
+//Example 5.6, Page Number 225
+//Efficiency of He-Ne Laser
+clc;
+i=1*(10**-2) //Current in Ampere
+V=2500 //in volts
+P=5*(10**-3) //Optical Output in Watt
+
+E=P/(i*V) //E is the overall Power Efficiency
+E=E*100
+mprintf("The Overall Power Efficiency is %0.2f percent ",E);
+