summaryrefslogtreecommitdiff
path: root/257/CH7/EX7.5/example_7_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '257/CH7/EX7.5/example_7_5.sce')
-rw-r--r--257/CH7/EX7.5/example_7_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/257/CH7/EX7.5/example_7_5.sce b/257/CH7/EX7.5/example_7_5.sce
new file mode 100644
index 000000000..03acf2645
--- /dev/null
+++ b/257/CH7/EX7.5/example_7_5.sce
@@ -0,0 +1,17 @@
+q=poly([0 1 1],'s','coeff');
+G=10/q //gain FACTOR=10
+H=1
+T=G/(1+G*H)
+
+Stg=(1/(1+G*H))
+Stg= (-1+ %i*1)/(49+%i*1) //at s= %i*w where w=1
+disp(abs(Stg),"sensitivity at w=1 is ")
+
+//sensitivity wrt H
+T=-G*H/(1+G*H)
+Sth=-50/(49+%i*1) //at s= %i*w where w=1
+disp(abs(Sth),"sensitivity wrt H at w=1 is ")
+
+
+
+