summaryrefslogtreecommitdiff
path: root/3648/CH22/EX22.7/Ex22_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH22/EX22.7/Ex22_7.sce')
-rw-r--r--3648/CH22/EX22.7/Ex22_7.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3648/CH22/EX22.7/Ex22_7.sce b/3648/CH22/EX22.7/Ex22_7.sce
new file mode 100644
index 000000000..c09e2fa92
--- /dev/null
+++ b/3648/CH22/EX22.7/Ex22_7.sce
@@ -0,0 +1,9 @@
+//Example 22_7
+clc();
+clear;
+//To find the image position by means of the ray diagram
+printf("From the ray diagram we have noticed that the image is virtual, erect and dimnished in size")
+d1=5 //units in cm
+d2=-10 //units in cm
+i=(d1*d2)/(d2-d1) //Units in cm
+printf("\nThe image is located at i=%.2f cm",i)