summaryrefslogtreecommitdiff
path: root/863/CH8/EX8.3/Ex8_3.sce
blob: 6a61df93125f38190c51c49115c372c6cdff18e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Caption:Determine actual PRF and duty cycle
//Ex8.3
clc; 
clear;
close;
C=0.082//Capacitance(in micro farad)
Ra=3.3//Resistance(in kilo ohm)
Rb=2.7//Resistance(in kilo ohm)
t1=0.693*C*(Ra+Rb)*1000
t2=0.693*C*Rb*1000
T=t1+t2
P=1000/T
d=t1*100/T
disp(P,d,'Duty cycle(in %) and PRF(in Khz)=')