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 /243/CH3/EX3.23/3_23.sce | |
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 '243/CH3/EX3.23/3_23.sce')
-rwxr-xr-x | 243/CH3/EX3.23/3_23.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/243/CH3/EX3.23/3_23.sce b/243/CH3/EX3.23/3_23.sce new file mode 100755 index 000000000..50d9630c0 --- /dev/null +++ b/243/CH3/EX3.23/3_23.sce @@ -0,0 +1,10 @@ +//Example No. 3_23
+//Associative law
+//Pg No. 58
+clear ; close ; clc ;
+x = 0.400000*10^40
+y = 0.500000*10^70
+z = 0.300000*10^(-30)
+disp('In book they have considered the maximum exponent can be only 99, since 110 is greater than 99 the result is erroneous')
+disp((x*y)*z,'xy_z = ','but in scilab the this value is much larger than 110 so we get a correct result ')
+disp(x*(y*z),'x_yz = ')
\ No newline at end of file |