summaryrefslogtreecommitdiff
path: root/2498/CH5/EX5.27
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2498/CH5/EX5.27
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 '2498/CH5/EX5.27')
-rwxr-xr-x2498/CH5/EX5.27/ex5_27.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2498/CH5/EX5.27/ex5_27.sce b/2498/CH5/EX5.27/ex5_27.sce
new file mode 100755
index 000000000..1bf22a452
--- /dev/null
+++ b/2498/CH5/EX5.27/ex5_27.sce
@@ -0,0 +1,16 @@
+// Exa 5.27
+clc;
+clear;
+close;
+format('v',9)
+// Magnitude of loop gain, Mag_Tf= bita*100/(sqrt(1+(f/10^5)^2))^3 (i)
+// Phase of loop gain, P_Tf= -3*atand(f/10^5) (ii)
+f_180= tand(180/3)*10^5;// from eq(ii), frequency at which phase becomes -180°
+bita= 0.20;
+T_f_180= bita*100/(sqrt(1+(f_180/10^5)^2))^3;// from eq (i), the magnitude of loop gain at f_180 for bita= 0.20
+disp(T_f_180,"The magnitude of loop gain for beta = 0.20 is : ")
+bita= 0.02;
+T_f_180= bita*100/(sqrt(1+(f_180/10^5)^2))^3;// from eq (i), the magnitude of loop gain at f_180 for bita= 0.20
+disp(T_f_180,"The magnitude of loop gain for beta = 0.20 is : ")
+disp("Hence system is unstable for beta=0.20 and stable for beta= 0.02 because at beta= 0.20 gain is greater than 1.")
+