Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is the equation from class for part b: 2kL/(Z[Z2 + L^2]) Question 3: Matlab (Bonus 5 pts, which can be added to any other

image text in transcribedThis is the equation from class for part b: 2kL/(Z[Z2 + L^2])

Question 3: Matlab (Bonus 5 pts, which can be added to any other homework set!) Download the program electric3.m In this program, you specify the coordinates of a system of charges, similar to HW 2, ie. the x coordinates of the charges, then the y coordinates of the charges, then an array q that represents the charges in the system: For example: x=[-5 5 ]; % x coordinates of charges, separate by colon (:) y=[0 0]; % y coordinates of charges, separate by colon (;) % charge q +1 +1] (So in this case, you have a charge at-5, y=0, q=1, and another one at x=5, y=0, q=1) x= The program calculates the electric field in x-y space, which is 20 meters by 20 meters in size ( 10 to 10 in x), C10 to 10 im y). When you run it, it will ask you for a position in space at which it calculates the electric field by asking you: enter coordinates you are looking for, in the form [x y], followed by Enter Run the program a) Verify that if you place two charges on the x axis, symmetric with respect to the origin, and of x-0, y= 3m). equal value, the electric field at points on the y-axis will be in the y direction (For example, at b) One use of this method is to approximate a continuous line of charge as a set of discrete points like we did in the problem session. Take a line of charge that is 10 meters in length, situated on the x-axis, of charge density C/m (So total charge is 10 C). ! Approximate the line as 5 points that are equally spaced (Sox-I-5-25 02.5 51. y-[0 000 01) and of appropriate charge qi. q5 Use the program to calculate the electric field at the point x=0, y 5 m. Compare the result from the program height Z above a finite line. How do the results compare? What is the error in the numerical computation? to the exact result using the formula we derived in class for the electric field at at a

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

ISBN: 1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

Define Management or What is Management?

Answered: 1 week ago

Question

What do you understand by MBO?

Answered: 1 week ago

Question

What is meant by planning or define planning?

Answered: 1 week ago