summaryrefslogtreecommitdiff
path: root/3769/CH19/EX19.8
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH19/EX19.8')
-rw-r--r--3769/CH19/EX19.8/Ex19_8.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH19/EX19.8/Ex19_8.sce b/3769/CH19/EX19.8/Ex19_8.sce
new file mode 100644
index 000000000..bd0c37ffd
--- /dev/null
+++ b/3769/CH19/EX19.8/Ex19_8.sce
@@ -0,0 +1,13 @@
+clear
+//Given
+u=-25.0 //cm
+v=-90.0 //cm
+
+//calculation
+f=1/((1/v)-1/u)
+f1=(1/2.0)*10**2
+u=1/((1/v)-1/f1)
+
+//Result
+printf("\n (i) focal length is %0.1f cm",f)
+printf("\n (ii) Distance is %0.1f cm",u)