summaryrefslogtreecommitdiff
path: root/3850/CH38/EX38.7
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3850/CH38/EX38.7
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3850/CH38/EX38.7')
-rw-r--r--3850/CH38/EX38.7/Ex38_7.sce16
-rw-r--r--3850/CH38/EX38.7/Ex38_7.txt2
2 files changed, 18 insertions, 0 deletions
diff --git a/3850/CH38/EX38.7/Ex38_7.sce b/3850/CH38/EX38.7/Ex38_7.sce
new file mode 100644
index 000000000..a67c23e4c
--- /dev/null
+++ b/3850/CH38/EX38.7/Ex38_7.sce
@@ -0,0 +1,16 @@
+
+//To Calculate the Energy Stored in the Inductor
+
+//Example 38.7
+
+clear;
+
+clc;
+
+L=50*10^-3;//Self Inductance of Inductor in Henry
+
+i=2;//Cuurent passed through inductor in Amperes
+
+U=0.5*L*i^2;//Energy stored in the Inductor
+
+printf("Energy stored in the inductor = %.2f J",U);
diff --git a/3850/CH38/EX38.7/Ex38_7.txt b/3850/CH38/EX38.7/Ex38_7.txt
new file mode 100644
index 000000000..2b33d768e
--- /dev/null
+++ b/3850/CH38/EX38.7/Ex38_7.txt
@@ -0,0 +1,2 @@
+
+ Energy stored in the inductor = 0.10 J \ No newline at end of file