summaryrefslogtreecommitdiff
path: root/3769/CH19/EX19.6/Ex19_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH19/EX19.6/Ex19_6.sce')
-rw-r--r--3769/CH19/EX19.6/Ex19_6.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH19/EX19.6/Ex19_6.sce b/3769/CH19/EX19.6/Ex19_6.sce
new file mode 100644
index 000000000..f43a29f24
--- /dev/null
+++ b/3769/CH19/EX19.6/Ex19_6.sce
@@ -0,0 +1,13 @@
+clear
+//Given
+P=-0.8 //d
+v1=-15.0 //cm
+v2=-100.0 //cm
+
+//Calculation
+f=100/P
+u1=1/((1/v1)-1/f)
+u2=1/((1/v2)-(1/f))
+
+//Result
+printf("\n The person can see objects lying between %0.0f cm and %0.3f cm",-u1,-u2)