Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Name: Nitish Bhattacharjee Roll Number: 201902003

EXPERIMENT- 1A
Aim: Using Coulomb’s Law calculate the force exerted by the point charge to another point
charge using SciLab 6.1.1

Example: Use the vector form of Coulomb’s law by locating a charge of Q1 = 3 × 10−4 C at
M (1, 2, 3) and a charge of Q2 = −10−4 C at N (2, 0, 5) in a vacuum. Calculate the force exerted
on Q2 by Q1.

Solution:
Name: Nitish Bhattacharjee Roll Number: 201902003
SciLab Code

clc
r2 = [2, 0, 5];
r1 = [1, 2, 3];
R12 = norm(r2 - r1);
aR12 = (r2 - r1) / R12;
disp("Value of R12 is ",R12)
disp("Value of aR12 is ",aR12)
Q1 = 3e-04;
Q2 = -1e-04;
Eps = 8.854e-12;
F2 = ((Q1*Q2)/(4*%pi*Eps*R12^2))*aR12;
F1 = -F2;
disp("Force exerted on Q2 by Q1 (i.e. F2) is ",F2)
disp("Force exerted on Q1 by Q2 (i.e. F1) is ",F1)

Output:
Name:Nitish Bhattacharjee Roll Number: 201902003
Conclusion:

(i) Colomb’s law states that the magnitude of the electrostatic force of attraction or
repulsion between two electrically charged bodies is directly proportional to the product
of the charge of the charged bodies and inversely proportional to the square of the
distance between the center of the charged bodies.
(ii) Coulomb’s law also helps us to find the Electric field at a point due to point charge.
It also helps us to find the relative permittivity of a given medium.

(iii) Coulomb’s law can also be used to find the electrostatic potential energy and
hence potentialdifference. It can be used to calculate the relative permittivity of a
medium.

(iv) Coulomb law’s limitation only comes that it is strictly applicable for point charges
only and not for continuous charges like line and sheet/plane charge.

(v) Thus, we simulated and analyzed columb’s law using Scilab.


Name: Nitish Bhattacharjee Roll Number: 201902003

EXPERIMENT- 1B

Aim: Calculate the Electric Field (E) using SciLab 6.1.1

Example: Find E (Electric Field) at P (1, 1, 1) caused by four identical 3-nC (Nano coulomb)
charges located at P1(1, 1, 0), P2(−1, 1, 0), P3(−1, −1, 0), and P4(1, −1, 0), as shown in Figure
below

Figure A.
Name:Nitish Bhattacharjee Roll Number: 201902003
Solution:
Name:Nitish Bhattacharjee Roll Number: 201902003
Name:Nitish Bhattacharjee Roll Number: 201902003
SciLab Code:

clc;
P = [1,1,1];
P1 = [1,1,0];
P2 = [-1,1,0];
P3 = [-1,-1,0];
P4 = [1,-1,0];
R1 = norm(P-P1);
aR1 = (P-P1)/R1;
R2 = norm(P-P2);
aR2 = (P-P2)/R2;
R3 = norm(P-P3);
aR3 = (P-P3)/R3;
R4 = norm(P-P4);
aR4 = (P-P4)/R4;
disp('Value of R1 is ',R1)
disp('Value of aR1 is ',aR1)
disp('Value of R2 is ',R2)
disp('Value of aR2 is',aR2)
disp('Value of R3 is',R3)
disp('Value of aR3 is ',aR3)
disp('Value of R4 is ',R4)
disp('Value of aR4 is',aR4)
Q = 3e-09; //charge in Coulombs
Eps = 8.854e-12; //free space permittivity
E1 = (Q/(4*%pi*Eps*R1^2)) *aR1;
E2 = (Q/(4*%pi*Eps*R2^2))*aR2;
E3 = (Q/(4*%pi*Eps*R3^2))*aR3;
E4 = (Q/(4*%pi*Eps*R4^2))*aR4;
E = E1+E2+E3+E4;
disp ('Electric Field Intensity at given point P due to four identical Charges in V/m is ',E)
Name:Nitish Bhattacharjee Roll Number: 201902003

Output:
Name:Nitish Bhattacharjee Roll Number: 201902003
Conclusion:
(i) Electric field can be considered as an electric property associated with each point in the
space where a charge is present in any form. An electric field is also described as the
electric force per unit charge.. It is mathematically expressed as Force per unit charge
(N/C). Another unit of E is Volts per metre (V/m).

(ii) Electric field of a line charge can be found by superimposing the point charge fieldsof
an infinitesimal charge elements. Its unit is coulomb per metre (C/m).

(iii) Electric field of an infinite sheet of charge will be perpendicular to the surface. the Only
ends of a cylindrical Gaussian surface will contribute to the electricflux. Its unit is coulomb
per metre squared (C/m2).

(iv) Superposition principle states that every charge in space creates an electric field at
point independent of the presence of other charges in that medium. Theresultant
electric field is a vector sum of the electric field due to individual charges.

(v) Thus electric field due to line charge was solved and analysed using Scilab.
Name:Nitish Bhattacharjee Roll Number: 201902003

Tutorial Question:
Planes x = 2 and y = — 3, respectively, carry charges 10 nC/m2 and 15 nC/m2. If the line x =
0, z =2 carries charge 10𝜋 nC/m, calculate E at (1, 1, —1) due to the three charge distributions.
Name:Nitish Bhattacharjee Roll Number: 201902003
Name:Nitish Bhattacharjee Roll Number: 201902003

Scilab Code:
clear;
clc;
format('v',6);
p1=10*10^-9;
p2=15*10^-9;
pl=10*%pi*10^-9;
e=(10^-9)/(36*%pi);
E1=(p1/(2*e))*[-1 0 0];
E2=(p2/(2*e))*[0 1 0];
R=[1 0 -3];
p=(R(1,1)^2+R(1,2)^2+R(1,3)^2);
a=R/p;
E3=(pl/(2*%pi*e))*a;
E=E1+E2+E3;
disp('Overall Electric Field at (1,1,-1) in V/m is ',E);

Result:
Overall Electric Field at (1,1,-1) in V/m is
-508.9 848.2 -169.6

You might also like