Professional Documents
Culture Documents
Project Group4
Project Group4
University of
Technology
Department of
Applied Science
2021-2022
Ho Chi Minh City
University of
Technology
1|Page
Department of
Applied Science
2021-2022
Ho Chi Minh City University of Technology
2022-2023
2|Page
Determining the electrostatic interacting forces
between charged particles in free space
MEMBER LIST
No. Full name Student ID
3|Page
3 Lê Minh Quốc 2250017
4|Page
1. Introduction
Coulomb force, also called electrostatic force or Coulomb interaction, attraction or repulsion
of particles or objects because of their electric charge. One of the basic physical forces, the
electric force is named for a French physicist, Charles-Augustin de Coulomb, who in 1785
published the results of an experimental investigation into the correct quantitative description of
this force.
2. Theory
3. Coulomb’s Law
Charles Coulomb measured the magnitudes of the electric forces between
charged objects using the torsion balance, which he invented. The
operating principle of the torsion balance is the same as that of the
apparatus used by Cavendish to measure the gravitational constant, with
the electrically neutral spheres replaced by charged ones. The electric
force between charged spheres A and B in Figure 1 causes the spheres to
either attract or repel each other, and the resulting motion causes the
suspended fiber to twist. Because the restoring torque of the twisted fiber
is proportional to the angle through which the fiber rotates, a
measurement of this angle provides a quantitative measure of the electric
force of attraction or repulsion. Once the spheres are charged by rubbing,
the electric force between them is very large compared with the
gravitational attraction, and so the gravitational force can be neglected.
From Coulomb’s experiments, we can generalize the properties of the electric force between
two stationary charged particles. We use the term point charge to refer to a charged particle of
zero size. The electrical behavior of electrons and protons is very well described by modeling
them as point charges. From experimental observations, we find that the magnitude of the
electric force (sometimes called the Coulomb force) between two point charges is given by
Coulomb’s law:
|q 1||q2|
F e =k e 2
r
5|Page
4. Electrostatic Interaction Force
Electrostatic interacting force of N-charged particles acting on charged particle q0 is determined
by the superposition principle as follows:
In which, is the electrostatic force of particle i acting on particle q0. This force is determined
by Coulomb's law:
9 2 2
With , k =9 .10 Nm /C ; r - the distance between the i-th point charge and the point charge q0.
This project requires students to use Matlab to calculate the Fx and Fy components of the
electrostatic force between point charges in the Oxy plane.
k = 9*(10^9);
for i=1:n
fprintf('Particle %d :',i);
fprintf('\n');
disp('')
6|Page
y(i) = input('y = ');
end
fprintf('-----------------------------\n');
disp('')
f_x_net(n) = 0;
f_y_net(n) = 0;
for i=1:n
for j=1:n
if (j ~= i)
end
end
fprintf('Fx = %d \n',f_x_net(i));
fprintf('Fy = %d \n',f_y_net(i));
disp('')
end
2. Algorithm explanation
- clc : Clear command window.
- n = input('Number of charged particle: ') : Ask the user to enter the value n on the command
window when the program is launched.
7|Page
- for i=1/n : loop with statement structure “for”, run the values of i from 1 to n in turn and
execute the following statements (before end) for each value of i.
- fprintf('Particle %d :',i): print out "Particle <i>" depending on the i of that loop run.
- fprintf('\n'): new line to create a space between the output command lines, convenient and
intuitive for tracking results.
- end: announces the end of a statement, usually a loop statement like for or the end of a
function.
- f_x_net(n) = 0: sum the interaction forces of each charge on that charge in the direction of Ox.
- f_y_net(n) = 0: sum the interaction forces of each charge on that charge in the direction of Oy.
- for i=1/n : loop with statement structure “for”, run the values of i from 1 to n in turn and
execute the following statements (before end) for each value of i.
- for j=1/n : loop with statement structure “for”, run the values of j from 1 to n in turn and
execute the following statements (before end) for each value of j.
- end: : announces the end of a statement, usually a loop statement like for or the end of a
function.
8|Page
- fprintf('Fx = %d \n',f_x_net(i)): prints out Fx result.
*Solution
Particle 1:
FA=
√ F + F =√ 1.909 + 1.909 ≈ 2.7N
2
x
2
y
2 2
Particle 2:
FB =
√ F + F =√ 1.909 + 1.909 ≈ 2.7N
2
x
2
y
2 2
9|Page
4. Conclusion
Our team was able to solve the given problem more quickly and easily with the help of the
Matlab tool. Writing the code was all that was required for Matlab to quickly and accurately
calculate the issue.
5. References
[1] https://www.britannica.com/science/Coulomb-force
[2] R.A. Serway and J.W. Jewett, Physics for Scientists and Engineers with Modern Physics,
Tenth edition
10 | P a g e