From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1475/CH4/EX4.14/Example_4_14.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 1475/CH4/EX4.14/Example_4_14.sce (limited to '1475/CH4/EX4.14/Example_4_14.sce') 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 "); -- cgit