summaryrefslogtreecommitdiff
path: root/3480/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3480/CH4/EX4.2/Ex4_2.sce')
-rw-r--r--3480/CH4/EX4.2/Ex4_2.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3480/CH4/EX4.2/Ex4_2.sce b/3480/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..e4af8e0a4
--- /dev/null
+++ b/3480/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,7 @@
+//example 4.2, page 86
+clc
+s=12//in cm
+f=-6//in cm
+s1=(s*f)/(s-f)
+m=s1/s
+printf("\n The magnification obtained is %fX",m) \ No newline at end of file