SlideShare una empresa de Scribd logo
1 de 3
TARUNGEHLOTS
Vector Fields and Equipotentials
In many areas of physics it is common to describe physical quantities in terms of vectors
defined in a region of space, a vector field, e.g., gravitational field, electric field, velocity
field in a fluid.
Plotting vector fields gives a good visual sense of the nature of the field. Also, looking at
the equipotentials (level curves or level surfaces) can be helpful, especially in E&M
where the equipotentials can be directly related to the voltage.

Gradient of a potential:                                                         
The gradient is what relates the electric field to the electric potential. E      V . This
notation means E x     dV        and    Ey       dV       and    Ez     dV     . Although we
                           dx                       dy                      dz
have learned to differentiate, Matlab has packaged these three derivatives into one
function, the gradient. Lets try it on our 2D dipolePotential.

dx = 0.075; dy = 0.075;
[x,y] = meshgrid(-2:dx:2,-2:dy:2);
V = dipolePotential(x,y,1e-9,1);
[Ex,Ey] = gradient(-V,dx,dy); % need the negative
quiver(x,y,Ex,Ey)
The quiver plot looks about like it has in the past, but let's compare it to the exact result
using the dipoleField function.
[Ex_true,Ey_true] = dipoleField(x,y,1e-9,1);
surf(x,y,(Ex_true-Ex)./Ex_true)
axis([-2 2 -2 2 -0.1 0.1])
This shows that the gradient, even with just 54 X 54 points, is accurate to about 2%
except near the charges themselves where it is as much as 100% (or a factor of 2) off. I
think this suggests the idea that if your problem doesn’t require you to come really close
to either charge and you use small enough intervals, you can use the gradient function.
Try zooming in on the surface plot to see where you would trust the gradient to calculate
your derivative.

Many vector fields don’t have the sharp features of the dipole charge and the gradient
function will be more accurate. The gravitational field near the surface of the earth is one
such case. It will also show you how to relate a potential energy to its vector field.

Gravitational Example:


                                                                                      Page 1 of 3
Vector field of constant gravitational field near the surface of the earth.
Here we look at the vector field due to the gravitational attraction near the surface of the
earth. There is just a y component and it is constant. The gravitational force is F=mg.
Note that m depends on the particular object and g depends on the environment. Let's
divide out the mass and just talk about the gravitational field, g = - g j, with up chosen to
be positive.

First we will specify the x and y components of the field, then we’ll plot it with a call to
the quiver() function.
[x,y] = meshgrid(0:.5:5, 0:.2:2);
gx = zeros(size(x));
gy = -9.8*ones(size(x));
quiver(x,y,gx,gy)
xlabel('horizontal distance')
ylabel('vertical distance')

Note that near the earth the gravitational field is everywhere down and has the same
strength.

Equipotential plot of constant gravitational field near the earth.
Looking at the same physical situation let's plot the contours for the constant gravitational
field near the surface of the earth. As above we want to look at the properties of the
environment and not the particulars related to a specific object. The "gravitational
potential energy" is U grav mgy . We will instead look at the "gravitational potential"
given by V grav gy . We define the potential function and then add contour lines to the
previous plot.
Vgrav = 9.8.*y;
hold on
contour(x,y,Vgrav);
hold off
The equipotentials are parallel to the surface of the earth and equally spaced. Notice that
the equipotentials are also perpendicular to the field vectors.
1. Create a new plot corresponding to the trajectory of a particle rolling across a level
table. The particle leaves the table edge at (0, 1.8 m) traveling at 8 m/s and flies through
the air without air resistance. Make a single plot including the gravitational field, the
equipotentials, and the trajectory. What do you notice about the relationship between the
particle trajectory and the gravitational field vectors?

2. Vector field and equipotentials far from the earth
To look at the field and equipotentials far from the earth let's modify the previous
example as follows:

1. Do not assume we are near the surface of the earth. Write an expression for the
   gravitational field and the gravitational potential for the earth valid outside the earth.


                                                                                  Page 2 of 3
(Start with the potential energy of a test mass in orbit and then divide by the test
   mass.) Convert any equations in polar coordinates to cartesian coordinates. (Keep
   the problem 2D because plotting 3D is not possible.) Why is the gravitational
   potential negative?
2. Write a reusable function for the "gravitational potential". Set the potential inside the
   earth to its value on the surface. (G=6.673e-11 m3/(Kg s2))
   Vgrav=gravPotential(x,y,M,R)
3. Make a contour plot of the potential out to 3 times the earth radius,( Mearth =
   5.9742e24 Kg, Rearth = 6373 Km.) And, use 50 to 70 sample points in x and y so that
   you can see the results well.
   [x,y] = meshgrid(-3*Re:Re/10:3*Re, -3*Re:Re/10:3*Re);

4. Add the gravitational field to the plot using
   [Gx, Gy] = gradient(gravPotential);
   Gx = -Gx;
   Gy = -Gy;
   Quiver(x,y,Gx,Gy);
   Do the field vectors point where you expect? Do the contours look reasonable?


3. Binary stars
Determine the gravitational potential for a binary star system. The two stars are located
at r1=(0,0) and r2 = (d,0) with d=Rsun. They both have R=Rsun/2, but different masses,
M1 = Msun and M2 = Msun/2. (Rsun = 1.988e30 kg, and Msun = 1.392e9 m).

Make a plot of the equipotentials and vector field in the region -2Rsun< x < 3Rsun,
-2Rsun< y < 2Rsun. Remember that potentials are scalars so you can just add:
Vbinary = V1 + V2. Be careful with the second star so that its center is located to the
right of the first.

Add the Field lines to the plot. Do they look like you expect? In another figure, take a
look at surf(Vbinary). Pretty cool, eh?

Hopefully this convinces you that potentials are easier to work with than vector fields and
that getting the vector field is easy once you have the right potential.




                                                                                Page 3 of 3

Más contenido relacionado

La actualidad más candente

Aquib kapil vasim
Aquib kapil vasimAquib kapil vasim
Aquib kapil vasimjabi khan
 
6161103 10.9 mass moment of inertia
6161103 10.9 mass moment of inertia6161103 10.9 mass moment of inertia
6161103 10.9 mass moment of inertiaetcenterrbru
 
Castigliano’s Method
Castigliano’s MethodCastigliano’s Method
Castigliano’s Methodaapx
 
Proofs nearest rank
Proofs nearest rankProofs nearest rank
Proofs nearest rankfithisux
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
3.1 betti's law and maxwell's receprocal theorem
3.1 betti's law and maxwell's receprocal theorem3.1 betti's law and maxwell's receprocal theorem
3.1 betti's law and maxwell's receprocal theoremNilesh Baglekar
 
Complimentary Energy Method in structural analysis
Complimentary Energy Method in structural analysisComplimentary Energy Method in structural analysis
Complimentary Energy Method in structural analysisMahdi Damghani
 
Final m3 march 2019
Final m3 march 2019Final m3 march 2019
Final m3 march 2019drdivakaras
 
JAMB Physics, Question 20, 2006
JAMB Physics, Question  20, 2006JAMB Physics, Question  20, 2006
JAMB Physics, Question 20, 2006quoracles
 
Deriving the algebraic model of an ideal gas
Deriving the algebraic model of an ideal gasDeriving the algebraic model of an ideal gas
Deriving the algebraic model of an ideal gasdukies_2000
 

La actualidad más candente (18)

blasius
blasiusblasius
blasius
 
Aquib kapil vasim
Aquib kapil vasimAquib kapil vasim
Aquib kapil vasim
 
6161103 10.9 mass moment of inertia
6161103 10.9 mass moment of inertia6161103 10.9 mass moment of inertia
6161103 10.9 mass moment of inertia
 
Castigliano’s Method
Castigliano’s MethodCastigliano’s Method
Castigliano’s Method
 
Proofs nearest rank
Proofs nearest rankProofs nearest rank
Proofs nearest rank
 
Phys101 lo1 shm
Phys101 lo1 shmPhys101 lo1 shm
Phys101 lo1 shm
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Elastic beams
Elastic beams Elastic beams
Elastic beams
 
3.1 betti's law and maxwell's receprocal theorem
3.1 betti's law and maxwell's receprocal theorem3.1 betti's law and maxwell's receprocal theorem
3.1 betti's law and maxwell's receprocal theorem
 
Complimentary Energy Method in structural analysis
Complimentary Energy Method in structural analysisComplimentary Energy Method in structural analysis
Complimentary Energy Method in structural analysis
 
Final m3 march 2019
Final m3 march 2019Final m3 march 2019
Final m3 march 2019
 
Sol23
Sol23Sol23
Sol23
 
2006_Tomasz_PRL
2006_Tomasz_PRL2006_Tomasz_PRL
2006_Tomasz_PRL
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Ce 255 handout
Ce 255 handoutCe 255 handout
Ce 255 handout
 
JAMB Physics, Question 20, 2006
JAMB Physics, Question  20, 2006JAMB Physics, Question  20, 2006
JAMB Physics, Question 20, 2006
 
Problem 2 a ph o 2
Problem 2 a ph o 2Problem 2 a ph o 2
Problem 2 a ph o 2
 
Deriving the algebraic model of an ideal gas
Deriving the algebraic model of an ideal gasDeriving the algebraic model of an ideal gas
Deriving the algebraic model of an ideal gas
 

Destacado

Introduction to probability
Introduction to probabilityIntroduction to probability
Introduction to probabilityTarun Gehlot
 
C4 discontinuities
C4 discontinuitiesC4 discontinuities
C4 discontinuitiesTarun Gehlot
 
Differential equations
Differential equationsDifferential equations
Differential equationsTarun Gehlot
 
Probability and statistics as helpers in real life
Probability and statistics as helpers in real lifeProbability and statistics as helpers in real life
Probability and statistics as helpers in real lifeTarun Gehlot
 
Solution of nonlinear_equations
Solution of nonlinear_equationsSolution of nonlinear_equations
Solution of nonlinear_equationsTarun Gehlot
 
Logics of the laplace transform
Logics of the laplace transformLogics of the laplace transform
Logics of the laplace transformTarun Gehlot
 
Multiple integrals
Multiple integralsMultiple integrals
Multiple integralsTarun Gehlot
 
The geometry of perspective projection
The geometry of perspective projectionThe geometry of perspective projection
The geometry of perspective projectionTarun Gehlot
 
387733 134478253323689 100002845447807_143089_907654467_n
387733 134478253323689 100002845447807_143089_907654467_n387733 134478253323689 100002845447807_143089_907654467_n
387733 134478253323689 100002845447807_143089_907654467_nconexaogarantido
 
Video informe mafia de cuba
Video informe mafia de cubaVideo informe mafia de cuba
Video informe mafia de cubadanielandres96
 
Overcoming Negative Success Indicators
Overcoming Negative Success IndicatorsOvercoming Negative Success Indicators
Overcoming Negative Success Indicatorspajaration07
 
Microsoft word 町内会通信23年9月2日 2-
Microsoft word   町内会通信23年9月2日 2-Microsoft word   町内会通信23年9月2日 2-
Microsoft word 町内会通信23年9月2日 2-hongochonaikai
 
Nokian-Sommerreifen bieten hohe Sicherheit und Zufriedenheit bei anspruchsvol...
Nokian-Sommerreifen bieten hohe Sicherheit und Zufriedenheit bei anspruchsvol...Nokian-Sommerreifen bieten hohe Sicherheit und Zufriedenheit bei anspruchsvol...
Nokian-Sommerreifen bieten hohe Sicherheit und Zufriedenheit bei anspruchsvol...Nokian Tyres / DR. FALK KÖHLER PR
 

Destacado (20)

Introduction to probability
Introduction to probabilityIntroduction to probability
Introduction to probability
 
C4 discontinuities
C4 discontinuitiesC4 discontinuities
C4 discontinuities
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Review of series
Review of seriesReview of series
Review of series
 
Eigenvalues
EigenvaluesEigenvalues
Eigenvalues
 
Probability and statistics as helpers in real life
Probability and statistics as helpers in real lifeProbability and statistics as helpers in real life
Probability and statistics as helpers in real life
 
Polar coordinates
Polar coordinatesPolar coordinates
Polar coordinates
 
Solution of nonlinear_equations
Solution of nonlinear_equationsSolution of nonlinear_equations
Solution of nonlinear_equations
 
Logics of the laplace transform
Logics of the laplace transformLogics of the laplace transform
Logics of the laplace transform
 
Magical methods
Magical methodsMagical methods
Magical methods
 
Multiple integrals
Multiple integralsMultiple integrals
Multiple integrals
 
Fourier series
Fourier seriesFourier series
Fourier series
 
The geometry of perspective projection
The geometry of perspective projectionThe geometry of perspective projection
The geometry of perspective projection
 
110
110110
110
 
387733 134478253323689 100002845447807_143089_907654467_n
387733 134478253323689 100002845447807_143089_907654467_n387733 134478253323689 100002845447807_143089_907654467_n
387733 134478253323689 100002845447807_143089_907654467_n
 
Video informe mafia de cuba
Video informe mafia de cubaVideo informe mafia de cuba
Video informe mafia de cuba
 
Triste mesmo
Triste mesmoTriste mesmo
Triste mesmo
 
Overcoming Negative Success Indicators
Overcoming Negative Success IndicatorsOvercoming Negative Success Indicators
Overcoming Negative Success Indicators
 
Microsoft word 町内会通信23年9月2日 2-
Microsoft word   町内会通信23年9月2日 2-Microsoft word   町内会通信23年9月2日 2-
Microsoft word 町内会通信23年9月2日 2-
 
Nokian-Sommerreifen bieten hohe Sicherheit und Zufriedenheit bei anspruchsvol...
Nokian-Sommerreifen bieten hohe Sicherheit und Zufriedenheit bei anspruchsvol...Nokian-Sommerreifen bieten hohe Sicherheit und Zufriedenheit bei anspruchsvol...
Nokian-Sommerreifen bieten hohe Sicherheit und Zufriedenheit bei anspruchsvol...
 

Similar a Vector fields and equipotentials

Numerical Analysis Assignment Help
Numerical Analysis Assignment HelpNumerical Analysis Assignment Help
Numerical Analysis Assignment HelpMath Homework Solver
 
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...cfisicaster
 
LECTURE_NOTES_ON_HIGH_VOLTAGE_ENGINEERIN.pdf
LECTURE_NOTES_ON_HIGH_VOLTAGE_ENGINEERIN.pdfLECTURE_NOTES_ON_HIGH_VOLTAGE_ENGINEERIN.pdf
LECTURE_NOTES_ON_HIGH_VOLTAGE_ENGINEERIN.pdfanuj298979
 
Quantization of the Orbital Motion of a Mass In The Presence Of Einstein’s Gr...
Quantization of the Orbital Motion of a Mass In The Presence Of Einstein’s Gr...Quantization of the Orbital Motion of a Mass In The Presence Of Einstein’s Gr...
Quantization of the Orbital Motion of a Mass In The Presence Of Einstein’s Gr...IOSR Journals
 
Wigner Quasi-probability Distribution of the Cosecant-squared Potential Well
Wigner Quasi-probability Distribution of the Cosecant-squared Potential WellWigner Quasi-probability Distribution of the Cosecant-squared Potential Well
Wigner Quasi-probability Distribution of the Cosecant-squared Potential WellJohn Ray Martinez
 
Problem for the gravitational field
 Problem for the gravitational field Problem for the gravitational field
Problem for the gravitational fieldAlexander Decker
 
ABOUT MODELLING OF THE GRAVITATIONAL FIELDS
ABOUT MODELLING OF THE GRAVITATIONAL FIELDSABOUT MODELLING OF THE GRAVITATIONAL FIELDS
ABOUT MODELLING OF THE GRAVITATIONAL FIELDSijrap
 
div, grad, curl, and all that - a review
div, grad, curl, and all that - a reviewdiv, grad, curl, and all that - a review
div, grad, curl, and all that - a reviewKwanghee Choi
 
Maxwell's formulation - differential forms on euclidean space
Maxwell's formulation  - differential forms on euclidean spaceMaxwell's formulation  - differential forms on euclidean space
Maxwell's formulation - differential forms on euclidean spacegreentask
 
Outgoing ingoingkleingordon spvmforminit1 - copy - copy
Outgoing ingoingkleingordon spvmforminit1 - copy - copyOutgoing ingoingkleingordon spvmforminit1 - copy - copy
Outgoing ingoingkleingordon spvmforminit1 - copy - copyfoxtrot jp R
 
2207.00057.pdf
2207.00057.pdf2207.00057.pdf
2207.00057.pdfJasonMerik
 
Relativistic formulation of Maxwell equations.
Relativistic formulation of Maxwell equations.Relativistic formulation of Maxwell equations.
Relativistic formulation of Maxwell equations.dhrubanka
 
About Modelling of the Gravitational Fields
About Modelling of the Gravitational FieldsAbout Modelling of the Gravitational Fields
About Modelling of the Gravitational Fieldsijrap
 

Similar a Vector fields and equipotentials (20)

Numerical Analysis Assignment Help
Numerical Analysis Assignment HelpNumerical Analysis Assignment Help
Numerical Analysis Assignment Help
 
Physics Assignment Help
Physics Assignment HelpPhysics Assignment Help
Physics Assignment Help
 
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
 
LECTURE_NOTES_ON_HIGH_VOLTAGE_ENGINEERIN.pdf
LECTURE_NOTES_ON_HIGH_VOLTAGE_ENGINEERIN.pdfLECTURE_NOTES_ON_HIGH_VOLTAGE_ENGINEERIN.pdf
LECTURE_NOTES_ON_HIGH_VOLTAGE_ENGINEERIN.pdf
 
Quantization of the Orbital Motion of a Mass In The Presence Of Einstein’s Gr...
Quantization of the Orbital Motion of a Mass In The Presence Of Einstein’s Gr...Quantization of the Orbital Motion of a Mass In The Presence Of Einstein’s Gr...
Quantization of the Orbital Motion of a Mass In The Presence Of Einstein’s Gr...
 
Wigner Quasi-probability Distribution of the Cosecant-squared Potential Well
Wigner Quasi-probability Distribution of the Cosecant-squared Potential WellWigner Quasi-probability Distribution of the Cosecant-squared Potential Well
Wigner Quasi-probability Distribution of the Cosecant-squared Potential Well
 
Chern-Simons Theory
Chern-Simons TheoryChern-Simons Theory
Chern-Simons Theory
 
Ch06 ssm
Ch06 ssmCh06 ssm
Ch06 ssm
 
Emfbook
EmfbookEmfbook
Emfbook
 
Problem for the gravitational field
 Problem for the gravitational field Problem for the gravitational field
Problem for the gravitational field
 
ABOUT MODELLING OF THE GRAVITATIONAL FIELDS
ABOUT MODELLING OF THE GRAVITATIONAL FIELDSABOUT MODELLING OF THE GRAVITATIONAL FIELDS
ABOUT MODELLING OF THE GRAVITATIONAL FIELDS
 
div, grad, curl, and all that - a review
div, grad, curl, and all that - a reviewdiv, grad, curl, and all that - a review
div, grad, curl, and all that - a review
 
Maxwell's formulation - differential forms on euclidean space
Maxwell's formulation  - differential forms on euclidean spaceMaxwell's formulation  - differential forms on euclidean space
Maxwell's formulation - differential forms on euclidean space
 
Outgoing ingoingkleingordon spvmforminit1 - copy - copy
Outgoing ingoingkleingordon spvmforminit1 - copy - copyOutgoing ingoingkleingordon spvmforminit1 - copy - copy
Outgoing ingoingkleingordon spvmforminit1 - copy - copy
 
2207.00057.pdf
2207.00057.pdf2207.00057.pdf
2207.00057.pdf
 
Relativistic formulation of Maxwell equations.
Relativistic formulation of Maxwell equations.Relativistic formulation of Maxwell equations.
Relativistic formulation of Maxwell equations.
 
project final
project finalproject final
project final
 
About Modelling of the Gravitational Fields
About Modelling of the Gravitational FieldsAbout Modelling of the Gravitational Fields
About Modelling of the Gravitational Fields
 
ch09.pdf
ch09.pdfch09.pdf
ch09.pdf
 
Kleppner solution partial
Kleppner solution   partialKleppner solution   partial
Kleppner solution partial
 

Más de Tarun Gehlot

Materials 11-01228
Materials 11-01228Materials 11-01228
Materials 11-01228Tarun Gehlot
 
Continuity and end_behavior
Continuity and  end_behaviorContinuity and  end_behavior
Continuity and end_behaviorTarun Gehlot
 
Continuity of functions by graph (exercises with detailed solutions)
Continuity of functions by graph   (exercises with detailed solutions)Continuity of functions by graph   (exercises with detailed solutions)
Continuity of functions by graph (exercises with detailed solutions)Tarun Gehlot
 
Factoring by the trial and-error method
Factoring by the trial and-error methodFactoring by the trial and-error method
Factoring by the trial and-error methodTarun Gehlot
 
Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysisTarun Gehlot
 
Finite elements : basis functions
Finite elements : basis functionsFinite elements : basis functions
Finite elements : basis functionsTarun Gehlot
 
Finite elements for 2‐d problems
Finite elements  for 2‐d problemsFinite elements  for 2‐d problems
Finite elements for 2‐d problemsTarun Gehlot
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statisticsTarun Gehlot
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlabTarun Gehlot
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentialsTarun Gehlot
 
Local linear approximation
Local linear approximationLocal linear approximation
Local linear approximationTarun Gehlot
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functionsTarun Gehlot
 
Propeties of-triangles
Propeties of-trianglesPropeties of-triangles
Propeties of-trianglesTarun Gehlot
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadraturesTarun Gehlot
 
Basics of set theory
Basics of set theoryBasics of set theory
Basics of set theoryTarun Gehlot
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationTarun Gehlot
 
Applications of set theory
Applications of  set theoryApplications of  set theory
Applications of set theoryTarun Gehlot
 
Miscellneous functions
Miscellneous  functionsMiscellneous  functions
Miscellneous functionsTarun Gehlot
 

Más de Tarun Gehlot (20)

Materials 11-01228
Materials 11-01228Materials 11-01228
Materials 11-01228
 
Binary relations
Binary relationsBinary relations
Binary relations
 
Continuity and end_behavior
Continuity and  end_behaviorContinuity and  end_behavior
Continuity and end_behavior
 
Continuity of functions by graph (exercises with detailed solutions)
Continuity of functions by graph   (exercises with detailed solutions)Continuity of functions by graph   (exercises with detailed solutions)
Continuity of functions by graph (exercises with detailed solutions)
 
Factoring by the trial and-error method
Factoring by the trial and-error methodFactoring by the trial and-error method
Factoring by the trial and-error method
 
Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysis
 
Finite elements : basis functions
Finite elements : basis functionsFinite elements : basis functions
Finite elements : basis functions
 
Finite elements for 2‐d problems
Finite elements  for 2‐d problemsFinite elements  for 2‐d problems
Finite elements for 2‐d problems
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statistics
 
Matlab commands
Matlab commandsMatlab commands
Matlab commands
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
 
Local linear approximation
Local linear approximationLocal linear approximation
Local linear approximation
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
Propeties of-triangles
Propeties of-trianglesPropeties of-triangles
Propeties of-triangles
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadratures
 
Basics of set theory
Basics of set theoryBasics of set theory
Basics of set theory
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Applications of set theory
Applications of  set theoryApplications of  set theory
Applications of set theory
 
Miscellneous functions
Miscellneous  functionsMiscellneous  functions
Miscellneous functions
 

Último

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 

Último (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

Vector fields and equipotentials

  • 1. TARUNGEHLOTS Vector Fields and Equipotentials In many areas of physics it is common to describe physical quantities in terms of vectors defined in a region of space, a vector field, e.g., gravitational field, electric field, velocity field in a fluid. Plotting vector fields gives a good visual sense of the nature of the field. Also, looking at the equipotentials (level curves or level surfaces) can be helpful, especially in E&M where the equipotentials can be directly related to the voltage. Gradient of a potential:   The gradient is what relates the electric field to the electric potential. E V . This notation means E x dV and Ey dV and Ez dV . Although we dx dy dz have learned to differentiate, Matlab has packaged these three derivatives into one function, the gradient. Lets try it on our 2D dipolePotential. dx = 0.075; dy = 0.075; [x,y] = meshgrid(-2:dx:2,-2:dy:2); V = dipolePotential(x,y,1e-9,1); [Ex,Ey] = gradient(-V,dx,dy); % need the negative quiver(x,y,Ex,Ey) The quiver plot looks about like it has in the past, but let's compare it to the exact result using the dipoleField function. [Ex_true,Ey_true] = dipoleField(x,y,1e-9,1); surf(x,y,(Ex_true-Ex)./Ex_true) axis([-2 2 -2 2 -0.1 0.1]) This shows that the gradient, even with just 54 X 54 points, is accurate to about 2% except near the charges themselves where it is as much as 100% (or a factor of 2) off. I think this suggests the idea that if your problem doesn’t require you to come really close to either charge and you use small enough intervals, you can use the gradient function. Try zooming in on the surface plot to see where you would trust the gradient to calculate your derivative. Many vector fields don’t have the sharp features of the dipole charge and the gradient function will be more accurate. The gravitational field near the surface of the earth is one such case. It will also show you how to relate a potential energy to its vector field. Gravitational Example: Page 1 of 3
  • 2. Vector field of constant gravitational field near the surface of the earth. Here we look at the vector field due to the gravitational attraction near the surface of the earth. There is just a y component and it is constant. The gravitational force is F=mg. Note that m depends on the particular object and g depends on the environment. Let's divide out the mass and just talk about the gravitational field, g = - g j, with up chosen to be positive. First we will specify the x and y components of the field, then we’ll plot it with a call to the quiver() function. [x,y] = meshgrid(0:.5:5, 0:.2:2); gx = zeros(size(x)); gy = -9.8*ones(size(x)); quiver(x,y,gx,gy) xlabel('horizontal distance') ylabel('vertical distance') Note that near the earth the gravitational field is everywhere down and has the same strength. Equipotential plot of constant gravitational field near the earth. Looking at the same physical situation let's plot the contours for the constant gravitational field near the surface of the earth. As above we want to look at the properties of the environment and not the particulars related to a specific object. The "gravitational potential energy" is U grav mgy . We will instead look at the "gravitational potential" given by V grav gy . We define the potential function and then add contour lines to the previous plot. Vgrav = 9.8.*y; hold on contour(x,y,Vgrav); hold off The equipotentials are parallel to the surface of the earth and equally spaced. Notice that the equipotentials are also perpendicular to the field vectors. 1. Create a new plot corresponding to the trajectory of a particle rolling across a level table. The particle leaves the table edge at (0, 1.8 m) traveling at 8 m/s and flies through the air without air resistance. Make a single plot including the gravitational field, the equipotentials, and the trajectory. What do you notice about the relationship between the particle trajectory and the gravitational field vectors? 2. Vector field and equipotentials far from the earth To look at the field and equipotentials far from the earth let's modify the previous example as follows: 1. Do not assume we are near the surface of the earth. Write an expression for the gravitational field and the gravitational potential for the earth valid outside the earth. Page 2 of 3
  • 3. (Start with the potential energy of a test mass in orbit and then divide by the test mass.) Convert any equations in polar coordinates to cartesian coordinates. (Keep the problem 2D because plotting 3D is not possible.) Why is the gravitational potential negative? 2. Write a reusable function for the "gravitational potential". Set the potential inside the earth to its value on the surface. (G=6.673e-11 m3/(Kg s2)) Vgrav=gravPotential(x,y,M,R) 3. Make a contour plot of the potential out to 3 times the earth radius,( Mearth = 5.9742e24 Kg, Rearth = 6373 Km.) And, use 50 to 70 sample points in x and y so that you can see the results well. [x,y] = meshgrid(-3*Re:Re/10:3*Re, -3*Re:Re/10:3*Re); 4. Add the gravitational field to the plot using [Gx, Gy] = gradient(gravPotential); Gx = -Gx; Gy = -Gy; Quiver(x,y,Gx,Gy); Do the field vectors point where you expect? Do the contours look reasonable? 3. Binary stars Determine the gravitational potential for a binary star system. The two stars are located at r1=(0,0) and r2 = (d,0) with d=Rsun. They both have R=Rsun/2, but different masses, M1 = Msun and M2 = Msun/2. (Rsun = 1.988e30 kg, and Msun = 1.392e9 m). Make a plot of the equipotentials and vector field in the region -2Rsun< x < 3Rsun, -2Rsun< y < 2Rsun. Remember that potentials are scalars so you can just add: Vbinary = V1 + V2. Be careful with the second star so that its center is located to the right of the first. Add the Field lines to the plot. Do they look like you expect? In another figure, take a look at surf(Vbinary). Pretty cool, eh? Hopefully this convinces you that potentials are easier to work with than vector fields and that getting the vector field is easy once you have the right potential. Page 3 of 3