summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.30/Ex17_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH17/EX17.30/Ex17_30.sce')
-rw-r--r--3769/CH17/EX17.30/Ex17_30.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3769/CH17/EX17.30/Ex17_30.sce b/3769/CH17/EX17.30/Ex17_30.sce
new file mode 100644
index 000000000..ef8513999
--- /dev/null
+++ b/3769/CH17/EX17.30/Ex17_30.sce
@@ -0,0 +1,12 @@
+clear
+//Given
+P1=6
+P2=-2.0
+
+//Calculation
+P=P1+P2
+f=1/P
+
+//Result
+printf("\n Focal length of the combination is %0.3f cm", f*10**2)
+printf("\n Power of the combinationis %0.3f D",P)