summaryrefslogtreecommitdiff
path: root/1340/CH7/EX7.12/7_12.sce
blob: 75e4e6d642ed92f466b43aa204372ee47eeab8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
syms K a b s;
G = K/((s+a)*(s+b));
Kp = limit(G,s,0);
e = 1/(1+Kp);
sea = (a/e)*diff(e,a);
sea = simple(sea);
disp(sea,"Sensitivity of error wrt a =");
sek = (K/e)*diff(e,K);
sek = simple(sek);
disp(sek,"Sensitivity of error wrt K =");