summaryrefslogtreecommitdiff
path: root/3769/CH19/EX19.3/Ex19_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH19/EX19.3/Ex19_3.sce')
-rw-r--r--3769/CH19/EX19.3/Ex19_3.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3769/CH19/EX19.3/Ex19_3.sce b/3769/CH19/EX19.3/Ex19_3.sce
new file mode 100644
index 000000000..7cf6928a6
--- /dev/null
+++ b/3769/CH19/EX19.3/Ex19_3.sce
@@ -0,0 +1,10 @@
+clear
+//Given
+u=-25.0 //cm
+v=-50.0 //cm
+
+//Calculation
+f=1/((1/v)-1/u)
+
+//Result
+printf("\n Focal length is %0.3f cm", f)