blob: b921c35b467a544ef5cb34e5e3919436e4a47706 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//angle condition
s=%s
sys=syslin('c',(k)/(s*(s+2)*(s+4)))
f=-0.75;
//disp(-atan(s,0))
disp(-atan(f,0)-atan(f,2)-atan(f,4))
if(-atan(f,0)-atan(f,2)-atan(f,4)==(-3.14))
printf("yes")
else
printf("no")
end
|