diff options
Diffstat (limited to '3809/CH4/EX4.7')
-rw-r--r-- | 3809/CH4/EX4.7/EX4_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3809/CH4/EX4.7/EX4_7.sce b/3809/CH4/EX4.7/EX4_7.sce new file mode 100644 index 000000000..c5d6983e4 --- /dev/null +++ b/3809/CH4/EX4.7/EX4_7.sce @@ -0,0 +1,15 @@ +//Chapter 4, Example 4.7 + +clc +//Initialisation +c=10**-5 //capacitance in farad +v=100 //voltage + + +//Calculation +e=(1/2)*c*v**2 //energy stored + + + +//Results +printf("Energy Stored, C = %d mJ",e*10**3) |