summaryrefslogtreecommitdiff
path: root/2258/CH5/EX5.8/5_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2258/CH5/EX5.8/5_8.sce')
-rwxr-xr-x2258/CH5/EX5.8/5_8.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/2258/CH5/EX5.8/5_8.sce b/2258/CH5/EX5.8/5_8.sce
new file mode 100755
index 000000000..02c13c257
--- /dev/null
+++ b/2258/CH5/EX5.8/5_8.sce
@@ -0,0 +1,8 @@
+clc();
+clear;
+// To calculate the critical current
+Hc=2*10^3; //critical magnetic field in amp/m
+R=0.02; //radius in m
+p=3.14;
+Ic=2*p*R*Hc;
+printf("the critical current is %f amp",Ic);