From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 165/CH11/EX11.12/ex11_12.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 165/CH11/EX11.12/ex11_12.sce (limited to '165/CH11/EX11.12/ex11_12.sce') 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 -- cgit