summaryrefslogtreecommitdiff
path: root/3673/CH17/EX17.1/Ex17_1.sce
blob: f36c9b1ce70c0a5cbd31bd4f3e41556bae40f87c (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 17_1 page no:823
clc;
//given
k=500;//load resistance in ohm
fc=2000;//frequency in Hz
L=k/(%pi*fc);
L=L*1000;//converting to milli Henry
C=1/(%pi*fc*k);
C=C*10^6;//converting to micro farad
disp(L,"the inductance for low pass filter is (in mH)");
disp(C,"the capacitance for low pass filter is (in microFarad)");