summaryrefslogtreecommitdiff
path: root/1475/CH9/EX9.5/Example_9_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1475/CH9/EX9.5/Example_9_5.sce')
-rwxr-xr-x1475/CH9/EX9.5/Example_9_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1475/CH9/EX9.5/Example_9_5.sce b/1475/CH9/EX9.5/Example_9_5.sce
new file mode 100755
index 000000000..b55743d7d
--- /dev/null
+++ b/1475/CH9/EX9.5/Example_9_5.sce
@@ -0,0 +1,17 @@
+// Example 9.5
+clc;
+clear;
+k=18;
+n=10;
+X=595.8;
+S=8.28;
+A1=1.03;
+B3=0.28;
+B4=1.72;
+CLM=X/k;
+CLSD=S/k;
+UCLM=CLM+(A1*CLSD);
+LCLM=CLM-(A1*CLSD);
+UCLS=B3*CLSD;
+LCLS=B4*CLSD;
+disp(LCLS,"Lower Control Limit for Standard Deviation",UCLS,"Upper Control Limit for Standard Deviation",LCLM,"Lower Control Limit for Mean =",UCLM,"Upper Control Limit for Mean",A1,"Constant of conversion =",n," Sample Size =",k,"No. of samples ");