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

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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