summaryrefslogtreecommitdiff
path: root/28/CH3/EX3.3.a/ex3_3_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '28/CH3/EX3.3.a/ex3_3_1.sce')
-rwxr-xr-x28/CH3/EX3.3.a/ex3_3_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/28/CH3/EX3.3.a/ex3_3_1.sce b/28/CH3/EX3.3.a/ex3_3_1.sce
new file mode 100755
index 000000000..403637f6f
--- /dev/null
+++ b/28/CH3/EX3.3.a/ex3_3_1.sce
@@ -0,0 +1,15 @@
+syms K1 K t;
+s=%s;
+p=K1*K;
+q=t*s+1+(K1*K);
+T=p/q;
+disp(T,"V(s)/R(s)")
+// sensitivity w.r.t K is dT/dK*K/T
+S=(diff(T,K))*(K/T)
+// given K1=50 K=1.5
+s=0
+S=horner(S,s)
+K1=50;
+K=1.5;
+S=1/(1+K1*K)
+disp(S,"sensitivity=") \ No newline at end of file