summaryrefslogtreecommitdiff
path: root/3513/CH2/EX2.2/ch2_2.sce
blob: 32efc509830e945ca5f6049d77cf0887ee83fad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// To determine percentage of specimens
//page no 22
clear
clc;
m=118.5;// volts mean
sd=1.2;// volts psi
p1=0.0188;//The probability from tables
p1=p1*100;
x=116;
z=x-(m/sd);
p2=0.8944;//The probability from tables
p2=p2*100;
p=p2-p1;
mprintf("Therefore the percentage of specimen falling between 116 and 120 volts = %.2f percentage",p);
//(b)
p=1.2; //The probability from tables
x=115;
z=1.404;
m=115+z;
av=m-z
mprintf("\nThe adjustment is 116.404 – 115 = %.2f Voltage",av);