summaryrefslogtreecommitdiff
path: root/3769/CH20/EX20.3/Ex20_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH20/EX20.3/Ex20_3.sce')
-rw-r--r--3769/CH20/EX20.3/Ex20_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH20/EX20.3/Ex20_3.sce b/3769/CH20/EX20.3/Ex20_3.sce
new file mode 100644
index 000000000..42e009f95
--- /dev/null
+++ b/3769/CH20/EX20.3/Ex20_3.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+I=35
+e=5.0 //lumen/watt
+
+//Calculation
+//
+a=4*%pi*I
+P=a/e
+
+//Result
+printf("\n Power of the lamp is %0.0f Watt",P)