summaryrefslogtreecommitdiff
path: root/1223/CH12/EX12.19/Ex12_19.sce
blob: 59487c6fc7b61d5bcf9bdd604fbac0f0b079bc26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)