summaryrefslogtreecommitdiff
path: root/3769/CH13/EX13.18/Ex13_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH13/EX13.18/Ex13_18.sce')
-rw-r--r--3769/CH13/EX13.18/Ex13_18.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH13/EX13.18/Ex13_18.sce b/3769/CH13/EX13.18/Ex13_18.sce
new file mode 100644
index 000000000..073810e06
--- /dev/null
+++ b/3769/CH13/EX13.18/Ex13_18.sce
@@ -0,0 +1,13 @@
+clear
+//Given
+I0=10 //A
+w=314
+L=5
+
+//Calculation
+E=0.5*L*I0**2
+E0=w*L*I0
+C=(E*2)/(E0**2)
+
+//Result
+printf("\n Capacitance of the capacitor is %0.2f micro F",C*10**6)