Question: In C++ format please HAND IN LABORATORY TASK: LAB #15 Motion of a charge in an electric field use of the FOR loop Use For
In C++ format please
HAND IN LABORATORY TASK: LAB #15 Motion of a charge in an electric field use of the FOR loop Use For loop concept in the following problem. An electron, charge e(constant 1.6 x10-19 C) starts out with a velocity vo from position (0,0) (SEE DIAGRAM BELOW) Is moving perpendicular in an electric field E(2.0x10-12 N/C). The electron will follow a parabolic path given as an x and y position each of which can be solved as a function of time t. The electron has a mass, m (constant 9.1 x 10-31 kg). The electron experiences a force in the y direction only, given by F-eE causing by Newton's second law an acceleration downward =ma. Thus the electron will move in the y direction with the usual kinematic equation y -1/2at with "a" being ay constant in the negative direction solved from FseE=ma The motion in the x direction is dependent only on the Namely, x=vot The velocity in the downward direction is v=at USE A FOR LOOP WITH t the loop variable running from 0 to 0.5 sec in 0.01 increments. Create a labeled table of t, x, y, v showing the motional positions, (ie, x and y). Does the x, y and v results make sense? ANSER. WHY or WHY NOT! Vo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
