create a function in Matlab to calculate Ampere Force with control structures
Show older comments
Hello everyone! Help me pls create a function in Matlab to calculate Ampere Force with control structures
Answers (1)
Sam Chak
on 6 Jun 2022
Here is an example to calculate the force per meter of length between two parallel conductors using Ampère's force law:
mu0 = (4e-7)*pi;
k = mu0/(4*pi);
I1 = 1;
I2 = 1;
r = 1;
F = 2*k*I1*I2/r
F =
2e-07
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!