From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 569/CH5/EX5.4/5_4.sci | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 569/CH5/EX5.4/5_4.sci (limited to '569/CH5/EX5.4') 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 -- cgit