diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3885/CH2/EX2.1 | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3885/CH2/EX2.1')
-rw-r--r-- | 3885/CH2/EX2.1/Ex2_1.sci | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3885/CH2/EX2.1/Ex2_1.sci b/3885/CH2/EX2.1/Ex2_1.sci new file mode 100644 index 000000000..7368c124e --- /dev/null +++ b/3885/CH2/EX2.1/Ex2_1.sci @@ -0,0 +1,23 @@ +//control systems by Nagoor Kani A
+//Edition 3
+//Year of publication 2015
+//Scilab version 6.0.0
+//operating systems windows 10
+// Example 2.1
+clc;
+clear;
+n=300;// number of turns
+li=0.01//linearity =1%
+v=30//voltage=30V
+kp=v/n
+disp(kp,'potentiometer constant in (volts/turn)')
+nmid=n/2
+vmid=kp*nmid
+disp(vmid,'voltage at mid point is;')
+disp('range of voltage at mid point with 1% linearoty is 14.7volts to 15.3 volts')//vmid(+-)0.3
+//assuming potentiometer is perfectly linear so the resistance at midpoint setting from reference is 50kohm
+//load resistance of 500Kohm is connected in parallel with potentiometer
+req=(500*50)/(500+50)
+v0=(v*req)/(50+req)//using voltage divison rule
+disp(v0,'voltage at midpoint with load resistance 500Kohm (in volts)')
+
|