summaryrefslogtreecommitdiff
path: root/1475/CH4/EX4.16/Example_4_16.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1475/CH4/EX4.16/Example_4_16.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 '1475/CH4/EX4.16/Example_4_16.sce')
-rwxr-xr-x1475/CH4/EX4.16/Example_4_16.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1475/CH4/EX4.16/Example_4_16.sce b/1475/CH4/EX4.16/Example_4_16.sce
new file mode 100755
index 000000000..683f52859
--- /dev/null
+++ b/1475/CH4/EX4.16/Example_4_16.sce
@@ -0,0 +1,8 @@
+//Example 4.16 A random sample of 10 students of class II was selected from schools in a certain region
+clc;
+clear;
+x=[38 46 45 40 35 39 44 45 33 37];
+n=10;
+m=sum(x)/n;
+s=sqrt(18.96);
+disp((m+2.26*(s/3)),"to",(m-2.26*(s/3)),"The 95% confidence limits for mean weight are "),