summaryrefslogtreecommitdiff
path: root/863/CH3/EX3.8/Ex3_8.txt
blob: 7817bea267d75cf19de23d5e17ca53ec459c76a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Caption:Find Capacitance and Resistance required to design the circuit
//Ex3.8
clc;
clear;
close;
E=20//Input waveform amplitude(in volts)
f=2//Frequency(in Khz)
t=0.02//Tilt
R=600//Resistance(in ohm)
T=1/f
pw=T*1000/2
C=pw/R
R=pw/(t*C)
disp(R,C,'Capacitance(in micro farad) and Resistance(in ohm)=')