Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

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

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M91726312
  • Price:- $50

Guranteed 36 Hours Delivery, In Price:- $50

Have any Question?


Related Questions in MATLAB

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Assignment -data is given on which want to do computational

Assignment - Data is given on which want to do computational production planning using Metaheuristic MATLAB Programming: 1) Ant Colony Algorithm on both Partial and Total Flexible Problem. 2) Bee Algorithm on both Partia ...

Assignmentq1 find the laplace transforms of the following

Assignment Q.1 Find the Laplace transforms of the following functions: (a) t 2 + at + b and (b) sin(2nΠt/T) Q.2 Find f (t) for the following F(s) = α[ f (t)]. (i) 5/(s + 3), (ii) 1/s 2 + 25, (iii) 1/s(s+1) Q.3 Find the L ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

Suppose that you have used some concept learning algorithm

Suppose that you have used some concept learning algorithm to learn a hypothesis h1 from some training data. You are interested in knowing the accuracy that the hypothesis can be expected to achieve on the underlying pop ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As