diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3513/CH2/EX2.1/ch2_1.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3513/CH2/EX2.1/ch2_1.sce')
-rw-r--r-- | 3513/CH2/EX2.1/ch2_1.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3513/CH2/EX2.1/ch2_1.sce b/3513/CH2/EX2.1/ch2_1.sce new file mode 100644 index 000000000..cf0b1b4d7 --- /dev/null +++ b/3513/CH2/EX2.1/ch2_1.sce @@ -0,0 +1,24 @@ +// To determine percentage of specimens
+//page no 21
+clear
+clc;
+m=5600;//mean
+sd=840;//psi
+lwrlmt=5600;
+uprlmt=6200;
+z=-0.7142;
+p=23.89;//probability
+sp=(100-p)-p;
+mprintf("Therefore the percentage of the specimens falling between 5000 and 6200 = %.2f percentage",sp);
+//(b) Percentage of specimens falling below 4000
+z=4000-(lwrlmt/sd);
+p=0.0287; //The probability from tables
+p=p*100;
+pa=100-p
+mprintf("\nTherefore the probability above 4000 = %.2f percentage",pa);
+//(c)
+z=3500-(lwrlmt/sd);
+p=0.0062;//The probability from tables
+pa=p*100;
+mprintf("\nTherefore the percentage of specimen falling below 3500 = %.2f percentage",pa);
+
|