diff options
Diffstat (limited to '3648/CH23/EX23.1/Ex23_1.sce')
-rw-r--r-- | 3648/CH23/EX23.1/Ex23_1.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/3648/CH23/EX23.1/Ex23_1.sce b/3648/CH23/EX23.1/Ex23_1.sce new file mode 100644 index 000000000..476da7a25 --- /dev/null +++ b/3648/CH23/EX23.1/Ex23_1.sce @@ -0,0 +1,8 @@ +//Example 23_1
+clc();
+clear;
+//To find the focal length of the reading glasses
+d1=25 //units in cm
+d2=-75 //units in cm
+f=(d1*d2)/(d2+d1) //Units in cm
+printf("The focal length of the reading glasses is f=%.2f cm",f)
|