summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.22/Ex17_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH17/EX17.22/Ex17_22.sce')
-rw-r--r--3769/CH17/EX17.22/Ex17_22.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH17/EX17.22/Ex17_22.sce b/3769/CH17/EX17.22/Ex17_22.sce
new file mode 100644
index 000000000..d74a4cf5e
--- /dev/null
+++ b/3769/CH17/EX17.22/Ex17_22.sce
@@ -0,0 +1,13 @@
+clear
+//Given
+fa=20 //cm
+ug=9/8.0
+uw=3/2.0
+
+//Calculation
+a=(uw-1)/(ug-1)
+fw=a*fa
+f=fw-fa
+
+//Result
+printf("\n Change in focal length is %0.3f cm", f)