blob: f09f6f63053d0982a9192dd36870d6a30e56c113 (
plain)
1
2
3
4
5
6
7
|
clc;
B=1.6; // flux density between magnetic surfaces
a=1; // area of magnetic surfaces
uo=4*%pi*10^-7; // free space permeability
f=(B^2*a)/(2*uo);
printf('Force between two magnetic surfaces is %f N',f);
|