blob: f5895eb043b080dc7e659af4b6aeaf7ef3f32183 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Caption:Calculate minimum square wave frequency
//Ex2.6
clc;
clear;
close;
C=1//Coupling capacitor(in micro farad)
R=1//Input resistance(in Mega ohm)
t=0.01//Tilt
PW=t*R*C
f=1/(2*PW)
disp(f,'Frequency required(in hertz)=')
|