summaryrefslogtreecommitdiff
path: root/3845/CH22/EX22.7/Ex22_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH22/EX22.7/Ex22_7.sce')
-rw-r--r--3845/CH22/EX22.7/Ex22_7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3845/CH22/EX22.7/Ex22_7.sce b/3845/CH22/EX22.7/Ex22_7.sce
new file mode 100644
index 000000000..66a2fa723
--- /dev/null
+++ b/3845/CH22/EX22.7/Ex22_7.sce
@@ -0,0 +1,10 @@
+//Example 22.7
+N=2000;//Number of loops
+l=2;//Length (m)
+n=N/l;//Number of loops per unit length (m^-1)
+I=1600;//Current (A)
+mu_0=4*%pi*10^-7;//Permeability of free space (T.m/A)
+B=mu_0*n*I;//Magnetic field strength (T)
+printf('Magnetic field strength inside the solenoid = %0.2f T',B)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest