summaryrefslogtreecommitdiff
path: root/3769/CH4/EX4.31/Ex4_31.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH4/EX4.31/Ex4_31.sce')
-rw-r--r--3769/CH4/EX4.31/Ex4_31.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3769/CH4/EX4.31/Ex4_31.sce b/3769/CH4/EX4.31/Ex4_31.sce
new file mode 100644
index 000000000..2028b1b24
--- /dev/null
+++ b/3769/CH4/EX4.31/Ex4_31.sce
@@ -0,0 +1,11 @@
+clear
+//Given
+C=100*10**-6 //F
+V=500 //V
+
+//Calculation
+q=V/2.0
+E=0.5*(0.5*C*V**2)
+
+//Result
+printf("\n Charge in the new stored energy is %0.3f J", E)