summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.22/Ex2_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '1184/CH2/EX2.22/Ex2_22.sce')
-rwxr-xr-x1184/CH2/EX2.22/Ex2_22.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1184/CH2/EX2.22/Ex2_22.sce b/1184/CH2/EX2.22/Ex2_22.sce
new file mode 100755
index 000000000..e2beea23f
--- /dev/null
+++ b/1184/CH2/EX2.22/Ex2_22.sce
@@ -0,0 +1,19 @@
+//Example 2-22, page no - 55
+
+clear
+clc
+
+bw = 1*10^6
+XL = 300
+Rw = 10
+fr =10*10^6
+
+Q1 = XL/Rw
+Rp = Rw*(Q1^2+1)
+
+Q2 = fr/bw
+Rpnew = Q2*XL
+
+Rext = (Rpnew*Rp)/(Rp-Rpnew)
+
+printf('The value of resistor needed to set the bandwidth of \nthe parellel tuned circuit to 1 Mhz is %.1f ohm',Rext)