summaryrefslogtreecommitdiff
path: root/1376/CH1/EX1.18/1_18.sci
blob: 37f2dc8b7c9e72d6602afc1f758878146780d7c3 (plain)
1
2
3
4
5
6
7
//1.18
clc;
S=98+100+102+98+100+100+104+104+105+97;
n=10;
Avg=S/n;
P=1-abs((104-Avg)/Avg);
printf("Precision for the 8th reading=%.2f",P)