diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /135/CH12/EX12.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '135/CH12/EX12.2')
-rwxr-xr-x | 135/CH12/EX12.2/EX2.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/135/CH12/EX12.2/EX2.sce b/135/CH12/EX12.2/EX2.sce new file mode 100755 index 000000000..1b2b406a5 --- /dev/null +++ b/135/CH12/EX12.2/EX2.sce @@ -0,0 +1,12 @@ +// Example 12.2: Designing a Wein Bridge Oscillator
+clc, clear
+fo=2e3; // in hertz
+R=10; // in kilo-ohms
+C=1/(2*%pi*fo*R*1e3); // in farads
+C=C*1e9; // in nano-farads
+disp(R,"R1 (kΩ) =");
+disp(R,"R2 (kΩ) =");
+disp(2*R,"R3 (kΩ) =");
+disp(R,"R4 (kΩ) =");
+disp(C,"C1 (nF) =");
+disp(C,"C2 (nF) =");
\ No newline at end of file |