diff options
Diffstat (limited to '2459/CH21/EX21.4/Ex21_4.sce')
-rw-r--r-- | 2459/CH21/EX21.4/Ex21_4.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2459/CH21/EX21.4/Ex21_4.sce b/2459/CH21/EX21.4/Ex21_4.sce new file mode 100644 index 000000000..a125015c1 --- /dev/null +++ b/2459/CH21/EX21.4/Ex21_4.sce @@ -0,0 +1,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)
|