summaryrefslogtreecommitdiff
path: root/1757/CH6/EX6.12/EX6_12.sce
blob: 7c027b32317cbd2ee6a74938a496b969833f1974 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example6.12  // Determine the time constant of the integrator
clc;
clear;
close;
Vo = 10 ;
t = 2*10^-3 ;
VI = -1 ;  // at t =0 ;

// The output voltage of an integrator is define as
RC = t/10 ;
disp(' The time constant of the given filter is RC = '+string(RC)+ ' sec ');