summaryrefslogtreecommitdiff
path: root/3836/CH14/EX14.1/Ex14_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH14/EX14.1/Ex14_1.sce')
-rw-r--r--3836/CH14/EX14.1/Ex14_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3836/CH14/EX14.1/Ex14_1.sce b/3836/CH14/EX14.1/Ex14_1.sce
new file mode 100644
index 000000000..4a084816e
--- /dev/null
+++ b/3836/CH14/EX14.1/Ex14_1.sce
@@ -0,0 +1,12 @@
+clear
+//Initialization
+i=5 //current in ampere
+l=0.628 //circumference
+
+
+//Calculation
+h=i/l //magnetic field strength
+
+//Results
+printf("\n Magnetic Field Strength, H = %.2f A/m",h)
+