summaryrefslogtreecommitdiff
path: root/3830/CH2/EX2.1/Ex2_1.sce
blob: 6bd11c1fd6c6cf5c15c69181761c0db0bdb38a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Exa 2.1

clc;
clear;

// Given
 
// A wien bridge oscillator under consideration
R = 55*10^3; // Resistance in Ohms
// R = R1 = R2  ... given
C = 800*10^-12; // Capacitor in Farad
// C = C2 = C1  .. given

// Solution

f = 1/(2*%pi*R*C) ;

printf(' The frequency of oscillations = %.1f Hz \n',f);