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 /182/CH12/EX12.1 | |
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 '182/CH12/EX12.1')
-rwxr-xr-x | 182/CH12/EX12.1/12_1.txt | 5 | ||||
-rwxr-xr-x | 182/CH12/EX12.1/example12_1.sce | 19 |
2 files changed, 24 insertions, 0 deletions
diff --git a/182/CH12/EX12.1/12_1.txt b/182/CH12/EX12.1/12_1.txt new file mode 100755 index 000000000..7e414db6d --- /dev/null +++ b/182/CH12/EX12.1/12_1.txt @@ -0,0 +1,5 @@ +
+1.accuracy as a percentage of reading for scale reading 10= -5.0
+ accuracy as a percentage of full scale= -0.5
+ accuracy as a percentage of reading for scale reading 50= 3.4
+ accuracy as a percentage of full scale= 1.7
\ No newline at end of file diff --git a/182/CH12/EX12.1/example12_1.sce b/182/CH12/EX12.1/example12_1.sce new file mode 100755 index 000000000..4a01c35bd --- /dev/null +++ b/182/CH12/EX12.1/example12_1.sce @@ -0,0 +1,19 @@ +//to find the accuracy as a percentage of reading and percentage of full scale +// example 12-1 in page 355 +clc; +// Data given +r=[10 50];//scale readings +c=[-0.5 1.7];// respective correction +f=100;//full scale reading +//calculation +for n=1:2 + pr=c(n)*100/r(n);// accuracy as a percentage of reading + pf=c(n)*100/f;//accuracy as a percentage of full scale + printf("accuracy as a percentage of reading for scale reading %d= %.1f percent\n",r(n),pr); + printf("accuracy as a percentage of full scale= %.1f percent\n",pf); +end +//result +//accuracy as a percentage of reading for scale reading 10= -5.0 +//accuracy as a percentage of full scale= -0.5 +//accuracy as a percentage of reading for scale reading 50= 3.4 +//accuracy as a percentage of full scale= 1.7
\ No newline at end of file |