diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /569/CH3/EX3.22 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '569/CH3/EX3.22')
-rwxr-xr-x | 569/CH3/EX3.22/3_22.sci | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/569/CH3/EX3.22/3_22.sci b/569/CH3/EX3.22/3_22.sci new file mode 100755 index 000000000..6e59218d6 --- /dev/null +++ b/569/CH3/EX3.22/3_22.sci @@ -0,0 +1,15 @@ +//to find the mean,standard deviation, probable error and range
+
+clc;
+x=[41.7 42 41.8 42 42.1 41.9 42 41.9 42.5 41.8];
+X=sum(x); disp(X);
+d=[-.27 .03 -.17 .03 .13 -.07 .03 -.07 .53 -.17];
+d_2=sum(d^2);
+n=10;
+disp(X/n,'mean length(deg C)');
+disp(sqrt(d_2/n),'standard deviation(if data is infinite)(deg C)');
+disp(sqrt(d_2/(n-1)),'standard deviation(deg C)');
+r1=.6745*sqrt(d_2/(n-1));
+disp(r1,'probable error of 1 reading(deg C)');
+disp(r1/sqrt(n-1),'probable error of mean(deg C)');
+disp(max(x)-min(x),'range(deg C)');
\ No newline at end of file |