diff options
Diffstat (limited to '3850/CH38/EX38.7/Ex38_7.sce')
-rw-r--r-- | 3850/CH38/EX38.7/Ex38_7.sce | 16 |
1 files changed, 16 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);
|