summaryrefslogtreecommitdiff
path: root/29/CH5/EX5.9.9/exa5_9_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '29/CH5/EX5.9.9/exa5_9_9.sce')
-rwxr-xr-x29/CH5/EX5.9.9/exa5_9_9.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/29/CH5/EX5.9.9/exa5_9_9.sce b/29/CH5/EX5.9.9/exa5_9_9.sce
new file mode 100755
index 000000000..8d1983f3c
--- /dev/null
+++ b/29/CH5/EX5.9.9/exa5_9_9.sce
@@ -0,0 +1,19 @@
+//Caption:overall_transfer_function_of_given_system
+//example 5.9.9
+//page 107
+syms Ka Ke Kt J f N1 N2
+s=%s;
+Ke=10;//error_detector_gain
+Ka=100;//amplifier_transconductance
+Kt=.0005;//motor_torque_const
+J=.0000125;//moment_of_inertia
+f=.0005;//coeff_of_viscous_friction
+g=N1/N2;
+g=1/20;
+a=(Ka*Ke);
+b=(a*Kt);
+c=1/(J*s^2+f*s);
+d=(c*b);
+e=(g*d);
+h=e/(1+e);
+disp(h,"C(s)/R(s)=");//result \ No newline at end of file