Calculate the magnitude of electric field

Assignment Help MATLAB Programming
Reference no: EM131010618

Figure E2.4(a) shows the electric field at a point due to a charge which is a vector E. The magnitude of E is given by Coulomb's law E = (q/4Πε0r2) J, where q is magnitude of the charge, r is the distance between the charge and the point, and so is the permittivity constant (8.8542 x 10-12 C2/Nm2). The electric field E at any point is obtained by superposition of the electric field of each charge. An electric dipole with q = 12 x 10-19 C is created as shown in Fig. E2.4 (b).

Write a MATLAB program to determine and plot the magnitude of the electric field along the x-axis from x = - 8 cm to x= 8 cm.

Electric field at any point (x, 0) along the x-axis is obtained by adding the electric field vectors due to each of the charges. E = E+ E. The magnitude of the electric field is the length of the vector E. The problem is solved by following steps:

1. Create a vector x for points along the x-axis.

2. Calculate the distance from each charge to points on x-axis according to the equations

rms = √(0.03 -x)2 +0.032 and rps = √(0.03+ x)2 +0.032

1803_Calculate the magnitude of electric field.jpg

3. Write unit vectors in the directions from each charge to the points on the x-axis as emuv = [(0.03 -x)/rms, - 0.03/rms and epuv = [(x+ 0.03)/rps, 0.02/rps]

4 Calculate the magnitude of electric field due to positive and negative charges according to Coulomb's law:

E= emmag= (q/4Πε0rms2) and E = (q/4Πε0rps2).

5. Calculate em and ep by multiplying the unit vectors by emmag and epmag.

6 Calculate E as e = em + ep,

7. Find the magnitude of e.

8. Plot e as a function of x.

Verify your answer with Working Model 2D solution:

Hint: Goto World->Force Field-> (Dropdown Electrostatics) Pair-Wise->Fx

Your answer should look like: Check the Units if the values do not match

Reference no: EM131010618

Questions Cloud

How much work must be done to lift the entire cable : How much work must be done to lift the entire cable to the top of the pole? How much work must be done to lift half the cable to the top of the pole (so that 10 m still hangs over the edge)?
Define sociological theory : Question:Sought to develop a multidimensional framework that bridges the divide between individualist and collectivist perspectives. Which framework do you think provides the most accurate and balanced account of social life?
At what depth should valve be placed below top of reservoir : The valve is 25 cm on each side. The valve can withstand an average pressure of 1000 N/cm2. At what depth should the valve be placed below the top of the reservoir?
Is dell a push operation or a pull operation : Is Dell a "push" operation or a "pull" operation. Consider both the traditional definition of "pull" and the Factory Physics definition of "pull."
Calculate the magnitude of electric field : Calculate em and ep by multiplying the unit vectors by emmag and epmag - Create a vector x for points along the x-axis.
Pension funds have an accumulated value : Betty Bronson has just retired after 25 years with the electric company. Her total pension funds have an accumulated value of $280,000, and her life expectancy is 16 more years. Her pension fund manager assumes he can earn a 12 percent return on her ..
Comte is credited for being the founder of sociology : August Comte is credited for being the founder of sociology (Henslin, 2012). What prompted Comte's interest in understanding behavior? What "triggered" his need to reform society - a society that would be a better place to live in?
Develop a plan to gather data for a job analysis : For this assignment, you are asked to develop a plan to gather data for a job analysis, use at least two of the methods to gather data, write a short job description and job specification based on the data you have gathered. Please do not use you..
Define the term rationalism as used in sociology : Briefly define the term rationalism as used in sociology

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Set up a quadratic optimization problem

Set up a quadratic optimization problem that will determine the best investment mix and solve the problem using the MATLAB quadratic optimization routine quadprog. Interpret your results.

  Find the average value and the power of signal

Find the average value and the power of this signal by integrating 1/T0 v(t) and 1/T0 v2(t) respectively in the time domain, over one period. Your answer must be expressed in terms of fc and Ac only.

  Create a vector in matlab

Create a three dimensional diagram of function.

  Neglecting drag draw a free body diagram and formulate a

a two inch diameter craft ball is thrown vertically. this initial velocity of the ball is 20 fts.a. neglecting drag

  What is the frequency of the sinusoid that was sampled

What is the frequency of the sinusoid that was sampled? Was it adequately sampled, at or above the Nyquist rate? How many samples were acquired per cycle of the sinusoid?

  Use matlab to verify the central limit theorem

Use Matlab to verify the central limit theorem for the sum of N independent exponential RVs (with a=0 and b=2) for N= 10 and 20. Repeat for the sum of N independent Weibull RVs (with a=1 and b=4). Comment on the fit to the approximate Gaussian pdf..

  Implement euler integration scheme

Implement Euler integration scheme and implement Runge-Kutta integration scheme. The latter phenomenon is known as the butterfly effect.

  One-dimensional steady-state heat flow

A one-dimensional steady-state heat flow, the mathematical formulation of problem - find out the temperature differences at each locations and calculate the temperatures at each locations

  Parking in garage using matlab

In matlab: parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour.

  It turns out that since you''ve become experts

It turns out that since you've become experts on rating clothing, Acme Clothing Company has hired you to rate their clothes. Clothes are now represented as structures instead of vectors with the fields (all of which are numbers between 0 and 5): C..

  Write a script that will prompt the user for the two areas

Write a script that will prompt the user for the two areas in square feet, and will print whether the velocity at the second point increases, decreases, or remains the same as the first point.

  Build a matlab birthday cake using the cylinder

Prepare for Project you should carefully read the Notes on Trajectory Formation that are available on Moddle.  As you read them, you should try out the concepts in MATLAB.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd