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/CH5/EX5.4 | |
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/CH5/EX5.4')
-rwxr-xr-x | 569/CH5/EX5.4/5_4.sci | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/569/CH5/EX5.4/5_4.sci b/569/CH5/EX5.4/5_4.sci new file mode 100755 index 000000000..7651f37af --- /dev/null +++ b/569/CH5/EX5.4/5_4.sci @@ -0,0 +1,13 @@ +//Calculating the displacement and resolution of the potentiometer
+clc;
+Rnormal=10000/2;
+Rpl=10000/50;
+Rc1=Rnormal-3850;
+Dnormal=Rc1/Rpl;
+disp(Dnormal,'Displacement(mm)=')
+Rc2=Rnormal-7560;
+Dnormal=Rc2/Rpl;
+disp(Dnormal,'Displacement(mm)=')
+disp('since one displacement is positive and other is negative so two displacements are in the opposite direction')
+Re=10*1/200;
+disp(Re,'Resolution (mm)=')
\ No newline at end of file |