diff options
Diffstat (limited to '1985/CH6/EX6.4/Chapter6_Example4.sce')
-rwxr-xr-x | 1985/CH6/EX6.4/Chapter6_Example4.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1985/CH6/EX6.4/Chapter6_Example4.sce b/1985/CH6/EX6.4/Chapter6_Example4.sce new file mode 100755 index 000000000..f371ea879 --- /dev/null +++ b/1985/CH6/EX6.4/Chapter6_Example4.sce @@ -0,0 +1,13 @@ +clc
+clear
+//Input data
+t1=30//Exposure time in s
+d1=5.6//Lens aperture
+d2=8//Lens aperture
+
+//Calculations
+f=1/2//The squares of the f-number are in the ratio 1:2
+t2=(1/f)*t1//Exposure time in s
+
+//Output
+printf('The time of exposure is %3.0f s when the print is made with a lens aperture of %i',t2,d2)
|