summaryrefslogtreecommitdiff
path: root/3769/CH20/EX20.3/Ex20_3.sce
blob: 42e009f952de085c71042cc31666c58c30c8045c (plain)
1
2
3
4
5
6
7
8
9
10
11
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)