summaryrefslogtreecommitdiff
path: root/3648/CH22/EX22.6/Ex22_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH22/EX22.6/Ex22_6.sce')
-rw-r--r--3648/CH22/EX22.6/Ex22_6.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3648/CH22/EX22.6/Ex22_6.sce b/3648/CH22/EX22.6/Ex22_6.sce
new file mode 100644
index 000000000..963dca921
--- /dev/null
+++ b/3648/CH22/EX22.6/Ex22_6.sce
@@ -0,0 +1,9 @@
+//Example 22_6
+clc();
+clear;
+//To draw a ray diagram to locate the image
+printf("From the diagram we notice that eyes will assume that the three rays come from image position indicated and as we see the image is virtual, erect and enlarged")
+d1=10 //units in cm
+d2=5 //units in cm
+i=(d1*d2)/(d2-d1) //Units in cm
+printf("\nThe image is located at i=%.2f cm",i)