Question
1. Discuss matlab coding examples. 2. Electric field from Coulomb law. 3. Students write code in matlab to plot the electric field of a line
1. Discuss matlab coding examples.
2. Electric field from Coulomb law.
3. Students write code in matlab to plot the electric field of a line charge of particles in a 3D grid from -10 to 10 on the x, y, and z axes in increments of 1.
a. Plot charged particles located on axis y and z in 1 meter increments from -5 to 5 (2 different figures: ( = 0, = 5: 5, = 0) and ( = 0, = 0, = 5: 5)).
i. Plot 3D line charge (use a single charge and then repeat for each charge)
b. Plot the 3D electric field lines located on axis y and z in 1 meter increments from -5 to 5 (2 different figures: ( = 0, = 5: 5, = 0) and ( = 0, = 0, = 5: 5)).
i. Plot 3D for 2 line charges, 1 line is positive and other is negative. Each line is located 2 meters from the origin parallel to the x axis (1 = 2 and 2 = 2 ).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started