MATLAB: forces acting on an object

In summary: The user would input values for mass, horizontal and vertical forces acting on the left and right, and force acting upwards or downwards.
  • #1
lc99
161
3
i have a assignment for my MATLAB (first year) class, and I am slightly confused om what exactly i should be coding.

im not struggling with the coding part, but what i am suppose to code.

im used to coding based on what it is needed.

So, for my project, I am suppose to represent the forces acting upon objects in motion such that I am suppose to calculate these forces (such as an automobile, bicycle, airplane, or person).

im not sure how this program will turn out.

i really want clarification with what i am doing.

So, my plan is to let the user input information about an object such as the objects forces or weight, friction, normal force, and pull force(not sure what else). The user woild provide values and ill just calculate the total forces in the x and y direction.

however, I am not sure what is going to satisfy this project in terms of visually representing this on matlab's GUI. we've only learn some beginner skills. Can someone provide guidance or advice?
 
Physics news on Phys.org
  • #2
As far as what type of visual display you should create will depend on what your grader is looking for. Does it have to use Matlab, or are other software acceptable. Since it seems you are comfortable coding (just not in Matlab), perhaps you could ask what is acceptable.

The weight of this project in proportion to the rest of the class should give you and indication of how much effort should go to it. I would want to see the program give an indication if the forces are balanced, and if they are not, the amount and direction of resulting acceleration.

Are you allowed to work with others for ideas on the project? If so, this could really help.
 
  • #3
scottdave said:
As far as what type of visual display you should create will depend on what your grader is looking for. Does it have to use Matlab, or are other software acceptable. Since it seems you are comfortable coding (just not in Matlab), perhaps you could ask what is acceptable.

The weight of this project in proportion to the rest of the class should give you and indication of how much effort should go to it. I would want to see the program give an indication if the forces are balanced, and if they are not, the amount and direction of resulting acceleration.

Are you allowed to work with others for ideas on the project? If so, this could really help.

these are the grades per effort we are provided:
C: You create a series of MATLAB functions that will perform calculations for different
parameters of the physics problem you chose. This must be more flexible than simply solving
for a single variable based on a set of inputs. The user must be able to customize which
variables to solve for, and which variables they want to input.
B: You create a visual representation of your system in a MATLAB plot. This can be a free
body diagram, magnetic and electrical field diagram, circuit diagram, or other appropriate
visualization.
A: User input parameters and visualizations are contained within a GUI

yes, i am allowed to work in a group. However, it seems my group isn't responding to any msges and are just ignoring the project. So i woulf love to get a headstart and get an idea of how this project should word.

we have to use MATLAB and matlab's gui "guide" to do this.

Also, this project is like 15% of our grade.
 
  • #4
scottdave said:
The weight of this project in proportion to the rest of the class should give you and indication of how much effort should go to it. I would want to see the program give an indication if the forces are balanced, and if they are not, the amount and direction of resulting acceleration.

thanks, this is helpful. i kinda understand now how the program should work. So, would the user input values of mass, horizontal forces acting on the left and right, and vertical forces acting upwards or downwards? or should the inputs be more specific?
 

What is MATLAB and how is it used in studying forces acting on an object?

MATLAB is a programming language and numerical computing environment used by scientists and engineers to analyze and visualize data. It can be used to study the forces acting on an object by creating mathematical models and simulating the behavior of the object under different conditions.

What are the different types of forces that can act on an object?

The types of forces that can act on an object include gravitational force, normal force, frictional force, tension force, and applied force. These forces can either be acting on the object in a specific direction or at different points on the object.

How can I calculate the net force on an object using MATLAB?

To calculate the net force on an object using MATLAB, you will need to define the magnitude and direction of each individual force acting on the object. Then, you can use the principle of vector addition to find the resultant force, which is the net force acting on the object.

Can MATLAB be used to visualize the forces acting on an object?

Yes, MATLAB has built-in tools for creating visualizations, such as graphs and animations, which can be used to visualize the forces acting on an object. This can help in understanding the behavior of the object under different forces and conditions.

Are there any built-in functions or toolboxes in MATLAB specifically designed for studying forces acting on an object?

Yes, MATLAB has a built-in mechanics toolbox that includes functions for calculating and visualizing forces, as well as simulating the motion of objects under different forces. This toolbox can be useful for studying forces acting on an object in a variety of scenarios.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
820
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
12
Views
3K
Back
Top