summaryrefslogtreecommitdiff
path: root/29/CH5/EX5.9.12/exa5_9_12.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /29/CH5/EX5.9.12/exa5_9_12.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 '29/CH5/EX5.9.12/exa5_9_12.sce')
-rwxr-xr-x29/CH5/EX5.9.12/exa5_9_12.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/29/CH5/EX5.9.12/exa5_9_12.sce b/29/CH5/EX5.9.12/exa5_9_12.sce
new file mode 100755
index 000000000..9ad9ed617
--- /dev/null
+++ b/29/CH5/EX5.9.12/exa5_9_12.sce
@@ -0,0 +1,16 @@
+//Caption:overall_transfer_function_of_given_system
+//example 5.9.12
+//page 111
+syms Ka Ke Kf Rf Lf Jeq feq N1 N2
+//where Ka=amplifier_gain; Ke=error_detector_gain; Kf=motor_torque_const; Rf=field_resistance; Lf=field_inductance Jeq=moment_of_inertia; feq=coeff_of_viscous_friction;
+s=%s;
+d=N1/N2;
+Ka=10; Ke=8; Kf=0.05; Rf=5; Lf=0.25; Jeq=0.05; feq=0.075; d=0.1;
+a=(Ka*Ke);
+b=Kf/(Rf+s*Lf);
+c=1/(s*(Jeq*s+feq));
+g=(b*c) //in series
+h=(g*a) //in series
+i=(h*d) //in series
+j=i/(1+i);
+disp(j,"C(s)/R(s)=");