summaryrefslogtreecommitdiff
path: root/226/CH3/EX2.23/example23_sce.sce
blob: 5b206d1a2eff16ddf8d0f2af30a48a86086832b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter 3
//example 3.21
//page 119
printf("\n")
printf("given")
E=10;R1=56*10^3;f=1000;C1=1*10^-6;
Vo=2*E
Ic=Vo/R1
t=1/(2*f);
Vc=(Ic*t)/C1;
printf(" tilt output voltage is %3.3fV\n",Vc)