summaryrefslogtreecommitdiff
path: root/3850/CH35/EX35.3/Ex35_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3850/CH35/EX35.3/Ex35_3.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3850/CH35/EX35.3/Ex35_3.sce')
-rw-r--r--3850/CH35/EX35.3/Ex35_3.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3850/CH35/EX35.3/Ex35_3.sce b/3850/CH35/EX35.3/Ex35_3.sce
new file mode 100644
index 000000000..3fa045c8b
--- /dev/null
+++ b/3850/CH35/EX35.3/Ex35_3.sce
@@ -0,0 +1,22 @@
+
+//To Find the Magnitude of Magnetic Force experienced by 10 cm of a wire
+
+//Example 35.3
+
+clear;
+
+clc;
+
+i=5;//Current in Amperes
+
+d=2.5*10^-2;//Separation between the wires in metres
+
+k=2*10^-7;// Constant k=(u0/(2*%pi))
+
+B=k*i/d;//Magnetic Field at the site of one wire due to other in T
+
+l=10*10^-2;//length of the wire in metres
+
+F=i*l*B;//Magnetic force experienced by the 10 cm of the wire due to the other
+
+printf("Magnetic force experienced by the 10 cm of the wire due to the other = %.1f*10^-5 N",F*10^5);