summaryrefslogtreecommitdiff
path: root/257/CH11/EX11.10/example_11_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '257/CH11/EX11.10/example_11_10.sce')
-rw-r--r--257/CH11/EX11.10/example_11_10.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/257/CH11/EX11.10/example_11_10.sce b/257/CH11/EX11.10/example_11_10.sce
new file mode 100644
index 000000000..bb07bfd75
--- /dev/null
+++ b/257/CH11/EX11.10/example_11_10.sce
@@ -0,0 +1,19 @@
+//there is a pole at the origin and contribution of gain k
+
+k=10^(14/20) //20*log(k)=14
+
+disp("equation of starting line is y=-20*log(w)+14")
+wc1=10^(0)
+disp(wc1,"hence at wc1, 14=-20*log(wc1)+14. that is wc1 = ")
+y1=poly([1 1/wc1],'s','coeff')
+
+disp("equation of next line is y=-40*log(w)+14")
+wc2=10^(40/40) //-40*log(wc2)=-40
+disp(wc2,"wc2=")
+y2=poly([1 1/wc2],'s','coeff')
+
+wc3=50 //given
+y3=poly([1 1/wc3],'s','coeff')
+
+TF= k*(y2)/((y1)*(y3))
+disp(TF,"transfer function = ")