summaryrefslogtreecommitdiff
path: root/3769/CH20/EX20.7/Ex20_7.sce
blob: 364d3158f467c38c0104b5797acc1ad3983f9349 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
i2=60
r2=105.0
r1=70

//Calculation
i1=(i2*r1**2)/r2**2

//Result
printf("\n The luminous intensity of the first lamp is %0.2f  cd",i1)