Tags: Moodle-Aufgabe Simulation

3.4.K

Gegeben

../../../_images/img1.svg
  • Körper 1 bewegt sich mit Geschwindigkeit \(v_1\) nach oben und stößt auf den zunächst ruhenden Körper 2.

  • Die Körper sind glatt mit Massen \(m_1 = m_2\).

  • Es gibt das grüne \((X, Y)\)-Bezugssystem und das blaue \((x, y)\)-Bezugssystem mit \(x\) in Stoßrichtung und \(y\) senkrecht dazu.

  • \(\varphi_2\) ist die Winkelposition der Stoßrichtung und auch der Winkel, um den das blaue System relativ zum grünen gedreht ist.

  • \(e\) ist die Stoßzahl.

Gegebene Größen:

\[\begin{split}v_1 &= 1 \, \tfrac{\mathrm{cm}}{\mathrm{s}}\\ \varphi_2 &= 115^\circ\\ e &= 0{,}9\end{split}\]

a) (x,y)-Komponenten vor Stoß

Weil Körper 2 vor dem Stoß ruht, ist die Geschwindigkeit von Körper 2 vor dem Stoß gleich null. Und darum sind auch die grünen \((X,Y)\)-Komponenten und die blauen \((x,y)\)-Komponenten des Geschwindigkeitsvektors von Körper 2 vor dem Stoß gleich null:

\[\begin{split}\begin{bmatrix} v_{2X} \\ v_{2Y} \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \quad , \quad \begin{bmatrix} v_{2x} \\ v_{2y} \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}\end{split}\]

Weil Körper 1 vor dem Stoß sich mit der Geschwindigkeit \(v_1\) nach oben bewegt, ist die Geschwindigkeit von Körper 1 vor dem Stoß nicht gleich null. Berechnen Sie die grünen und die blauen Komponenten des Geschwindigkeitsvektors von Körper 1 vor dem Stoß. Zeigen Sie, dass:

\[\begin{split}\begin{bmatrix} v_{1X} \\ v_{1Y} \end{bmatrix} = \begin{bmatrix} 0 \\ v_1 \end{bmatrix} \quad , \quad \begin{bmatrix} v_{1x} \\ v_{1y} \end{bmatrix} \stackrel{\scriptscriptstyle{0{,}01}}{\approx} \begin{bmatrix} 0{,}91 \\ -0{,}42 \end{bmatrix} \tfrac{\mathrm{cm}}{\mathrm{s}}\end{split}\]

Lösung

\(v_1\) ist die Geschwindigkeit nach oben, also in \(Y\)-Richtung. Grüne Komponenten also:

\[\begin{split}\begin{bmatrix} v_{1X} \\ v_{1Y} \end{bmatrix} &= \begin{bmatrix} 0 \\ v_1 \end{bmatrix}\end{split}\]

Blaue Komponenten aus grünen Komponenten berechnen (Passive Transformation):

\[\begin{split}\begin{bmatrix} v_{1x} \\ v_{1y} \end{bmatrix} &= \begin{bmatrix} c & s \\ -s & c \\ \end{bmatrix} \begin{bmatrix} 0 \\ v_1 \end{bmatrix} \\ &= \begin{bmatrix} s \\ c \\ \end{bmatrix} v_1 \\ &\stackrel{\scriptscriptstyle{0{,}01}}{\approx} \begin{bmatrix} 0{,}91 \\ -0{,}42 \end{bmatrix} \tfrac{\mathrm{cm}}{\mathrm{s}}\end{split}\]

mit \(c=\cos\varphi_2\) und \(s=\sin\varphi_2\).

Der Betrag dieser Geschwindigkeit ist unabhängig vom Bezugssystem derselbe, nämlich:

\[\begin{split}v_1 &= \sqrt{ v_{1X}^2 + v_{1Y}^2 } \\ &= \sqrt{0^2 + v_1^2 } \\ &= \sqrt{ v_{1x}^2 + v_{1y}^2 } \\ &= \sqrt{ s^2 v_1 ^2 + c^2 v_1^2 } \\ &= v_1 \sqrt{s^2 + c^2} \\ &= v_1\end{split}\]

b) (x,y)-Komponenten nach Stoß

Berechnen Sie die blauen Komponenten des Geschwindigkeitsvektors von Körper 1 und des Geschwindigkeitsvektors von Körper 2 nach dem Stoß. Zeigen Sie, dass:

\[\begin{split}\begin{bmatrix} \bar v_{1x} \\ \bar v_{1y} \end{bmatrix} &\stackrel{\scriptscriptstyle{0{,}01}}{\approx} \begin{bmatrix} 0{,}05 \\ -0{,}42 \end{bmatrix} \tfrac{\mathrm{cm}}{\mathrm{s}} \\ \begin{bmatrix} \bar v_{2x} \\ \bar v_{2y} \end{bmatrix} &\stackrel{\scriptscriptstyle{0{,}01}}{\approx} \begin{bmatrix} 0{,}86 \\ 0 \end{bmatrix} \tfrac{\mathrm{cm}}{\mathrm{s}}\end{split}\]

Lösung

Wegen \(m_1 = m_2\) und weil die Körper glatt sind und mit der gegebenen Geschwindigkeit \(v_1\) und der gegebenen Stoßrichtung \(\varphi_2\) ergibt sich:

\[\begin{split}\bar v_{1x} &= \tfrac{1 - e}{2} v_1 s \\ \bar v_{1y} &= v_1 c \\ \bar v_{2x} &= \tfrac{1 + e}{2} v_1 s \\ \bar v_{2y} &= 0 \\\end{split}\]

Dasselbe mit Matrizen:

\[\begin{split}\begin{bmatrix} \bar v_{1x} \\ \bar v_{1y} \end{bmatrix} &= \begin{bmatrix} \tfrac{1 - e}{2}s\\ c \end{bmatrix} v_1 \\ \begin{bmatrix} \bar v_{2x} \\ \bar v_{2y} \end{bmatrix} &= \begin{bmatrix} \tfrac{1 + e}{2} s\\ 0 \end{bmatrix} v_1\end{split}\]

Einsetzen der gegebenen Größen liefert die Behauptung.

Details siehe Weitere Infos und Beispiele ganz unten.

c) (X,Y)-Komponenten nach Stoß

Berechnen Sie die grünen Komponenten des Geschwindigkeitsvektors von Körper 1 nach dem Stoß. Zeigen Sie, dass:

\[\begin{split}\begin{bmatrix} \bar v_{1X} \\ \bar v_{1Y} \end{bmatrix} &\stackrel{\scriptscriptstyle{0{,}01}}{\approx} \begin{bmatrix} 0{,}36 \\ 0{,}22 \end{bmatrix} \tfrac{\mathrm{cm}}{\mathrm{s}}\end{split}\]

Lösung

\[\begin{split}\begin{bmatrix} \bar v_{1X} \\ \bar v_{1Y} \end{bmatrix} &= \begin{bmatrix} c & -s \\ s & c \\ \end{bmatrix} \begin{bmatrix} \bar v_{1x} \\ \bar v_{1y} \end{bmatrix} \\ &= \begin{bmatrix} c & -s \\ s & c \\ \end{bmatrix} \begin{bmatrix} \tfrac{1 - e}{2} s \\ c \end{bmatrix} v_1 \\ &= \begin{bmatrix} - \frac{c e s}{2} - \frac{c s}{2}\\ c^{2} - \frac{e s^{2}}{2} + \frac{s^{2}}{2} \end{bmatrix} v_1\end{split}\]

Einsetzen der gegebenen Größen liefert die Behauptung.

d) Winkelposition von \(v_1\)

Berechnen Sie die Winkelposition \(\varphi_1\) des Geschwindigkeitsvektors von Körper 1 nach dem Stoß. Zeigen Sie, dass:

\[\varphi_1 \stackrel{\scriptscriptstyle{0{,}01}}{\approx} 31{,}12^\circ\]

Lösung

Betrag des Geschwindigkeitsvektors von Körper 1 nach dem Stoß:

\[\bar v_1 = \sqrt{{\bar v_{1x}}^2 + {\bar v_{1y}}^2}\]

Winkelposition:

\[\varphi_1 = 2 \arctan \frac{\bar v_{1Y}}{\bar v_1 + \bar v_{1X}}\]

Einsetzen der gegebenen Größen liefert die Behauptung.

Lösung auf einer Seite und weitere Beispiele

SymPy

Source Code eines Programms dazu:

from sympy.physics.units import kg, m, s
from sympy import pi, S, pprint, symbols, cos, sin, Matrix, Eq, solve, sqrt, exp, simplify
from sympy import atan, atan2

# Units:
N         =  kg*m/s**2
k, M, G   =  10**3, 10**6, 10**9
kN        =  k*N
Pa        =  N/m**2
MPa, GPa  =  M*Pa, G*Pa
deg       =  pi/180
half      =  S(1)/2
cm        =  m/100
mm        =  m/1000

# Rounding:
def iso_round(x, pv):
    try:
        x = float(x)
        tmp = round(x, pv)
    except TypeError:
        x = x.evalf()
        from functools import partial
        func = partial(round, ndigits = pv)
        tmp = x.applyfunc(func)
    return tmp

# Governing Equations:

# # 12 symbols:
# V1x, V1y, V2x, V2y = symbols("V1x, V1y, V2x, V2y", real=True)
# v1x, v1y, v2x, v2y = symbols("v1x, v1y, v2x, v2y", real=True)
# m1, m2 = symbols("m1, m2", positive=True)
# F = symbols("F", real=True)
# e = symbols("e", positive=True)

# # 5 equations:
# eq1 = Eq( v1y, V1y )
# eq2 = Eq( v2y, V2y )
# eq3 = Eq( m1*v1x - m1*V1x , -F )
# eq4 = Eq( m2*v2x - m2*V2x , +F )
# eq5 = Eq( e, - (v1x - v2x) / (V1x - V2x) )

# --- Start of Input ---


list_phi = []
list_E = []

# 0
list_phi.append(115)
list_E.append(S(9)/10)

# 1
list_phi.append(125)
list_E.append(S(6)/10)

# 2
list_phi.append(120)
list_E.append(S(8)/10)

# 3
list_phi.append(115)
list_E.append(S(5)/10)

# 4
list_phi.append(125)
list_E.append(S(10)/10)

# 5
list_phi.append(105)
list_E.append(S(6)/10)

# 6
list_phi.append(130)
list_E.append(S(10)/10)

case = 1
prec = 2

phi, E= symbols("φ₂, e", real=True)
v1= symbols("v1", positive=True)

sub_list = [
    ( phi, list_phi[case] ),
    (   E, list_E[case]   ),
    ]

short_cuts = [
    (cos(phi*deg), "c"),
    (sin(phi*deg), "s"),
    ]

pprint("\nCase:")
pprint(case)
pprint("\nφ₂ / deg:")
pprint(phi.subs(sub_list))
pprint("\ne:")
pprint(E.subs(sub_list))

# Shortcuts:
c, s = cos(phi*deg), sin(phi*deg)
R = Matrix([[c, s], [-s, c]])
Rt = R.transpose()

pprint("\n(v₁x, v₁y) / v₁:")
v1v = Matrix([v1*s, v1*c])
tmp = v1v
tmp /= v1
pprint(tmp.subs(short_cuts))
tmp = tmp.subs(sub_list)
pprint(iso_round(tmp, prec))

v1by = v1*c
v2by = 0
v1bx = half*(1-E)*s*v1
v2bx = half*(1+E)*s*v1

pprint("\n(ṽ₁x, ṽ₁y) / v₁:")
v1b = Matrix([v1bx, v1by])
tmp = v1b
tmp /= v1
pprint(tmp.subs(short_cuts))
tmp = tmp.subs(sub_list)
pprint(iso_round(tmp, prec))

pprint("\n(ṽ₂x, ṽ₂y) / v₁:")
v2b = Matrix([v2bx, v2by])
tmp = v2b
tmp /= v1
pprint(tmp.subs(short_cuts))
tmp = tmp.subs(sub_list)
pprint(iso_round(tmp, prec))

pprint("\n(ṽ₁X, ṽ₁Y) / v₁:")
v1B = Rt*v1b
tmp = v1B
tmp /= v1
tmp = tmp.expand()
pprint(tmp.subs(short_cuts))
tmp = tmp.subs(sub_list)
pprint(iso_round(tmp, prec))

pprint("\nφ₁ / deg:")
x = v1B[0]/v1
y = v1B[1]/v1
x = x.subs(sub_list).expand()
y = y.subs(sub_list).expand()
tmp = atan2(y,x)
tmp /= deg
pprint(iso_round(tmp, 1))

v = v1b.norm()

vx, vy = v1B[0], v1B[1]
tmp = 2*atan(vy/(v + vx))
tmp = tmp.subs(sub_list)
tmp = tmp.simplify()
tmp /= deg
pprint(iso_round(tmp, 1))

pprint("\nṽ₁:")
tmp = v/v1
tmp = tmp.subs(sub_list)
pprint(iso_round(tmp, prec))

Programm ausführen? Dazu:

  1. Copy: Source Code in die Zwischenablage kopieren.

  2. Paste: Source Code ins Eingabefeld hinter [ ]: einfügen.

  3. Play: Knopf ▶ drücken.