summaryrefslogtreecommitdiff
path: root/1475/CH4/EX4.11/Example_4_11.sce
blob: d664cc853878daf8d8d9d807c551ad21646d3d6c (plain)
1
2
3
4
5
6
7
8
9
//Example 4.11 A sample of 6500 screws is taken from a large consignment and 75 are found to be defective
clc;
clear;
n=600;
m=75;
P=m/n;
Q=1-P;
SE=sqrt((P*Q)/n);
disp("percent",(P-3*SE)*100,"to",(P+3*SE)*100,"Limits of P are from ");