summaryrefslogtreecommitdiff
path: root/1847/CH4/EX4.23/Ch04Ex23.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1847/CH4/EX4.23/Ch04Ex23.sce
downloadScilab-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.23/Ch04Ex23.sce')
-rwxr-xr-x1847/CH4/EX4.23/Ch04Ex23.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1847/CH4/EX4.23/Ch04Ex23.sce b/1847/CH4/EX4.23/Ch04Ex23.sce
new file mode 100755
index 000000000..0cb4e71fd
--- /dev/null
+++ b/1847/CH4/EX4.23/Ch04Ex23.sce
@@ -0,0 +1,16 @@
+// Scilab Code Ex4.23:: Page-4.35 (2009)
+clc; clear;
+l = 3; // Length of the tube, dm
+theta = 17.0; // Angle of rotation of the plane of polarization, degrees
+c = 1.0; // For simplicity assume concentration of solution to be unity, g/cc
+l_prime = 2.5; // New length of the tube, dm
+c_prime = 1.25*c; // Concentration of solution with 25 cm length of tube, g/cc
+theta_prime = theta*l_prime*c_prime/(l*c); // Angle of rotation in a tube of new length
+
+
+printf("\nThe angle of rotation in a tube of new length of %3.1f cm = %4.1f degrees", l_prime, theta_prime);
+
+// Result
+// The angle of rotation in a tube of new length of 2.5 cm = 17.7 degrees
+
+