summaryrefslogtreecommitdiff
path: root/3802/CH15/EX15.1/Ex15_1.sce
blob: 6e67f060ab11dbf3385d8502647fae3867834b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014

//Ex15_1.sce

clc;
clear;
W=100;
V=250;
light_flux=3000;
printf("\n(a)")
mew=light_flux/W;
printf("\n Lamp efficiency=%d Lumens/watt \n",mew)

printf("\n(b)")
total_solid_angle=(4*%pi);
I=light_flux/total_solid_angle;
printf("\n Luminous intensity=%3.2f cd \n",I)

printf("\n(c)")
M.S.C.P=I/W;
printf("\n Mean Spherical Candle Power per watt=%1.4f cd/watt \n",M.S.C.P)