Kinematics
Table of Contents
Position
Velocity
Displacement
The displacement $\Delta x(t_1)$ over the time interval from $t=t_1$ to $t=t_1+\Delta t$ is defined as:
Average Velocity
The average velocity from $\Delta x(t_1)$ over the time interval from $t=t_1$ to $t=t_1+\Delta t$ is defined as:
Instantaneous Velocity
The instantaneous velocity is defined as the time derivative of the position:
Acceleration
average acceleration
The average acceleration over a time interval $\Delta t$ from $t$ to $t + \Delta t$ is:
instantaneous acceleration
The instantaneous acceleration is defined as:
$$ \begin{align*} & a = \text{const.} \\
& v = v_0 + at \\
& x = x_0 + v_0 t + \frac{1}{2} a t^2 \end{align*}$$
% 1D
g = -9.8;
y0 = 1.6;
v0 = 3;
t = 0:0.05:1;
y = y0 + v0*t + 1/2*g*t.^2;
plot(t,y)
xlabel('time in sec')
ylabel('y')
$$ \begin{align*}
\vec{a} & = \text{const.} = a_x \hat{x} + a_y \hat{y} \\ \\
\vec{v} & = \left( v_{0x} + a_x t \right) \hat{x} + \left( v_{0y} + a_y t \right) \hat{y} \\ \\
\vec{r} & = \left( x_{0x} + v_{0x} t + \frac{1}{2} a_x t^2 \right) \hat{x} +
\left( y_{0x} + v_{0y} t + \frac{1}{2} a_y t^2 \right) \hat{y} \\
\\
& \implies \; \text{Two independent 1-D motions} \end{align*}$$
% 2D
g = -9.8;
x0 = 0;
y0 = 1.6;
v0x = 3;
v0y = 3;
t = 0:0.05:1;
x = x0 + v0x*t;
y = y0 + v0y*t + 1/2*g*t.^2;
plot(x,y), axis equal
xlabel('x')
ylabel('y')
%%html
<iframe width="560" height="315"
src="https://www.youtube.com/embed/IS3i_E9Lzw4?list=PLBD_gON7g_m33nR6eOy1GmU3b83rL1oho" frameborder="0" allowfullscreen>
</iframe>
t = [0 0.033 0.067 0.1 0.133 0.167 0.2 0.233 0.267 0.3 0.334 0.367 0.4 0.434 0.467]';
x = [0.001 -0.028 -0.059 -0.087 -0.118 -0.149 -0.175 -0.21 -0.237 -0.262 -0.285 -0.312 -0.344 -0.378 -0.405]';
plot(t,x,'.')
xlabel('t')
ylabel('measured x')
T = [ones(size(t)) t];
b = regress(x,T)
T = [ones(size(t)) t];
b = regress(x,T);
tp = 0:0.01:0.5;
plot(t,x,'o'), hold on
plot(tp,b(1)+b(2)*tp), hold off
xlabel('t')
ylabel('height')
experiment video
regression (data fitting or approximation)
%%html
<iframe width="560" height="315"
src="https://www.youtube.com/embed/Mc6nAtbSMn0?list=PLBD_gON7g_m33nR6eOy1GmU3b83rL1oho" frameborder="0" allowfullscreen>
</iframe>
Experiment result
t = 0:0.1:0.5;
t = t(:);
y = [1.6 1.55 1.4 1.16 0.82 0.39]';
plot(t,y,'o')
xlabel('t')
ylabel('height')
t = 0:0.1:0.5;
t = t(:);
y = [1.6 1.55 1.4 1.16 0.82 0.39]';
T = [ones(size(t)) t.^2];
b = regress(y,T)
plot(t,y,'o'), hold on
tp = 0:0.01:0.5;
plot(tp,b(1)+b(2)*tp.^2), hold off
xlabel('t')
ylabel('height')
We can learn about the magnitude of the gravity
$$ 4.8383 \approx \frac{9.8}{2}$$discrete integration (Euler's method)
$$
\begin{align*}
\upsilon(t_0) &= \upsilon_0\\
x(t_0) &= x_0\\ \\
\upsilon(t_1) &= \upsilon(t_0) + a(t_0)\Delta t\\
x(t_1) &= x(t_0) + \upsilon(t_0)\Delta t\\ \\
& \vdots\\ \\
\upsilon(t_i + \Delta t) &= \upsilon(t_i) + a(t_i)\Delta t\\
x(t_i + \Delta t) &= x(t_i) + \upsilon(t_i)\Delta t
\end{align*}
$$
path = [pwd, '\files'];
temp = load([path,'\therocket.dat']);
t = temp(:,1);
a = temp(:,2);
plot(t,a)
xlabel('time in sec')
ylabel('a [m/s^2]')
%plot -s 600,800
t = temp(:,1);
a = temp(:,2);
dt = t(2) - t(1);
n = length(t);
v = zeros(n,1);
x = zeros(n,1);
v(1) = 0;
x(1) = 0;
for i = 1:n-1
v(i+1) = v(i) + a(i)*dt;
x(i+1) = x(i) + v(i)*dt;
end
subplot(3,1,1), plot(t,x), ylabel('x [m]')
subplot(3,1,2), plot(t,v), ylabel('v [m/s]')
subplot(3,1,3), plot(t,a), ylabel('a [m/s^2]'), xlabel('t [s]')
Motion of a falling tennis ball
motion (position, or displacement) $\rightarrow$ velocity and acceleration
derivative
%%html
<iframe
width="560" height="315" src="https://www.youtube.com/embed/HBsRfaix2SA" frameborder="0" allowfullscreen>
</iframe>
%plot -s 500,400
path = [pwd, '\files'];
temp = load([path,'\fallingtennisball02.dat']);
t = temp(:,1);
y = temp(:,2);
plot(t,y)
xlabel('t [s]');
ylabel('y [m]');
%plot -s 600,800
n = length(t);
dt = t(2) - t(1);
v = zeros(n-1,1);
for i = 1:n-1
v(i) = (y(i+1) - y(i))/dt;
end
a = zeros(n-2,1);
for i = 1:n-2
a(i) = (v(i+1) - v(i))/dt;
end
subplot(3,1,1), plot(t,y), ylabel('x [m]')
subplot(3,1,2), plot(t(2:n),v), ylabel('v [m/s]')
subplot(3,1,3), plot(t(3:n),a), ylabel('a [m/s^2]'), xlabel('t [s]')
%plot -s 500,400
imax = max(find(t<=0.5));
plot(t(3:imax),a(3:imax));
xlabel('t [s]')
ylabel('a [m/sĖ2]')
The acceleration is clearly not a constant in this case. It starts at $ā9.8m/s^2$, but its magnitude becomes smaller with time. (This is due to air resistance).
$$ \vec{A} = A_x \hat{x} + A_y \hat{y} + A_z \hat{z} = \begin{bmatrix} A_x \\ A_y \\ A_z \end{bmatrix} \quad
\text{coordinate with} \; \{\hat{x}, \hat{y}, \hat{z} \}$$
for example,
%%html
<iframe
width="420" height="315" src="https://www.youtube.com/embed/JCampZIwL5w" frameborder="0" allowfullscreen>
</iframe>
$$ \begin{align*} & \text{Mass} \; M \; \text{moves with velocity of} \; v_x \\
& \text{Mass} \; M \; \text{shots ball} \; m \; \text{up with velocity of} \; v_y \end{align*}$$
For frame 1
For frame 2
%%html
<iframe
width="420" height="315" src="https://www.youtube.com/embed/WxqrOYzTRmw" frameborder="0" allowfullscreen>
</iframe>
%%html
<iframe
width="420" height="315" src="https://www.youtube.com/embed/bZXlcDssxhY" frameborder="0" allowfullscreen>
</iframe>
%%html
<iframe
width="420" height="315" src="https://www.youtube.com/embed/lNe59oGVLuE" frameborder="0" allowfullscreen>
</iframe>
%%html
<iframe
width="560" height="315" src="https://www.youtube.com/embed/QQKQzPJj5eg?list=PLBD_gON7g_m33nR6eOy1GmU3b83rL1oho"
frameborder="0" allowfullscreen>
</iframe>
%%html
<iframe
width="420" height="315" src="https://www.youtube.com/embed/kIsQlbNwtPU" frameborder="0" allowfullscreen>
</iframe>
Why do we need to know the cross product?
How to represent $\vec{v}$ and $\vec{a}$ in a cross product form
$$ \large \begin{array}\\ \vec{v} &= \vec{\omega} \times \vec r\\ \vec{a} &= \vec{\omega} \times \vec v\\ &= \vec{\omega} \times \left( \vec{\omega} \times \vec r\right)\\ \\ \lvert\vec{a}\rvert & = r\omega^2 = \frac{v^2}{r} \end{array} $$w = [0 0 1]';
r = [1 0 0]';
v = cross(w,r)
a = cross(w,v)
theta = 45*pi/180;
w = [0 0 1]';
r = [cos(theta) sin(theta) 0]';
v = cross(w,r)
a = cross(w,v)
The Center of Mass
%%html
<iframe
width="560" height="315" src="https://www.youtube.com/embed/Qa_GyOv-JRE" frameborder="0" allowfullscreen>
</iframe>
Questions:
%%javascript
$.getScript('https://kmahelona.github.io/ipython_notebook_goodies/ipython_notebook_toc.js')