summaryrefslogtreecommitdiff
path: root/3769/CH16/EX16.3/Ex16_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH16/EX16.3/Ex16_3.sce')
-rw-r--r--3769/CH16/EX16.3/Ex16_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3769/CH16/EX16.3/Ex16_3.sce b/3769/CH16/EX16.3/Ex16_3.sce
new file mode 100644
index 000000000..2d431b2b6
--- /dev/null
+++ b/3769/CH16/EX16.3/Ex16_3.sce
@@ -0,0 +1,11 @@
+clear
+//Given
+u=-10.0 //cm
+f=-15.0
+
+//Calculation
+v=1/((1/f)-(1/u))
+m=-v/u
+
+//Result
+printf("\n (i) Image position is %0.3f cm", v)