diff options
Diffstat (limited to '1475/CH4/EX4.13')
-rwxr-xr-x | 1475/CH4/EX4.13/Example_4_13.sce | 11 | ||||
-rwxr-xr-x | 1475/CH4/EX4.13/Output_4_13.PNG | bin | 0 -> 8347 bytes |
2 files changed, 11 insertions, 0 deletions
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 Binary files differnew file mode 100755 index 000000000..1c791763d --- /dev/null +++ b/1475/CH4/EX4.13/Output_4_13.PNG |