summaryrefslogtreecommitdiff
path: root/3513/CH2/EX2.3/Ex2_3.sce
blob: d683e1edc60b82591baf8d734c286fe3457d3677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// To determine percentage of specimens
//page no 22
clear
clc;
m=10;// cm mean
sd=0.03;// standard deviation
x=10.075;
z=0.9938 //The values of Z from normal tables
z=z*100;
t=100-z;
mprintf("Therefore 100-99.38 = %.2f percent of items are falling greater than 10.075 cms.",t);
//(b)
z=1.04;
x=(z*sd)-m;
mprintf("\nBelow %.2f value of diameter will 15 percentage piston rings fall",x);