How can I use Matlab to plot forces and velocities from level sets?

  • Thread starter Thread starter EsmeraldaRuiz
  • Start date Start date
  • Tags Tags
    Forces Sets
EsmeraldaRuiz
Messages
2
Reaction score
0

Homework Statement



Hi, someone could help to draw the forces or the velocities in
matlab to check if they are properly calculated?.



Homework Equations



I am adding the forces like that phi0 = phi0+dt.*force;
so I do not know how to get the velocity.

but I would like to get the velocities from the force
in vx and vy to be able to plot the forces just to
verify my implementation. Thank you

The Attempt at a Solution

 
Physics news on Phys.org
You can use the equation: v = F/m, where m is the mass of the object. Then, you can use the equation for velocity to calculate the velocities in x and y directions. For example, if your force is given as a vector F with components Fx and Fy, then the velocity in x direction will be vx = Fx/m, and the velocity in y direction will be vy = Fy/m. Once you have calculated the velocities, you can use Matlab's plot function to plot the forces and velocities.
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top