Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

List of Tasks Let the point charge actually be an electron. Make sure that you use appropriate units. The E and B fields have to

List of Tasks
Let the point charge actually be an electron.
Make sure that you use appropriate units.
The E and B fields have to be inputted. The vectors should be entered as two vectors with three components.
Your code should contain a function cross(v1,w2) that calculates the cross product of two vectors.
The main body of your code should then calculate the trajectory using the Newtonian kinematics.
Your simulation of the trajectory should run for a large enough number of steps to see enough of the trajectory; therefore, choose your
time step accordingly.
Your code should produce an output file, S23.dat, with three columns x,y and z(the coordinates of the particle at each time step).
You may take initial position vector and initial velocity vector components as vec(r)0=(0,0,0) and vec(v)0=(0,0,0).
Allowed Libraries
math
randor
mathplotlib.pyplot or any other equivalent plotting library
for constants, see the links on top.
image text in transcribed

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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

Describe effectiveness of reading at night?

Answered: 1 week ago

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago

Question

1. Are my sources credible?

Answered: 1 week ago

Question

3. Are my sources accurate?

Answered: 1 week ago

Question

1. Is it a topic you are interested in and know something about?

Answered: 1 week ago