summaryrefslogtreecommitdiff
path: root/2459/CH21/EX21.4/Ex21_4.sce
blob: a125015c1893acff5c446b9ad944be584912bc40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//chapter21
//example21.4
//page468

R=10d3 // ohm
C=2.2d-6 // F
V1=0 // V
V2=10 // V
t1=0 // sec
t2=0.4 // sec

Eo=R*C*(V2-V1)/(t2-t1)

printf("output voltage = %.3f V \n",Eo)