summaryrefslogtreecommitdiff
path: root/2192/CH10/EX10.4/10_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2192/CH10/EX10.4/10_4.sce')
-rwxr-xr-x2192/CH10/EX10.4/10_4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2192/CH10/EX10.4/10_4.sce b/2192/CH10/EX10.4/10_4.sce
new file mode 100755
index 000000000..c2f3af2fd
--- /dev/null
+++ b/2192/CH10/EX10.4/10_4.sce
@@ -0,0 +1,14 @@
+clc,clear
+printf('Example 10.4\n\n')
+
+I = 500 //intensity_of_lamp
+d=sqrt(4^2 + 3^2 )
+
+//part(i) : Illumination below the lamp
+E_1=I/d^2 //as cos(theta) is 1
+printf('(i)Illumination below the lamp= %.0f lux',E_1)
+
+//part(ii) : Illumination 3m away from vertical axis
+theta=acos(4/5)
+E_2= I*cos(theta)/d^2
+printf('\n(ii)Illumination 3m away from vertical axis= %.0f lux',E_2)