summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.27/Ex17_27.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH17/EX17.27/Ex17_27.sce')
-rw-r--r--3769/CH17/EX17.27/Ex17_27.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3769/CH17/EX17.27/Ex17_27.sce b/3769/CH17/EX17.27/Ex17_27.sce
new file mode 100644
index 000000000..25bb0ac46
--- /dev/null
+++ b/3769/CH17/EX17.27/Ex17_27.sce
@@ -0,0 +1,10 @@
+clear
+//Given
+f=-15.0 //cm
+v=-10.0 //cm
+
+//Calculation
+u=1/((1/v)-1/f)
+
+//Result
+printf("\n The object is placed at a distance of %0.3f cm", u)