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
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
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.