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