summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.20/Ex17_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH17/EX17.20/Ex17_20.sce')
-rw-r--r--3769/CH17/EX17.20/Ex17_20.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3769/CH17/EX17.20/Ex17_20.sce b/3769/CH17/EX17.20/Ex17_20.sce
new file mode 100644
index 000000000..eac11100b
--- /dev/null
+++ b/3769/CH17/EX17.20/Ex17_20.sce
@@ -0,0 +1,16 @@
+clear
+//Given
+u1=1
+u2=1.5
+v=100 //cm
+R=20.0 //cm
+a=3
+b=200.0
+
+//Calculation
+u1=(u2-u1)/R
+u2=-1/(u1-(a/b))
+d=-u2+R
+
+//Result
+printf("\n The object distance from the centre of curvature is %0.3f cm", d)