summaryrefslogtreecommitdiff
path: root/1475/CH3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1475/CH3
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/CH3')
-rwxr-xr-x1475/CH3/EX3.14/Example_3_14.sce8
-rwxr-xr-x1475/CH3/EX3.14/Output_3_14.PNGbin0 -> 4801 bytes
-rwxr-xr-x1475/CH3/EX3.15/Example_3_15.sce9
-rwxr-xr-x1475/CH3/EX3.15/Output_3_15.PNGbin0 -> 12500 bytes
-rwxr-xr-x1475/CH3/EX3.16/Example_3_16.sce11
-rwxr-xr-x1475/CH3/EX3.16/Output_3_16.PNGbin0 -> 11145 bytes
-rwxr-xr-x1475/CH3/EX3.26/Example_3_26.sce6
-rwxr-xr-x1475/CH3/EX3.26/Output_3_26.PNGbin0 -> 5644 bytes
8 files changed, 34 insertions, 0 deletions
diff --git a/1475/CH3/EX3.14/Example_3_14.sce b/1475/CH3/EX3.14/Example_3_14.sce
new file mode 100755
index 000000000..10e60c42c
--- /dev/null
+++ b/1475/CH3/EX3.14/Example_3_14.sce
@@ -0,0 +1,8 @@
+//Example 3.14 A A simple random sample of size is 5
+clc;
+clear;
+n=5;
+N=41;
+s_d=6.25;
+disp(s_d,"Standard Deviation",N,"Total Units",n,"Drawn sample of size is ");
+disp((s_d/sqrt(n))*(sqrt((N-n)/(N-1))),"Standard error is " );
diff --git a/1475/CH3/EX3.14/Output_3_14.PNG b/1475/CH3/EX3.14/Output_3_14.PNG
new file mode 100755
index 000000000..7e0fc0417
--- /dev/null
+++ b/1475/CH3/EX3.14/Output_3_14.PNG
Binary files differ
diff --git a/1475/CH3/EX3.15/Example_3_15.sce b/1475/CH3/EX3.15/Example_3_15.sce
new file mode 100755
index 000000000..f9e2e2c48
--- /dev/null
+++ b/1475/CH3/EX3.15/Example_3_15.sce
@@ -0,0 +1,9 @@
+//Example 3.15 The safety limit of a crane is known to be 32 tons
+clc;
+clear;
+m=0.3;
+s_d=0.2;
+n=100;
+disp(n,"Sample size =",s_d,"Standard Deviation",m,"Mean");
+disp(s_d/sqrt(n),"and Standard Deviation =",0.3,"Since the sample size n=100 is large, the sample mean follows normal distribution approx. with Mean=");
+disp(0.1587,"Probab. that mean is greater than 0.32=Area under the standard normal curve to the right of the ordinate at z=1",(0.32-m)/0.02,"The standarised value of sample mean 0.32 is ");
diff --git a/1475/CH3/EX3.15/Output_3_15.PNG b/1475/CH3/EX3.15/Output_3_15.PNG
new file mode 100755
index 000000000..e4a3d4c5e
--- /dev/null
+++ b/1475/CH3/EX3.15/Output_3_15.PNG
Binary files differ
diff --git a/1475/CH3/EX3.16/Example_3_16.sce b/1475/CH3/EX3.16/Example_3_16.sce
new file mode 100755
index 000000000..1dd4df31b
--- /dev/null
+++ b/1475/CH3/EX3.16/Example_3_16.sce
@@ -0,0 +1,11 @@
+//Example 3.16 It has been found 2 percent of tools
+clc;
+clear;
+m=0.02;
+p=m;
+q=1-p;
+n=400;
+s_d=sqrt((p*q)/n);
+disp(n,"Sample size =",s_d,"Standard Deviation",m,"Mean");
+disp("Since the sample size n=400 is large, the sample mean follows normal distribution ");
+disp(0.5-0.4236,"Probab. that the sample proportion p exceeds 0.03 = Area under the standard normal curve to the right of the ordinate at z= (0.03-0.02)/0.007",(0.03-0.02)/0.007,"The standarised value of z is ");
diff --git a/1475/CH3/EX3.16/Output_3_16.PNG b/1475/CH3/EX3.16/Output_3_16.PNG
new file mode 100755
index 000000000..e72cb65a8
--- /dev/null
+++ b/1475/CH3/EX3.16/Output_3_16.PNG
Binary files differ
diff --git a/1475/CH3/EX3.26/Example_3_26.sce b/1475/CH3/EX3.26/Example_3_26.sce
new file mode 100755
index 000000000..521a00ba9
--- /dev/null
+++ b/1475/CH3/EX3.26/Example_3_26.sce
@@ -0,0 +1,6 @@
+//Example 3.26 The mean of a certain normal distribution is equal to the standard error
+clc;
+clear;
+n=49;
+disp("Mean = S.E in sample size of 25 i.e s_d=5(m)",49,"Total Sample = ");
+disp(1-0.9192,"Probab. of P(x<0), when n=40. Since the population is normal = P(x<0)=");
diff --git a/1475/CH3/EX3.26/Output_3_26.PNG b/1475/CH3/EX3.26/Output_3_26.PNG
new file mode 100755
index 000000000..b61454db0
--- /dev/null
+++ b/1475/CH3/EX3.26/Output_3_26.PNG
Binary files differ