Question: Solve using MATLAB Exercise 5.2 Coulomb's law states an electric charge Qo placed at a position Po with rectangular coordinates (10, Yo, zo) sets up
Exercise 5.2 Coulomb's law states an electric charge Qo placed at a position Po with rectangular coordinates (10, Yo, zo) sets up a force field everywhere away from Po. Specifically, the three rectangular components of the force acting on 1 coulomb of electric charge placed at field position P with coordinates (, y, z) are computed as follows: Qo I - TO E.(, y, z) (V/m) 4 R3 Qoy - Yo E,(x, y, z) (V/m) 4 R3 Qo Z - 20 E.(x, y, z) (V/m) 4 R3 where R (1-10)2 + (y - yo)2 + (2 - zo), 60 = 8.854187817 x 10-12 (F/m) (a) Write a MATLAB function script for computing the components of the force field (E., Ey, E.) at P due to charge Qo at Po. Specifically, the input data and output data of this MATLAB function are as follows: Input: Source charge Q. (C) at P, defined by coordinates (10, Yo, zo), written Po to, yo,zo). Output: Force components (Ex, Ey, E.) at field point P with coordinates (x, y, z), written P(x, y, z). (b) Exploit the function M-file written in (a) to compute (E., Ey, E-) at P(0,3, 1) (m) for the following cases: Case 1: Qo = 3.5 (nC) located at Po(1,-1,2) (m) Case 2: Qo = 2.7 (nC) located at Po(2,0.5, -1) (m) Case 3: Qo = -1.5 (nC) located at Po(-1.2, 1, 2.5) (m) (c) The principle of superposition suggests the three rectangular components of the total electric force (EO, Etotal, Etotal) at P(0,3,1) is the vector sum of the individual force fields due to all point charges of the three cases described in (b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
