summaryrefslogtreecommitdiff
path: root/1301/CH14/EX14.11/ex14_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '1301/CH14/EX14.11/ex14_11.sce')
-rwxr-xr-x1301/CH14/EX14.11/ex14_11.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1301/CH14/EX14.11/ex14_11.sce b/1301/CH14/EX14.11/ex14_11.sce
new file mode 100755
index 000000000..e76f88744
--- /dev/null
+++ b/1301/CH14/EX14.11/ex14_11.sce
@@ -0,0 +1,7 @@
+clc;
+K=2*10^-7; //constant in N/A square
+N=100; //number of turns
+I=4; //current in Ampere
+r=5*10^-2; //radius in m
+B=(%pi*K*I*N)/s; //calculating magnitude of field
+disp(B,"Magnitude of field in Tesla = "); //displaying result