summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.29/Ex17_29.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH17/EX17.29/Ex17_29.sce')
-rw-r--r--3769/CH17/EX17.29/Ex17_29.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH17/EX17.29/Ex17_29.sce b/3769/CH17/EX17.29/Ex17_29.sce
new file mode 100644
index 000000000..284045d60
--- /dev/null
+++ b/3769/CH17/EX17.29/Ex17_29.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+u=-10.0 //cm
+m=-3.0
+
+//Calculation
+v=m*u
+f=1/((1/v)-(1/u))
+
+//Result
+printf("\n Image formed at %0.3f cm",v)
+printf("\n Focal length is %0.3f cm",f)