#Given
E=2.5*10**5 #lm/m**2
r=1.5*10**11 #m
#Calculation
import math
l=E*r**2
a=4*math.pi*l
#Result
print"(i) Luminous intensity is", l,"cd"
print"(ii) Luminous flux of the sun is",round(a*10**-28,3)*10**28,"lm"
#Given
I2=150
I1=75.0
E1=20
#Calculation
E2=(I2*E1)/I1
#Result
print"Illumination is", E2,"lux"
#Given
I=35
e=5.0 #lumen/watt
#Calculation
import math
a=4*math.pi*I
P=a/e
#Result
print"Power of the lamp is", round(P,0),"Watt"
#Given
a=1260
r=8 #m
a1=6
#Calculation
import math
I=a/(4.0*math.pi)
Ea=I/r**2
LB=math.sqrt(r**2+a1**2)
cos=r/LB
Eb=(I*cos)/LB**2
#Result
print"(i) The illumination at a point immediately below the lamp is", round(Ea,2),"lux"
print"(ii) The illumination on the working plane is",round(Eb,1),"lux"
#Given
r=6.0 #m
I=250 #cd
PQ=8
#Calculation
Ep=I/r**2
LQ=math.sqrt(r**2+PQ**2)
cos=r/LQ
EQ=(I*cos)/LQ**2
#Result
print"(i) Illumination at a point P is", round(Ep,2),"lux"
print"(ii) illumination at a point Q is",EQ,"lux"
#Given
t1=2.5 #second
r1=0.5
r2=1
#Calculation
t2=(t1*r2**2)/r1**2
#Result
print"exposure time is",t2,"s"
#Given
i2=60
r2=105.0
r1=70
#Calculation
i1=(i2*r1**2)/r2**2
#Result
print"The luminous intensity of the first lamp is",round(i1,2),"cd"
#Given
ra=60
rb=45.0
a=40.0
#Calculation
ia1=(ra**2)/(rb**2)
ia=(ra**2)/(a**2)
i=ia-ia1
A=(i*100)/ia
#Result
print"percentage of light is absorbed by the glass is",round(A,0),"%"