summaryrefslogtreecommitdiff
path: root/1475/CH4/EX4.14/Example_4_14.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.14/Example_4_14.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.14/Example_4_14.sce')
-rwxr-xr-x1475/CH4/EX4.14/Example_4_14.sce9
1 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 ");