summaryrefslogtreecommitdiff
path: root/3769/CH19/EX19.14/Ex19_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH19/EX19.14/Ex19_14.sce')
-rw-r--r--3769/CH19/EX19.14/Ex19_14.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3769/CH19/EX19.14/Ex19_14.sce b/3769/CH19/EX19.14/Ex19_14.sce
new file mode 100644
index 000000000..003b84bb6
--- /dev/null
+++ b/3769/CH19/EX19.14/Ex19_14.sce
@@ -0,0 +1,19 @@
+clear
+//Given
+f0=1.0
+u0=-1.1 //cm
+D=25
+fe=5.0
+ve=25.0
+
+//Calculation
+v0=1/((1/f0)+1/u0)
+d=v0+fe
+M=-(v0*D)/(u0*fe)
+ue=-1/((1/ve)+1/fe)
+D1=v0-ue
+M1=-(v0/u0)*(1+(D/fe))
+
+//Result
+printf("\n (i) Distance between the lenses when image is at infinity %0.3f cm", d)
+printf("\n (ii) Distance between the lenses when image is at distinct vision %0.2f cm",D1)