Question

Matlab

4. The following coding is from Lesson 18 Worksheet Question 2.

1) [15 points] Make MATLAB code with while loop and the outcome should be the same as for loopcodes.

2) [3 points] by using 1) while loop, write MATLAB codes which will terminate as soon as if statement is met.  Verified

### Question 44520  Matlab

10.An infinite length line carries current I in the +directional on the z-axis, and this is surrounded by an infinite length cylindrical shell (centered about the z-axis)of radius a carrying the return current I in the -azdirection as a surface current. Find expressions for the magnetic field intensity everywhere. If the current is 1.0A and the radius a is 2.0 cm, plot the magnitude of H versus radial distance from the z-axis from 0.1 cm to 4 cm.

### Question 44519  Matlab

9. An infinitesimally thin metallic cylindrical shell of radius4.0 cm is centered on the z-axis and carries an evenly distributed current of 10.0 mA in the +az direction. (a)Determine the value of the surface current density on the
conductive shell and (b) plot H as a function of radial distance from the z-axis over the range 0 < 22< 12 cm.

### Question 44518  Matlab

8. Given a 3.0 mm radius solid wire centered on the z-axis with an evenly distributed 2.0 amps of current in the +azdirection, plot the magnetic field intensity H versus radial distance from the z-axis over the range 0 <O< 9 mm.

### Question 44517  Matlab

7. How close do you have to be to the middle of a finite length of current-carrying line before it appears infinite in length? Consider Hf(0, a, 0) is the field for the finite line of length 2h centered on the z-axis, and that Hi(0, a, 0) is the field for an infinite length line of current on the z-axis.In both cases consider current I in the +az direction. Plot Hf/Hi vs h/a.

### Question 44516  Matlab

6. A thick-walled spherical shell, with inner radius 2.00 cm and outer radius 4.00 cm, has an evenly distributed 12.0nC charge. Plot Dr as a function of radial distance from the origin over the range 0 <r< 10 cm.

### Question 44515  Matlab

1. MATLAB: Suppose you have a segment of line charge of length 2L centered on the z-axis and having a charge distribution BL. Compare the electric field intensity at a point on the y-axis a distance d from the origin with the electric field at that point assuming the line charge is of infinite length. The ratio of E for the segment to E for the infinite line is to be plotted versus the ratio L/d usingMATLAB.

### Question 44514  Matlab

4. Given a 3.00 mm radius solid wire centered on the z-axis with an evenly distributed 2.00 coulombs of charge perimeter length of wire, plot the electric flux density DB versus radial distance from the z-axis over the range 0<<9 mm.

### Question 44513  Matlab

3. : MATLAB: Consider a sphere with charge density Bv =120 nC/m3 centered at the origin with a radius of 2.00 m.Now, remove the top half of the sphere, leaving a hemisphere below the x-y plane. Find the electric field intensity at the point P(8.00m,0.00,0.00). (Hint: seeMATLAB 2.4, and consider that your answer will now have two field components.)

### Question 44512  Matlab

2. MATLAB: Consider a rectangular volume with 0.00 < xs4.00 m, 0.00 < y< 5.00 m and -6.00 m < z< 0.00 with charge density Bv = 40.0 nC/m3. Find the electric field intensity at the point P(0 00 .0 00 20.0m)

### Question 44511  Matlab

1. MATLAB: Suppose you have a segment of line charge of length 2L centered on the z-axis and having a charge distribution BL. Compare the electric field intensity at a point on the y-axis a distance d from the origin with the electric field at that point assuming the line charge is of infinite length. The ratio of E for the segment to E for the infinite line is to be plotted versus the ratio L/d usingMATLAB.

### Submit query

Getting answers to your urgent problems is simple. Submit your query in the given box and get answers Instantly.

### Submit a new Query        Success

Assignment is successfully created