Table of contents
We begin our journey in mechanics using Newtonian physics, which works quite well in statics. Newton's model of how bodies are interacting with one another can be described by three laws
Newton's first law: The law of inertia (tröghetslagen)
A body is at rest or moving at a constant speed in a straight line unless acted upon by a force. For a body to be at rest or constant speed the forces acting on it must be in balance. This means that bodies are coming to a rest only by some friction or air resistance acting on them.
Newton's second law: The law of acceleration
The rate change of the momentum (rörelsemängd) of a body is equal to the force acting on it.
Here we use Newton's notation for time derivatives. Using Leibniz notation, Newton's second law states
Newton's third law: The law of action and reaction
When two bodies interact, they apply forces to one another that are equal in magnitude and opposite in direction.
A special case is gravity, where according to Newtonian physics, two bodies are attracting each other with a force
where is the distance between the center of masses of the two bodies and is the universal gravity constant. Setting the mass of the earth to and the radius , assuming that we are at the height over the surface of the earth, the distance between the center of the earth and an object can be assumed to be since , we thus get
The force is called the weight (tyngden) of , or the gravity (tyngdkraften) acting on which is a force vector with a unit of Newton . Note the difference between the weight and the mass which is a scalar with the unit .
A force is a vector, carrying information about the magnitude and direction of how a body is interacting with it's surrounding. A force can be a weight, caused by an object having a mass and being attracted by the earth, the moon or really any other object. Another type of force is a spring which has a spring force which is proportional to the springs displacement by a spring constant. We have contact forces between bodies.
A weight is continuously distributed across a bodies volume, but we model it as a total force acting at a singular point, the center of gravity of a body. The pressure acting on a balloon is distributed force across a surface. We will be dealing with both types of forces, and need to be able to go from one to another by replacing a distributed force with a point load and a point of action.
Most things in mechanics are treated as vectors, e.g., forces, torques (moments), "points of action", positions, moment arm, displacement, velocity.
We usually denote vectors with lower case bold symbols, and their scalars with the same lower case symbols. Their relationship is
The underline notation is used when writing on the board during a lecture.
A vector can be expressed in two ways
Component form: where the later is a linear combination of standard bases (Cartesian base vectors) and the components. We always denote vectors as column vectors. For convenance and to save space we write them as row-vectors and transpose them. Points are the exception, they are written out as row vectors e.g., .
Vector form (pointing): , where is a unit vector (a vector of unit length) pointing in a:s direction.
In mechanics we tend to break the naming convention and use capital letters to denote forces, torques and points. e.g., .
Note the difference between a point and a position vector. A point can be e.g., but a position vector is a vector defined as starting in the origin and ending in the point, e.g.,
Using the right-hand rule we define a coordinate system with positively to the right, positively up and thus is given positively outward from the screen.
We will see many problems that are simplified into 2D, so called plane problems, these are remnants of the old days when we only could do calculations by hand. With modern computer tools we can treat vectors naturally as 3D vectors, with the additional advantage of being able to visualize them. However, many problems can still be accurately simplified into 2D.
The cursed angles
Be vary of introducing angles for computation! Only accept angles as input data (with skepticism) to create a proper vector. Angles occur naturally to parameterize kinematics, this is not a case where we want to avoid angles. What we mean is situations where angles are introduced to formulate directions without there being an explicit need. See example 1 below for an example.
These are the most typical types of forces that can appear in the wild.
We shall define these as vectors. ,
For we could have introduced an angle, but this is not necessary and should be avoided!
The last force is closer to how a force would be described outside of a textbook on mechanics, in the real world: a force in a point acting towards another point. This is much easier to measure in the real world.
clear
F1 = 600*[cosd(35), sind(35), 0].'
F1 = 3x1
491.4912
344.1459
0
F2 = 500*[-4/5, 3/5, 0].'
F2 = 3x1
-400
300
0
In Matlab we can quickly compute the norm (magnitude) of a vector simply by using the function norm()
which basically does .
Many times we need to compute the unit vector for some vector . Unfortunately there is no built in function in Matlab to do so. But we can create our own functions easily, the simplest way is to create an anonymous function.
normalize = @(a)a./norm(a);
No we can easily create that third vector.
F3 = 800*normalize([0.4,-0.3,0] - [0.2, 0.1, 0]).'
F3 = 3x1
357.7709
-715.5418
0
The resulting force,
R = F1+F2+F3
R = 3x1
449.2621
-71.3959
0
And its magnitude,
norm(R)
ans = 454.8998
In practice, for dimensioning purposes, both the resulting force and the components of forces are of interest. In this case we might be interested in the resulting force in the y-direction, which we can get directly by reading the vector or accessing (indexing) the vector.
R(2)
ans = -71.3959
Finally, we plot the situation.
figure
OA = [0.2,0.1,0]';
OB = [0.4,-0.3,0]';
plot([OA(1),OB(1)],[OA(2),OB(2)],'k--','HandleVisibility','off');
hold on; axis equal;
axis([0,0.5,-0.4,0.3])
quiver(OA(1),OA(2),F1(1),F1(2),0.2/norm(F1),'b','LineWidth',2,'Displayname','F1')
quiver(OA(1),OA(2),F2(1),F2(2),0.2/norm(F2),'c','LineWidth',2,'Displayname','F2')
quiver(OA(1),OA(2),F3(1),F3(2),0.2/norm(F3),'r','LineWidth',2,'Displayname','F3')
quiver(OA(1),OA(2),R(1),R(2),0.2/norm(R),'k','LineWidth',2,'Displayname','R')
legend('show','Location','southwest')
Combine the two forces , which act on the fixed structure at B, into a single equivalent force
Set the origin in the point and compute .
The height is
clear
normalize = @(a)a./norm(a);
BD = 6*sind(60)
BD = 5.1962
CD = 6*cosd(60)
CD = 3
OA = [-(3+CD),-BD,0]'
OA = 3x1
-6.0000
-5.1962
0
T = 600*normalize(OA)
T = 3x1
-453.5574
-392.7922
0
P = [800,0,0]'
P = 3x1
800
0
0
R = T+P
R = 3x1
346.4426
-392.7922
0
norm(R)
ans = 523.7444
You can verify the geometry using a simple CAD sketch, see the figure below.
Forces and act on the bracket as shown. Determine the projection of their resultant onto the b-axis.
Determine the resultant and project it onto . Set the origin in C.
This answers the question: how much of the total force goes along direction ?
clear
normalize = @(a)a./norm(a);
proj = @(a, b)dot(a,b)/dot(b,b)*b;
ea = [cosd(30), sind(30), 0]
ea = 1x3
0.8660 0.5000 0
eb = [cosd(20), -sind(20), 0]
eb = 1x3
0.9397 -0.3420 0
F1 = 100*ea
F1 = 1x3
86.6025 50.0000 0
F2 = 80*eb
F2 = 1x3
75.1754 -27.3616 0
R = F1+F2
R = 1x3
161.7780 22.6384 0
Rn = norm(R)
Rn = 163.3542
Fb = norm(proj(R,eb))
Fb = 144.2788
Answer: The magnitude of the resultant force projected in the b-direction is
A very common type of problem in mechanics: Splitting forces into normal and tangential components to be used in modeling.
Determine the component, which represents a radial force at as well as the normal force caused by the external force vector according to the figure.
The force is given by
The n-t- coordinates are given by
Then it's just a matter of projecting onto and
normalize = @(a)a./norm(a);
proj = @(a, b)dot(a,b)/dot(b,b)*b;
P = 260*normalize([-12, -5,0])
P = 1x3
-240 -100 0
t = [cosd(90+30), sind(90+30), 0]
t = 1x3
-0.5000 0.8660 0
n = [cosd(90+30+90), sind(90+30+90), 0]
n = 1x3
-0.8660 -0.5000 0
Fn = proj(P,n)
Fn = 1x3
-223.3013 -128.9230 0
norm(Fn)
ans = 257.8461
Ft = proj(P,t)
Ft = 1x3
-16.6987 28.9230 0
norm(Ft)
ans = 33.3975
Answer:
Determine the force vector such that the resulting force on the boat is N in the positive -direction.
We will make the ansatz and treat and as symbolic unknown variables.
The resultant:
we get
we essentially have two unknowns and two unique equations (disregarding the 0=0 "equation"), meaning that we have a unique solution.
clear
normalize = @(a)a./norm(a);
proj = @(a, b)dot(a,b)/dot(b,b)*b;
syms F_x F_y % Declare symbolic variables
F = [F_x, F_y, 0].'
Resultant
R = F + 250*[cosd(38), sind(38), 0].'
use vpa to convert to decimal and make it easier to read, five significant numbers was given, so:
R = vpa(R,5)
Now we shall solve the system of equations, we are solving for the two unknown variables and .
[F_x, F_y] = solve(R==[1000.0, 0, 0].')
Sanitiy check:
R = vpa(subs(R),5)
vpa(norm(subs(F)),5)
Answer: needs to be 817.62N for the resulting force to be 1000.0N