CDS 240, Spring 2016: HW 3: Difference between revisions

From Murray Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 7: Line 7:
  | issued = 2 May 2016 (Mon) <br> (updated 4 May)
  | issued = 2 May 2016 (Mon) <br> (updated 4 May)
  | due = 11 May 2016 (Thu)
  | due = 11 May 2016 (Thu)
}} __MATHJAX__
}}
 
{{warning|I'm still trying to resolve the mathematics formatting on this page.  If you don't read latex, let me know and I'll e-mail you a PDF with the equations -richard}}
 
'''Note:''' In the upper left hand corner of the ''second'' page of your homework set, please put the number of hours that you spent on
this homework set (including reading).


<ol>
<ol>
Line 22: Line 17:
<li>'''MLS, Problem 6.1'''
<li>'''MLS, Problem 6.1'''
[[Image:spherical-pendulum.png|right]]
[[Image:spherical-pendulum.png|right]]
Calculate the dynamics of a spherical pendulum using the Lagrange-d'Alambert equations.  The system consists of a mass $m$ suspended from a rigid wire that is free to pivot in any direction at its point of attachment (a spherical joint).  Choose as your primary coordinates the $xy$ position of the bottom of the pendulum.
Calculate the dynamics of a spherical pendulum using the Lagrange-d'Alambert equations.  The system consists of a mass <math>m</math> suspended from a rigid wire that is free to pivot in any direction at its point of attachment (a spherical joint).  Choose as your primary coordinates the xy position of the bottom of the pendulum.
<br clear=both>
<br clear=both>
</li>  
</li>  
<li> (updated 4 May) Consider a constrained Lagrangian system with
<li> (updated 4 May) Consider a constrained Lagrangian system with
<center>
<center><math>
   L(q, \dot q) = \frac{1}{2} \dot q^T \dot q, \qquad \omega(q) \dot q = \dot q_3 - q_2 \dot q_1 = 0.
   L(q, \dot q) = \frac{1}{2} \dot q^T \dot q, \qquad \omega(q) \dot q = \dot q_3 - q_2 \dot q_1 = 0.
</center>
</math></center>
Show that substituting the constraints into the Lagrangian and then applying Lagrange's equations (without constraints) gives the incorrect equations of motion.
Show that substituting the constraints into the Lagrangian and then applying Lagrange's equations (without constraints) gives the incorrect equations of motion.
</li>
</li>
<li>
<li>
A planar pendulum (in the $x$-$z$ plane) of mass $m$ and length $\ell$ hangs from a support point that moves according to $x=a\cos (\omega t)$.  Find the Lagrangian, the Hamiltonian, and write the first-order equations of motion for the pendulum.
A planar pendulum (in the x-z plane) of mass <math>m</math> and length <math>\ell</math> hangs from a support point that moves according to <math>x=a\cos (\omega t)</math>.  Find the Lagrangian, the Hamiltonian, and write the first-order equations of motion for the pendulum.
</li>
</li>
</ol>
</ol>
Line 39: Line 34:
<br>
<br>
Show that the system
Show that the system
<center><amsmath>\aligned
<center>
\dot x&=a_{11}x+a_{12}y+Ax^2-2Bxy+Cy^2\\
{|
\dot y&=a_{21}x-a_{11}y+Dx^2-2Axy+By^2
|-
\endaligned</amsmath></center>
| align=left | <math>\dot x = a_{11}x + a_{12} y + Ax^2 - 2 B x y + C y^2</math>
|-
| align=left | <math>\dot y =a_{21}x-a_{11}y+Dx^2-2Axy+By^2 </math>
|}
</center>
is a Hamiltonian system with one degree of freedom; i.e., find the Hamiltonian function $H(x,y)$ for this system.
is a Hamiltonian system with one degree of freedom; i.e., find the Hamiltonian function $H(x,y)$ for this system.
</li>
</li>
<li>'''MLS, Problem 7.2''' <br>
<li>'''MLS, Problem 7.2''' <br>
Show that the differential constraint in $\reals^5$ given by
Show that the differential constraint in <math>\reals^5</math> given by
<center>
<center><math>
\begin{displaymath}
\left[ \begin{matrix}  0&  1 &  \rho \sin q_5 & \rho \cos q_3 & \cos q_5 \end{matrix} \right] \dot{q} = 0
\bmatrix 0&  1 &  \rho \sin q_5 & \rho \cos q_3 & \cos q_5 \endbmatrix \dot{q} = 0
</math></center>
\end{displaymath}
</center>
is nonholonomic.
is nonholonomic.
</li>
</li>

Revision as of 22:25, 5 May 2016

R. Murray, J. Doyle Issued: 2 May 2016 (Mon)
(updated 4 May)
CDS 240, Spring 2016 Due: 11 May 2016 (Thu)
  1. MLS, Problem 4.1
    Pendulum-wire.png

    Derive the equations of motion for a pendulum on a wire: an idealized planar pendulum whose pivot is free to slide along a horizontal wire. Assume that the top of the pendulum can move freely on the wire.

  2. MLS, Problem 6.1
    Spherical-pendulum.png

    Calculate the dynamics of a spherical pendulum using the Lagrange-d'Alambert equations. The system consists of a mass suspended from a rigid wire that is free to pivot in any direction at its point of attachment (a spherical joint). Choose as your primary coordinates the xy position of the bottom of the pendulum.

  3. (updated 4 May) Consider a constrained Lagrangian system with

    Show that substituting the constraints into the Lagrangian and then applying Lagrange's equations (without constraints) gives the incorrect equations of motion.

  4. A planar pendulum (in the x-z plane) of mass and length hangs from a support point that moves according to . Find the Lagrangian, the Hamiltonian, and write the first-order equations of motion for the pendulum.
  1. Perko, Section 2.14, problem 1(a)
    Show that the system

    is a Hamiltonian system with one degree of freedom; i.e., find the Hamiltonian function $H(x,y)$ for this system.

  2. MLS, Problem 7.2
    Show that the differential constraint in given by

    is nonholonomic.

  3. MLS, Problem 7.7
    A firetruck can be modeled as a car with one trailer, with the difference that the trailer is steerable, as shown in the figure below.
    Mls-firetruck.png

    The constraints on the system are similar to that of the car in Section 7.3 of MLS, with the difference that back wheels are steerable. Derive the nonlinear control system for a firetruck corresponding to the control inputs for driving the cab and steering both the cab and the trailer, and show that it represents a controllable system.