From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 260/CH6/EX6.14/6_14.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 260/CH6/EX6.14/6_14.sce (limited to '260/CH6/EX6.14/6_14.sce') diff --git a/260/CH6/EX6.14/6_14.sce b/260/CH6/EX6.14/6_14.sce new file mode 100644 index 000000000..1af8f9ff7 --- /dev/null +++ b/260/CH6/EX6.14/6_14.sce @@ -0,0 +1,21 @@ +//Eg-6.14 +//pg-304 + +clear +clc + +//mean and standard deviation are given as +x=1.011; +s=.108; + +n=500; +a=1; + +d=(x-a)/(s/n^.5); +if d<=1.96 & d>=-1.96 then + disp("null hypothesis :Ho:u=1mm is accepted") +else + disp("the value of d lies outside range.Therefore we will reject HO at 0.05 level of significance") +end + + -- cgit