summaryrefslogtreecommitdiff
path: root/3768/CH10/EX10.4/Ex10_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH10/EX10.4/Ex10_4.sce')
-rw-r--r--3768/CH10/EX10.4/Ex10_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3768/CH10/EX10.4/Ex10_4.sce b/3768/CH10/EX10.4/Ex10_4.sce
new file mode 100644
index 000000000..c16d259c6
--- /dev/null
+++ b/3768/CH10/EX10.4/Ex10_4.sce
@@ -0,0 +1,13 @@
+//Example number 10.4, Page number 225
+
+clc;clear;
+close;
+
+//Variable declaration
+Hc=2*10**3; //critical magnetic field(A/m)
+r=0.02; //radius(m)
+//Calculation
+Ic=2*%pi*r*Hc; //critical current(amp)
+//Result
+printf("critical current is %.1f A",Ic)
+//answer in the book varies due to rounding off errors