summaryrefslogtreecommitdiff
path: root/1475/CH4/EX4.14
diff options
context:
space:
mode:
Diffstat (limited to '1475/CH4/EX4.14')
-rwxr-xr-x1475/CH4/EX4.14/Example_4_14.sce9
-rwxr-xr-x1475/CH4/EX4.14/Output_4_14.PNGbin0 -> 6593 bytes
2 files changed, 9 insertions, 0 deletions
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