summaryrefslogtreecommitdiff
path: root/620/CH19/EX19.8/example19_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH19/EX19.8/example19_8.sce')
-rw-r--r--620/CH19/EX19.8/example19_8.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/620/CH19/EX19.8/example19_8.sce b/620/CH19/EX19.8/example19_8.sce
new file mode 100644
index 000000000..77a07148c
--- /dev/null
+++ b/620/CH19/EX19.8/example19_8.sce
@@ -0,0 +1,6 @@
+l=1;
+r=1000;
+v=10;
+i=v/r;
+w=0.5*l*i^2;
+disp("energy stored (in μJ) in the coil is"); disp(w*10^6); \ No newline at end of file