blob: 18d5deb00fd713938152c10d3ef83f6403cd5085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Caption:Determine the capacitance for flip flop design and triggering frequency
//Ex13.4
clc;
clear;
close;
R1=15//Resistor(in kilo ohm)
R2=27//Resistor(in kilo ohm)
t=250//time(in ns)
R=R1*R2/(R1+R2)
C=t/(0.1*R)
f=10^6/(2.3*C*R)
disp(f,C,'Capacitance(in pF) and Frequency(in Khz)=')
|