summaryrefslogtreecommitdiff
path: root/3845/CH23/EX23.8/Ex23_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH23/EX23.8/Ex23_8.sce')
-rw-r--r--3845/CH23/EX23.8/Ex23_8.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3845/CH23/EX23.8/Ex23_8.sce b/3845/CH23/EX23.8/Ex23_8.sce
new file mode 100644
index 000000000..48e253450
--- /dev/null
+++ b/3845/CH23/EX23.8/Ex23_8.sce
@@ -0,0 +1,7 @@
+//Example 23.8
+L=0.632*10^-3;//Inductance (H)
+I=30;//Current (A)
+E_ind=(1/2)*L*I^2;//Energy stored (J)
+printf('Energy stored in the inductor = %0.3f J',E_ind)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest