summaryrefslogtreecommitdiff
path: root/978/CH5/EX5.5/Example5_5.sce
blob: 80f386b7476b1611fd63aa446d0e79d4d490620a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//chapter-5,Example5_5,pg 492

Tu=1*10^-3//wave time

Vi=0.2//input voltage

t=4*10^-3//integration time constant(1/RC)

V1=((Vi*Tu)/t)//integrator output voltage

printf("integrator output voltage\n")

printf("V1=%.2f V",V1)