diff options
Diffstat (limited to '1892/CH3/EX3.1/Example3_1.sce')
-rwxr-xr-x | 1892/CH3/EX3.1/Example3_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1892/CH3/EX3.1/Example3_1.sce b/1892/CH3/EX3.1/Example3_1.sce new file mode 100755 index 000000000..911ba76a7 --- /dev/null +++ b/1892/CH3/EX3.1/Example3_1.sce @@ -0,0 +1,16 @@ +// Example 3.1
+
+clear; clc; close;
+
+format('v',8);
+// Given data
+Lm=30;//in mH
+Iph=3;//in Ampere
+Rm=15;//in Ohm
+
+//Calculations
+tau_ed=Lm/Rm;//in ms
+tdash=1/2*tau_ed;//in ms
+disp(tdash,"(i) Time taken by the phase current to decay to zero in ms : ");
+Energy=1/4*Lm*Iph^2;//in mW
+disp(Energy,"(ii) Energy returned to supply in mW : ");
|