summaryrefslogtreecommitdiff
path: root/3480/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3480/CH6/EX6.2/Ex6_2.sce')
-rw-r--r--3480/CH6/EX6.2/Ex6_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3480/CH6/EX6.2/Ex6_2.sce b/3480/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..21788b28d
--- /dev/null
+++ b/3480/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,11 @@
+//Example 6.2, page 126
+clc
+k=1/.5
+v=1/.2
+v1=-4-5
+p=-2*k
+s1=-(1/v1)
+m=-(5/v1)
+printf("The power is %f D", p)
+printf("\n The position of image is formed at %f m",s1)
+printf("\n The magnification of image is %f cm",m) \ No newline at end of file