summaryrefslogtreecommitdiff
path: root/371/CH12/EX12.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /371/CH12/EX12.2
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 '371/CH12/EX12.2')
-rwxr-xr-x371/CH12/EX12.2/12_2.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/371/CH12/EX12.2/12_2.sci b/371/CH12/EX12.2/12_2.sci
new file mode 100755
index 000000000..a260ef37c
--- /dev/null
+++ b/371/CH12/EX12.2/12_2.sci
@@ -0,0 +1,8 @@
+//Controllers and Their Optimisation//
+//Example 12.2//
+P=1.8;//permanent error of p controller in percent//
+V=100/1.8-1;//gain of the controller in volts//
+printf('gain of the controller=V=%fvolts',V);
+G=8;//sum of all time constants in milliseconds//
+T1=2*G*V;//motor armature time constant//
+printf('\nMotor armature time constant=T1=%fmilliseconds',T1); \ No newline at end of file