diff options
author | Siddharth Agarwal | 2019-09-03 18:27:40 +0530 |
---|---|---|
committer | Siddharth Agarwal | 2019-09-03 18:27:40 +0530 |
commit | 8ac15bc5efafa2afc053c293152605b0e6ae60ff (patch) | |
tree | e1bc17aae137922b1ee990f17aae4a6cb15b7d87 /Working_Examples/154/CH13/EX13.2 | |
parent | 52a477ec613900885e29c4a0b02806a415b4f83a (diff) | |
download | Xcos_block_examples-8ac15bc5efafa2afc053c293152605b0e6ae60ff.tar.gz Xcos_block_examples-8ac15bc5efafa2afc053c293152605b0e6ae60ff.tar.bz2 Xcos_block_examples-8ac15bc5efafa2afc053c293152605b0e6ae60ff.zip |
Diffstat (limited to 'Working_Examples/154/CH13/EX13.2')
-rwxr-xr-x | Working_Examples/154/CH13/EX13.2/ch13_2.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Working_Examples/154/CH13/EX13.2/ch13_2.sce b/Working_Examples/154/CH13/EX13.2/ch13_2.sce new file mode 100755 index 0000000..b4b8409 --- /dev/null +++ b/Working_Examples/154/CH13/EX13.2/ch13_2.sce @@ -0,0 +1,31 @@ +clc
+disp("Problem 13.2")
+printf("\n")
+
+printf("Given")
+disp("|Hv|=1/sqrt(2) (1)")
+disp("Resistance R1=5kohm")
+R1=5000;
+disp("Hv(w)=1/1+%i*(w/wx) (2)")
+//wx=1/(R1*C2)
+//On solving we get
+disp("wx=2*10^-4/C2 (3)")
+
+disp("a)")
+C2=10*10^-9;
+//Taking modulus of (2)
+disp("|Hv(w)|=1/sqrt(1+(w/wx)^2)")
+//Equating (1) and (2)
+wx=2*10^-4/C2;
+fx=(wx/(2*%pi))*10^-3
+printf("Frequency(a) is %3.2fkHz\n",fx)
+
+disp("b)")
+C2b=1*10^-9;
+//As frequency is inversely proportional to C2 (from (3))
+fx1=(C2/C2b)*fx
+printf("Frequency(b) is %3.2fkHz\n",fx1)
+
+
+
+
|