diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /165/CH11/EX11.12/ex11_12.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '165/CH11/EX11.12/ex11_12.sce')
-rw-r--r-- | 165/CH11/EX11.12/ex11_12.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/165/CH11/EX11.12/ex11_12.sce b/165/CH11/EX11.12/ex11_12.sce new file mode 100644 index 000000000..a7ba68c35 --- /dev/null +++ b/165/CH11/EX11.12/ex11_12.sce @@ -0,0 +1,16 @@ +//Example 11.12
+clc;
+//Wein's Bridge
+//Given values of bridge elements
+R1=3100;
+C1=5.2*10^-6;
+R2=25000;
+R4=100000;
+f=2.5*10^3; //frequency in Hz
+w=2*%pi*f;
+//R3 for Wein's bridge
+R3=(R1+invr(R1*(w*C1)^2))*R4/R2;
+//C3 for Wein's bridge
+C3=(C1*invr((w*R1*C1)^2))*R2/R4;
+printf('\nValue of resistence R3 is %.2f ohm\n',R3)
+disp(C3,'Value of capacitance C3 is')
\ No newline at end of file |