disp(perctl(values, 10), "The sample 10 percentile is") //The content of the second value returned by perctl is the place of the computed percentile in the values array
disp(perctl(values, 50), "The sample 50 percentile is")
disp(perctl(values, 80), "The sample 80 percentile is")
disp(median(values), "The median is")

exec ../../CH2/EX2.3c/mymedian.sce;
exec ../../CH2/EX2.3h/myperctl.sce;
disp(myperctl(values, frequency, 10), "The weighted sample 10 percentile is") //The content of the second value returned by perctl is the place of the computed percentile in the values array
disp(myperctl(values, frequency, 50), "The weighted sample 50 percentile is")
disp(myperctl(values, frequency, 80), "The weighted sample 80 percentile is")
disp(mymedian(values, frequency), "The weighted median is")

