summaryrefslogtreecommitdiff
path: root/3769/CH19/EX19.21/Ex19_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH19/EX19.21/Ex19_21.sce')
-rw-r--r--3769/CH19/EX19.21/Ex19_21.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3769/CH19/EX19.21/Ex19_21.sce b/3769/CH19/EX19.21/Ex19_21.sce
new file mode 100644
index 000000000..8b5ae5fcd
--- /dev/null
+++ b/3769/CH19/EX19.21/Ex19_21.sce
@@ -0,0 +1,17 @@
+clear
+//Given
+u0=-200.0 //cm
+fa=50.0 //cm
+ve=-25.0 //cm
+fe=5.0 //cm
+
+//Calculation
+v0=1/((1/fa)+1/u0)
+M0=v0/u0
+ue=1/((1/ve)-1/fe)
+Me=ve/ue
+D=v0-ue
+M=M0*Me
+
+//Result
+printf("\n (i) Saparation between the objective and eyepiece is %0.2f cm",D)