summaryrefslogtreecommitdiff
path: root/1652/CH19/EX19.3/19_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1652/CH19/EX19.3/19_3.sce')
-rwxr-xr-x1652/CH19/EX19.3/19_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1652/CH19/EX19.3/19_3.sce b/1652/CH19/EX19.3/19_3.sce
new file mode 100755
index 000000000..4a7eedb08
--- /dev/null
+++ b/1652/CH19/EX19.3/19_3.sce
@@ -0,0 +1,11 @@
+clc
+//Initialization of variables
+r1=0.850
+r2=0.50
+//calculations
+Da=-log10(r1)
+Db=-log10(r2)
+D=Da+Db
+r3=10^(-D)
+//results
+printf("Transmittance of solution = %.3f ",r3)