summaryrefslogtreecommitdiff
path: root/1223/CH12/EX12.19/Ex12_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH12/EX12.19/Ex12_19.sce')
-rwxr-xr-x1223/CH12/EX12.19/Ex12_19.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1223/CH12/EX12.19/Ex12_19.sce b/1223/CH12/EX12.19/Ex12_19.sce
new file mode 100755
index 000000000..59487c6fc
--- /dev/null
+++ b/1223/CH12/EX12.19/Ex12_19.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+//Example 12.19
+//T=b*100/(sqrt(1+(f/10^5)^2) angle=-3tan^-1(f/10^5)
+//stable at f180 at which phase becomes -180 degrees
+//-3*atan(f180/10^5)=-180
+f180=tand(180/3)*10^5;
+printf('\nfrequency at -180 degree=%ef Hz\n',f180)
+b=0.2;
+T=b*100/(sqrt(1+(f180/10^5)^2))^3;
+printf('\nmagnitude of the loop gain=%.2f\n',T)
+b=0.02;
+T=b*100/(sqrt(1+(f180/10^5)^2))^3;
+printf('\nmagnitude of the loop gain=%.2f\n',T)