blob: 434847bca0c0b5dd45a0c920bc7180472ef0a3f9 (
plain)
1
2
3
4
5
6
|
printf("given G(s)H(s)=(as+1)/s^2 \n we have to find the value of a for which phase margin is 45 degree\n");
printf("G(jw)H(jw)=(1+ajw)/(jw)^2 and <G(jw))H(jw)=-180+atan aw\n")
aw=tan(45);
a=sqrt(1/sqrt(2));
printf("the value of a is");
disp(a);
|