summaryrefslogtreecommitdiff
path: root/2096/CH7/EX7.2/ex_7_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2096/CH7/EX7.2/ex_7_2.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2096/CH7/EX7.2/ex_7_2.sce')
-rwxr-xr-x2096/CH7/EX7.2/ex_7_2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2096/CH7/EX7.2/ex_7_2.sce b/2096/CH7/EX7.2/ex_7_2.sce
new file mode 100755
index 000000000..4eba8ef7a
--- /dev/null
+++ b/2096/CH7/EX7.2/ex_7_2.sce
@@ -0,0 +1,20 @@
+//Example 7.2 // resolution
+clc;
+clear;
+close;
+//given data :
+l=50; // a linear resistance potentiometer lenth in mm
+r=10000; // resistance in ohm
+rmin=10; // minimum measurable resistance in ohm
+r1=3850; // `case 1 in ohm
+r2=7560; // case 2 in ohm
+R1=r/2; // in ohm
+R2=r/l; // in ohm/mm
+Rc=R1-r1;
+D1=Rc/R2;
+Rd=r2-R1; // opposite direction in ohm
+D2=Rd/R2;
+R=rmin/R2;
+disp(D1,"displacement in case 1 ,D1(mm) = ")
+disp(D2,"displacement in case 2,D2(mm) = ")
+disp(R,"resolution,R(mm) = ")