summaryrefslogtreecommitdiff
path: root/3769/CH16/EX16.6/Ex16_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH16/EX16.6/Ex16_6.sce')
-rw-r--r--3769/CH16/EX16.6/Ex16_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH16/EX16.6/Ex16_6.sce b/3769/CH16/EX16.6/Ex16_6.sce
new file mode 100644
index 000000000..7fe4979be
--- /dev/null
+++ b/3769/CH16/EX16.6/Ex16_6.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+R=20 //cm
+
+//Calculation
+f=R/2.0
+u=-f
+v=-u/2.0
+
+//Result
+printf("\n Position of the object is %0.3f cm",u)
+printf("\n Position of the image is %0.3f cm",v)