summaryrefslogtreecommitdiff
path: root/3769/CH16/EX16.4/Ex16_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH16/EX16.4/Ex16_4.sce')
-rw-r--r--3769/CH16/EX16.4/Ex16_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH16/EX16.4/Ex16_4.sce b/3769/CH16/EX16.4/Ex16_4.sce
new file mode 100644
index 000000000..550e98e68
--- /dev/null
+++ b/3769/CH16/EX16.4/Ex16_4.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+f=12.0
+v=4.0
+
+//Calculation
+u=1/((1/f)-(1/v))
+m=-v/u
+
+//Result
+printf("\n (i) Object position is %0.3f cm", u)
+printf("\n (ii) Magnification is %0.2f ",m)