summaryrefslogtreecommitdiff
path: root/291/CH2/EX2.3h
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /291/CH2/EX2.3h
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 '291/CH2/EX2.3h')
-rwxr-xr-x291/CH2/EX2.3h/eg2_3h.sce5
1 files changed, 5 insertions, 0 deletions
diff --git a/291/CH2/EX2.3h/eg2_3h.sce b/291/CH2/EX2.3h/eg2_3h.sce
new file mode 100755
index 000000000..c53f0e223
--- /dev/null
+++ b/291/CH2/EX2.3h/eg2_3h.sce
@@ -0,0 +1,5 @@
+population = [7333253 3448613 2731743 1702086 1524249 1151977 1048949 1022830 998905 992038 816884 752279 734676 702979 665070 635913 617044 614289 579307 567094 547727 520947 514013 504505 493559];
+disp(perctl(population, 10), "The sample 10 percentile is")
+disp(perctl(population, 80), "The sample 80 percentile is")
+disp(perctl(population, 50), "The sample 80 percentile is")
+disp(median(population), "The median is") \ No newline at end of file