summaryrefslogtreecommitdiff
path: root/1475/CH4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1475/CH4
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')
-rwxr-xr-x1475/CH4/EX4.11/Example_4_11.sce9
-rwxr-xr-x1475/CH4/EX4.11/Output_4_11.PNGbin0 -> 3722 bytes
-rwxr-xr-x1475/CH4/EX4.12/Example_4_12.sce9
-rwxr-xr-x1475/CH4/EX4.12/Output_4_12.PNGbin0 -> 7258 bytes
-rwxr-xr-x1475/CH4/EX4.13/Example_4_13.sce11
-rwxr-xr-x1475/CH4/EX4.13/Output_4_13.PNGbin0 -> 8347 bytes
-rwxr-xr-x1475/CH4/EX4.14/Example_4_14.sce9
-rwxr-xr-x1475/CH4/EX4.14/Output_4_14.PNGbin0 -> 6593 bytes
-rwxr-xr-x1475/CH4/EX4.15/Example_4_15.sce8
-rwxr-xr-x1475/CH4/EX4.15/Output_4_15.PNGbin0 -> 5840 bytes
-rwxr-xr-x1475/CH4/EX4.16/Example_4_16.sce8
-rwxr-xr-x1475/CH4/EX4.16/Output_4_16.PNGbin0 -> 3835 bytes
-rwxr-xr-x1475/CH4/EX4.17/Example_4_17.sce6
-rwxr-xr-x1475/CH4/EX4.17/Output_4_17.PNGbin0 -> 4051 bytes
-rwxr-xr-x1475/CH4/EX4.18/Example_4_18.sce6
-rwxr-xr-x1475/CH4/EX4.18/Output_4_18.PNGbin0 -> 4049 bytes
-rwxr-xr-x1475/CH4/EX4.3/Example_4_3.sce9
-rwxr-xr-x1475/CH4/EX4.3/Output_4_3.PNGbin0 -> 3616 bytes
18 files changed, 75 insertions, 0 deletions
diff --git a/1475/CH4/EX4.11/Example_4_11.sce b/1475/CH4/EX4.11/Example_4_11.sce
new file mode 100755
index 000000000..d664cc853
--- /dev/null
+++ b/1475/CH4/EX4.11/Example_4_11.sce
@@ -0,0 +1,9 @@
+//Example 4.11 A sample of 6500 screws is taken from a large consignment and 75 are found to be defective
+clc;
+clear;
+n=600;
+m=75;
+P=m/n;
+Q=1-P;
+SE=sqrt((P*Q)/n);
+disp("percent",(P-3*SE)*100,"to",(P+3*SE)*100,"Limits of P are from ");
diff --git a/1475/CH4/EX4.11/Output_4_11.PNG b/1475/CH4/EX4.11/Output_4_11.PNG
new file mode 100755
index 000000000..e04712d18
--- /dev/null
+++ b/1475/CH4/EX4.11/Output_4_11.PNG
Binary files differ
diff --git a/1475/CH4/EX4.12/Example_4_12.sce b/1475/CH4/EX4.12/Example_4_12.sce
new file mode 100755
index 000000000..09626da23
--- /dev/null
+++ b/1475/CH4/EX4.12/Example_4_12.sce
@@ -0,0 +1,9 @@
+// Example 4.12 A random sample of 100 ball bearingd selected from a shipment
+clc;
+clear;
+n=100;
+x=0.354;
+N=2000;
+S=0.048;
+SE=(S/sqrt(n))*sqrt((N-n)/(N-1));
+disp("inch",(x-1.96*SE),"to",(x+1.96*SE),"The 95% confidence limits for the population mean are ",S,"Sample S.D =",N,"Population size N",n,"Sample size");
diff --git a/1475/CH4/EX4.12/Output_4_12.PNG b/1475/CH4/EX4.12/Output_4_12.PNG
new file mode 100755
index 000000000..245597785
--- /dev/null
+++ b/1475/CH4/EX4.12/Output_4_12.PNG
Binary files differ
diff --git a/1475/CH4/EX4.13/Example_4_13.sce b/1475/CH4/EX4.13/Example_4_13.sce
new file mode 100755
index 000000000..aad958587
--- /dev/null
+++ b/1475/CH4/EX4.13/Example_4_13.sce
@@ -0,0 +1,11 @@
+//Example 4.13 A random sample of 100 articles taken from alarge batch of article contains 5 defective article
+clc;
+clear;
+n=100;
+p=5/100;
+q=1-p;
+N=2646;
+SE=sqrt((p*q)/n);
+disp((p-2.05*SE),"to",(p+2.05*SE),"The 96% confidence limits for Pare ",N,"Population size N",n,"Sample size");
+S_E=sqrt(p*q/(n))*sqrt((N-n)/(N-1));
+disp((p-1.96*S_E),"to",(p+1.96*S_E),"The required 95% confidence limits for P are ");
diff --git a/1475/CH4/EX4.13/Output_4_13.PNG b/1475/CH4/EX4.13/Output_4_13.PNG
new file mode 100755
index 000000000..1c791763d
--- /dev/null
+++ b/1475/CH4/EX4.13/Output_4_13.PNG
Binary files differ
diff --git a/1475/CH4/EX4.14/Example_4_14.sce b/1475/CH4/EX4.14/Example_4_14.sce
new file mode 100755
index 000000000..5ca5b7612
--- /dev/null
+++ b/1475/CH4/EX4.14/Example_4_14.sce
@@ -0,0 +1,9 @@
+//Example 4.14 10 life Insurance policies in a sample of 200 taken out of 50,000 were found to be insured for less than Rs 500
+clc;
+clear;
+N=50000;
+n=200;
+p=10/200;
+q=1-p;
+S_E=sqrt(p*q/(n))*sqrt((N-n)/(N-1));
+disp((p-1.96*S_E)*N,"and",(p+1.96*S_E)*N,"The number of each policies lies between ",(p-1.96*S_E),"to",(p+1.96*S_E),"The required 95% confidence limits for population proportion P are ");
diff --git a/1475/CH4/EX4.14/Output_4_14.PNG b/1475/CH4/EX4.14/Output_4_14.PNG
new file mode 100755
index 000000000..696f17ed6
--- /dev/null
+++ b/1475/CH4/EX4.14/Output_4_14.PNG
Binary files differ
diff --git a/1475/CH4/EX4.15/Example_4_15.sce b/1475/CH4/EX4.15/Example_4_15.sce
new file mode 100755
index 000000000..e1d3e1296
--- /dev/null
+++ b/1475/CH4/EX4.15/Example_4_15.sce
@@ -0,0 +1,8 @@
+//Example 4.15 A random sample of size 10 was drawn from a normal population with an unknown mean
+clc;
+clear;
+n=10;
+v=44.1;
+x=[65 71 80 76 78 82 68 72 65 81];
+m=sum(x)/n;
+disp("inch",(m-1.96*sqrt(4.41)),"to",(m+1.96*sqrt(4.41)),"The 95% confidence interval ",v,"variance =",m,"Mean =",n,"Sample size");
diff --git a/1475/CH4/EX4.15/Output_4_15.PNG b/1475/CH4/EX4.15/Output_4_15.PNG
new file mode 100755
index 000000000..870c7fc7a
--- /dev/null
+++ b/1475/CH4/EX4.15/Output_4_15.PNG
Binary files differ
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 "),
diff --git a/1475/CH4/EX4.16/Output_4_16.PNG b/1475/CH4/EX4.16/Output_4_16.PNG
new file mode 100755
index 000000000..f1d904b20
--- /dev/null
+++ b/1475/CH4/EX4.16/Output_4_16.PNG
Binary files differ
diff --git a/1475/CH4/EX4.17/Example_4_17.sce b/1475/CH4/EX4.17/Example_4_17.sce
new file mode 100755
index 000000000..b6bcbff1b
--- /dev/null
+++ b/1475/CH4/EX4.17/Example_4_17.sce
@@ -0,0 +1,6 @@
+// Example 4.17 The standard deviation of a random sample of size 12
+clc;
+clear;
+n=12;
+sd=5.5;
+disp(sqrt((n*(sd^2))/3.82),"to",sqrt((n*(sd^2))/21.92),"The required 95% confidence limits for population proportion s.d are ")
diff --git a/1475/CH4/EX4.17/Output_4_17.PNG b/1475/CH4/EX4.17/Output_4_17.PNG
new file mode 100755
index 000000000..50020cee5
--- /dev/null
+++ b/1475/CH4/EX4.17/Output_4_17.PNG
Binary files differ
diff --git a/1475/CH4/EX4.18/Example_4_18.sce b/1475/CH4/EX4.18/Example_4_18.sce
new file mode 100755
index 000000000..0f4e13bba
--- /dev/null
+++ b/1475/CH4/EX4.18/Example_4_18.sce
@@ -0,0 +1,6 @@
+// Example 4.18 A sample size 8 from a normal population yields as the unbiased estimate of population variance
+clc;
+clear;
+n=8;
+sd=4.4;
+disp(((n-1)*(sd))/0.99,"to",((n-1)*(sd))/20.3,"The required 99% confidence limits for population proportion variance are ")
diff --git a/1475/CH4/EX4.18/Output_4_18.PNG b/1475/CH4/EX4.18/Output_4_18.PNG
new file mode 100755
index 000000000..6bfc8d089
--- /dev/null
+++ b/1475/CH4/EX4.18/Output_4_18.PNG
Binary files differ
diff --git a/1475/CH4/EX4.3/Example_4_3.sce b/1475/CH4/EX4.3/Example_4_3.sce
new file mode 100755
index 000000000..e8bc666b9
--- /dev/null
+++ b/1475/CH4/EX4.3/Example_4_3.sce
@@ -0,0 +1,9 @@
+//Example 4.3 The following observations constitute a random sample from an unknown population
+clear;
+clc;
+x=[14 19 17 20 25];
+n=5;
+M=sum(x)/n;
+s_d=sqrt(sum((x-M)^2)/4);
+SE=s_d/sqrt(n);
+disp(SE,"Standard Error =",s_d,"Standard Mean",M,"Mean");
diff --git a/1475/CH4/EX4.3/Output_4_3.PNG b/1475/CH4/EX4.3/Output_4_3.PNG
new file mode 100755
index 000000000..5ecfc89c0
--- /dev/null
+++ b/1475/CH4/EX4.3/Output_4_3.PNG
Binary files differ