From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1223/CH7/EX7.1/Ex7_1.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1223/CH7/EX7.1/Ex7_1.sce (limited to '1223/CH7/EX7.1/Ex7_1.sce') diff --git a/1223/CH7/EX7.1/Ex7_1.sce b/1223/CH7/EX7.1/Ex7_1.sce new file mode 100755 index 000000000..f615ee2fe --- /dev/null +++ b/1223/CH7/EX7.1/Ex7_1.sce @@ -0,0 +1,21 @@ +clear; +clc; +//Example 7.1 +Rs=1000; +Rp=10000; +Cs=1*10^-6; +Cp=3*10^-12; +Ts=(Rs+Rp)*Cs; +printf('\ntime constant=%.3f s\n',Ts) +f=1/(2*%pi*Ts); +printf('\ncorner frequency=%.2f Hz\n',f) +x=20*log10(Rp/(Rp+Rs)); +printf('\nmaximum magnitude =%.3fdB\n',x) +Rp=10;//KOhm +Rs=1;//Kohm +Cp=3;//pF +Tp=Cp*Rs*Rp/(Rs+Rp); +printf('\ntime constant=%.3f ns\n',Tp) +Tp=2.73*10^-3;//micro sec +f=1/(2*%pi*Tp); +printf('\ncorner frequency =%.2fMHz\n',f) -- cgit