diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1847/CH4/EX4.18 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1847/CH4/EX4.18')
-rwxr-xr-x | 1847/CH4/EX4.18/Ch04Ex18.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1847/CH4/EX4.18/Ch04Ex18.sce b/1847/CH4/EX4.18/Ch04Ex18.sce new file mode 100755 index 000000000..2a46ccc3e --- /dev/null +++ b/1847/CH4/EX4.18/Ch04Ex18.sce @@ -0,0 +1,14 @@ +// Scilab Code Ex4.18: : Page-4.34 (2009)
+clc; clear;
+theta = 15.2; // Angle through which plane of polarization is rotated, degrees
+S = 65; // Specific rotation of sugar solution, degrees
+l = 15; // Length of sugar, cm
+// As S = 10*theta/(l*c), solving for c
+c = 10*theta/(l*S); // Concentration of sugar, g/cc
+
+printf("\nThe strength of sugar solution = %4.2f g/cc", c);
+
+// Result
+// The strength of sugar solution = 0.16 g/cc
+
+
|