blob: 4b7c46e8155020c52bd7953a970a270c7b0ee228 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Given
E=2.5*10**5 //lm/m**2
r=1.5*10**11 //m
//Calculation
//
l=E*r**2
a=4*%pi*l
//Result
printf("\n (i) Luminous intensity is %0.3f cd", l)
printf("\n (ii) Luminous flux of the sun is %0.3f *10**28 lm",a*10**-28)
|