summaryrefslogtreecommitdiff
path: root/3830/CH2/EX2.2/Ex2_2.sce
blob: 80d2014c6a854eb212dd896d2f5433987e8d960e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Exa 2.2

clc;
clear;

// Given

// A wien bridge oscillator under consideration

fo= 10^6 ; // frequency of oscillations in Hz

// Solution

printf(' Let R = 3 k Ohms \n');

R = 3000; // Ohm's
// since, fo = 1/(2*%pi*R*C); therefore,
C = 1/(2*%pi*fo*R);

printf('  Substituting that, the value of capacitor = %d pf \n',C*10^12);