<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">WJM</journal-id><journal-title-group><journal-title>World Journal of Mechanics</journal-title></journal-title-group><issn pub-type="epub">2160-049X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/wjm.2018.86018</article-id><article-id pub-id-type="publisher-id">WJM-85448</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Kinematics of a Holonomic Constraint Rod &amp; Cube System
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Haiduke</surname><given-names>Sarafian</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>The Pennsylvania State University, University College, York, PA, USA</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>has2@psu.edu</email></corresp></author-notes><pub-date pub-type="epub"><day>12</day><month>06</month><year>2018</year></pub-date><volume>08</volume><issue>06</issue><fpage>227</fpage><lpage>235</lpage><history><date date-type="received"><day>18,</day>	<month>May</month>	<year>2018</year></date><date date-type="rev-recd"><day>19,</day>	<month>June</month>	<year>2018</year>	</date><date date-type="accepted"><day>22,</day>	<month>June</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  A loose rod of mass m1 and length 
  <em>l</em> leans against one of the faces of a cube of mass 
  <em>m</em>
  <sub>2</sub> and side length 
  <em>a</em>. The assembly is placed on a horizontal table with one end of the rod touching the table and its other end leaning against the edge of the cube. We set the rod and the center of mass of the cube on the same vertical plane, and then we release the assembly from the rest. For frictionless contacts, we calculate the separation runtime of the rod from the cube as a function of 
  <em>m</em>
  <sub>2</sub>/
  <em>m</em>
  <sub>1</sub> and 
  <em>a</em>/
  <em>l</em>. This entails forming the equation describing the motion of the system. The equation of motion is analytically unsolvable nonlinear differential equation. Applying a Computer Algebra System, specifically 
  <em>Mathematica</em> [1] [2], we solve the equation numerically. Utilizing the solution, in addition to evaluating the separation runtime, we quantify a list of dynamic quantities, such as the time-dependent interface forces, and, geometric quantities, such as the trajectory of the loose end of the rod. A robust 
  <em>Mathematica</em> code addresses the “what if” scenarios.
 
</p></abstract><kwd-group><kwd>Lagrangian and Hamiltonian Methods</kwd><kwd> Computer Algebra System</kwd><kwd> Mathematica</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Motivation of suggested investigation stems from the fact that the proposed assembly is composed of a sliding cube that acts as a point-like object with only linear kinematics in contrast to the rod that in addition to the former possesses rotational degrees of freedom. The length of the rod adds additional features to the physics of the problem in contrast to the movement of the pair point-like objects in the two-body problem reported in [<xref ref-type="bibr" rid="scirp.85448-ref3">3</xref>] . The leaning rod against the cube constitutes a holonomic constraint reducing the number of degrees of freedom. These two features, namely, 1) rotation of the rod and 2) its constraint movement sparked the investigation. The problem appears to be a 2D two-body problem with numerous degrees of freedom however; the restricted motion of the rod practically reduces to a problem with only one degree of freedom. In so many words, the kinematic information about the entire system comes about from the solution of a single nonlinear differential equation with its dependent variable being the inclination angle of the rod w/floor. The equation of motion is analytically unsolvable, proving the effective usefulness of a Computer Algebra System, specifically Mathematica. Utilizing the numeric solution in hand, we quantify a list of kinematic information primary as noted the separation runtime of the rod-cube system. Additional quantities such as speed, acceleration and contact forces of the bodies are also quantified as well. This article is composed of three sections. In addition to Introduction in Section 2 applying Lagrangian and Hamiltonian methods, we develop the needed formulation conducive to equation of motion. This section includes sub-sections: Rod-Cube contact force and Trajectory of the tip of the rod. Section 3 is the Results. In this section, we utilize Mathematica numeric utilities solving the needed equations conducive to quantifying kinematic and dynamic quantities of interest. We close the report with concluding remarks suggesting ideas furthering the investigation.</p></sec><sec id="s2"><title>2. Physics of the Problem and Its Solution</title><p><xref ref-type="fig" rid="fig1">Figure 1</xref> depicts the schematic of the problem on hand.</p><p>As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, one end of a uniform rod of length ℓ and mass m<sub>1</sub> touches the horizontal surface at x<sub>1</sub>, its other end leans against the left vertical face of the cube at C(x<sub>2</sub>, y<sub>2</sub>). The cube has a mass of m<sub>2</sub> with side length a. The rod and the center of mass (cm) of the cube are on a vertical plane. Relevant forces acting on the rod namely the contact with the floor, N, the weight, W, and the one with the cube, F<sub>21</sub>, are also shown.</p><p>Releasing the assembly from rest sets the system in motion. This is because for the frictionless surfaces there is an unbalanced horizontal contact force acting on the cube, not shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>; it acts opposite to shown F<sub>21</sub>. As depicted, the same value of the force F<sub>21</sub> acts on the rod pushing it to the left setting it in motion. However, as the rod slides its center of mass falls and the rod rotates about the sliding contact point x<sub>1</sub>. While the rod falls its “circulation radius” shortens hence separation is warranted. In a different scenario if the rod was hinged at x<sub>1</sub> so that circulation radius would have stayed constant separation would have occurred. For either scenario one speculates the separation runtime would depend to the masses in motion and respective dimensions of the bodies. It is one of the objectives of this investigation to quantify separation runtime. As we were developing the formulation of the problem also we quantify a list of interesting quantities. The proposed problem is different from the “classic” version [<xref ref-type="bibr" rid="scirp.85448-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.85448-ref5">5</xref>] where the rod leans against a vertical wall.</p><p>To bypass the dynamic quantities, i.e. forces, for time being we formulate the problem following Lagrangian method. Lagrangian of the system is composed of two pieces, one for the cube and the other one for the rod. Kinetic energy of the</p><p>cube is T c u b e = 1 2 m 2 x ˙ 2 2 and its potential energy with respect to the table top is</p><p>V c u b e = m 2 g a 2 . Kinetic energy of the rod in addition to a 2D motion of the cm includes its rotational energy about the cm. These two terms are,</p><p>T r o d = 1 2 m 1 v c m 2 + 1 2 I c m ω 2</p><p>where ω equals θ ˙ is the angular velocity of the rod about the cm; I c m = 1 12 m 2 l 2 . Its potential energy is V r o d = m 1 g y 1 c m ; g is the gravity constant; according to tradition dotted quantities are the derivatives w/time. As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, it is clear that the angular velocity of the rod about its cm is the same as its angular velocity w/contact point; θ is the inclination angle of the rod w/horizontal.</p><p>Conveniently the origin is set as shown. Accordingly,</p><p>{ x 2 = x 1 + l cos ( θ ) x 1 c m = x 1 + 1 2 l cos ( θ ) y 1 c m = 1 2 l sin ( θ ) (1)</p><p>their respective velocities are,</p><p>{ x ˙ 2 = x ˙ 1 − l θ ˙ sin ( θ ) x ˙ 1 c m = x ˙ 1 − 1 2 l θ ˙ sin ( θ ) y ˙ 1 c m = 1 2 l θ ˙ cos ( θ ) (2)</p><p>conducive to, v c m 2 = x ˙ 2 1 c m + y ˙ 2 1 c m .</p><p>Utilizing the last equation and Equation (2), Lagrangian of the system, e.g. L = T r o d + T c u b e − ( V r o d + V c u b e ) gives,</p><p>L = 1 2 m 1 [ x ˙ 1 2 + ( l 2 ) 2 θ ˙ 2 − l x ˙ 1 θ ˙ sin ( θ ) ] + 1 2 I c m θ ˙ 2     + 1 2 m 2 [ x ˙ 1 − l θ ˙ sin ( θ ) ] 2 − m 1 g l 2 sin ( θ ) − m 2 g a 2 (3)</p><p>Equation (3) reveals the Lagrangian is independent of x<sub>1</sub>, meaning x<sub>1</sub> is a cyclic variable; ∂ L ∂ x 1 = 0 . Because ∂ L ∂ x ˙ 1 ≡ P x 1 according to Euler-Lagrange equation d d t P x 1 = 0 warrants the conservation of the linear momentum of the system</p><p>along the horizontal direction. Explicitly, momentum of the system P x 1 is,</p><p>P x 1 ≡ ∂ L ∂ x ˙ 1 = m 1 [ x ˙ 1 − 1 2 l θ ˙ sin ( θ ) ] + m 2 [ x ˙ 1 − l θ ˙ sin ( θ ) ] = 0 (4)</p><p>The RHS of Equation (4) is set zero in accordance the initial rest state of the system. Accordingly, Equation (4) sets a relationship between the two variables, namely,</p><p>x ˙ 1 = ( 1 2 m 1 + m 2 m 1 + m 2 ) l θ ˙ sin ( θ ) (5)</p><p>Substituting Equation (5) in (3), yields,</p><p>L ( θ , θ ˙ ) = 1 2 m 1 l 2 [ − 1 4 m 1 m 1 + m 2 sin 2 ( θ ) + 1 3 ] θ ˙ 2 − m 1 g l 2 sin ( θ ) − m 2 g a 2 (6)</p><p>Therefore substituting Equation (6) to Euler-Lagrange equation, d d t ∂ L ∂ θ ˙ − ∂ L ∂ θ = 0</p><p>yields the equation of motion. Equation of motion is a challenging second order ODE. Although it can be solved numerically, however, the primary objective is not to identify θ = θ(t), but rather t = t(θ). Therefore, we make a strategy change, namely, because there are no dissipative forces, conservation of energy is warrant we consider the Hamiltonian of the system, namely, H = T + V ≡ Energy, this yields,</p><p>H ( θ , θ ˙ ) ≡ E = 1 2 m 1 l 2 [ − 1 4 m 1 m 1 + m 2 sin 2 ( θ ) + 1 3 ] θ ˙ 2 + m 1 g l 2 sin ( θ ) + m 2 g a 2 (7)</p><p>Equating this to the value of the energy of the system at rest, E<sub>0</sub>, gives,</p><p>1 2 m 1 l 2 [ − 1 4 m 1 m 1 + m 2 sin 2 ( θ ) + 1 3 ] θ ˙ 2 + m 1 g l 2 sin ( θ ) + m 2 g a 2 = E 0 ≡ m 1 g l 2 ( a l ) + m 2 g a 2 (8)</p><p>where, (a/ℓ), the first term of the RHS equals sin(θ<sub>0</sub>) = a/ℓ, is the initial inclination angle of the rod w/horizontal.</p><p>Equation (8) simplifies,</p><p>θ ˙ 2 = 4 g l a l − sin ( θ ) 4 3 − ( 1 1 + m 2 m 1 ) sin 2 ( θ ) (9)</p><p>Equation (9) explicitly shows the dependence of the angular velocity, θ ˙ to the masses and the relevant dimensions. Rearranging Equation (9) its integration gives,</p><p>t = 1 2 l g ∫ 0 arcsin ( a l ) 4 3 − 1 1 + n sin 2 ( θ ) a l − sin ( θ ) d θ (10)</p><p>where we set n = (m<sub>2</sub>/m<sub>1</sub>). The lower limit of integration indicates the runtime of the rod to the table top. Our primary objective is to evaluate the separation runtime; hence, the lower limit of the integration should be the separation angle. This angle comes about from dynamics aspect of the problem.</p><p>The driving force acting on the cube, F<sub>12</sub>, accelerates the cube according to, F 12 = m 2 x &#168; 2 . At separation instant contact force, F<sub>12</sub>, vanishes result an equation conducive to the separation angle. First we calculate the needed acceleration. Applying the first equation of set Equation (2) and equation (5) gives,</p><p>x &#168; 2 = − l 2 ( 1 + n ) [ θ &#168; sin ( θ ) + θ ˙ 2 cos ( θ ) ] (11)</p><p>On the other hand differentiating Equation (9) w/time gives,</p><p>θ &#168; = g 2 l { − 4 cos ( θ ) 4 3 − 1 1 + n sin 2 ( θ ) + 1 1 + n ( 1 − 4 sin ( θ ) ) sin ( 2 θ ) [ 4 3 − 1 1 + n sin 2 ( θ ) ] 2 } (12)</p><p>And finally substituting Equations (9) and (12) in Equation (11) and simplification yields the needed equation. The output is a lengthy fraction, its numerator is,</p><p>− 6 g l ( 1 + n ) cos ( θ ) [ − 8 a l ( 1 + n ) + 12 ( 1 + n ) sin ( θ ) − 3 sin 3 ( θ ) ] = numerator (13)</p><p>Setting Equation (13) zero gives the needed equation whose root is the separation angle, namely,</p><p>3 sin 3 ( θ ) − 12 ( 1 + n ) sin ( θ ) + 8 a l ( 1 + n ) = 0 (14)</p><p>As expected terms such as, n ≡ m<sub>2</sub>/m<sub>1</sub> and a/ℓ control the value of the separation angle, θ<sub>sep</sub>, yielding the needed runtime,</p><p>t = 1 2 l g ∫ θ s e p arcsin ( a l ) 4 3 − 1 1 + n sin 2 ( θ ) a l − sin ( θ ) d θ (15)</p><sec id="s2_1"><title>2.1. Rod-Cube Contact Force</title><p>As the rod slides its inclination angle, θ, with respect to the table top decreases, reduces the contact force between the rod and the cube. To quantify the contact force at any given time, we write, F 12 = m 2 x &#168; 2 . Acceleration of the cube, x &#168; 2 , utilizing Equation (11), (12) and (9), yields,</p><p>F 12 = m 2 { − 3 g cos ( θ ) [ 8 a l ( 1 + n ) − 12 ( 1 + n ) sin ( θ ) + 3 sin 3 ( θ ) ] [ 4 ( 1 + n ) − 3 sin 2 ( θ ) ] 2 } (16)</p><p>This is the formal solution, however, because θ = θ(t) there is a need to solve the equation of motion for θ(t). The equation of motion is actually Equation (9). Its differential form is,</p><p>θ ˙ + 4 ( g l ) a l − sin ( θ ) 4 3 − ( 1 1 + n ) sin 2 ( θ ) = 0 (17)</p><p>As demonstrated, by arranging Equation (17) we calculate the runtime; see Equation (10) and (15). Reversing these equations to obtain θ(t) is not possible; one needs to solve Equation (17) directly, this can’t be done analytically. In the next section for a chosen set of parameters we present its numeric solution.</p></sec><sec id="s2_2"><title>2.2. Trajectory of the Tip of the Rod</title><p>As the contact point of the rod with the table top slides to the left its other end that leans against the mobile cube before breaking away traces a certain curve. It is our interest to plot its trajectory. We offer two solutions. First, a formal analytic solution, and second a straight forward plotting routine. Both solutions hinge upon the know solution of Equation (17).</p><p>Analytic solution:</p><p>Integrating both sides of Equation (5) w/time yields,</p><p>x 1 = − 1 + 2 n 2 ( 1 + n ) l [ cos ( θ ) − β ] (18)</p><p>here we set the initial contact point of the rod with the table at the origin yielding the value of β = cos[arcsin(a/ℓ)]. Substituting Equation (18) in the first equation of set of Equation (1) after simplification, gives,</p><p>cos ( θ ) = 2 l ( 1 + n ) [ x 2 − 1 + 2 n 2 ( 1 + n ) l β ] (19)</p><p>on the other hand <xref ref-type="fig" rid="fig1">Figure 1</xref> shows,</p><p>sin ( θ ) = y 2 l (20)</p><p>Squaring both sides of Equation (19) and (20) and adding them results,</p><p>[ 2 ( 1 + n ) x 2 l − ( 1 + 2 n ) β ] 2 + ( y 2 l ) 2 = 1 (21)</p><p>Equation (21) deceptively appears as an ellipse; it is not. Coordinates of {x<sub>2</sub>, y<sub>2</sub>} are time-dependent, they are implicit functions of θ(t). Equation (21) can be utilized tracing the tip of the rod; this is left to the interest of the reader. Alternatively, utilizing Equations (19) and (20) are arranged as,</p><p>{ x 2 ( t ) , y 2 ( t ) } = { 1 2 ( 1 + n ) l cos [ θ ( t ) ] + 1 + 2 n 2 ( 1 + n ) l β , l sin [ θ ( t ) ] } (22)</p><p>where θ(t) is the solution of the equation of motion; Equation (17). For a set of chosen parameters n and ℓ and utilizing the solution of Equation (17) for the same set of parameters along with a parametric plot of Equation (22) yields the seek for trajectory. This is shown in the next section.</p></sec></sec><sec id="s3"><title>3. Results</title><p>It is important emphasizing that entire calculation presented in this section is carried out applying one of the most powerful Computer Algebra System, Mathematica [<xref ref-type="bibr" rid="scirp.85448-ref1">1</xref>] . Equation (14) is generic; its root(s) is the separation angle. The input parameters of this equation may be any desired values, for instance for a practical case we set n ≡ m<sub>2</sub>/m<sub>1</sub> = 3, and a/ℓ = 1/4, making the combination a/ℓ (1 + n) = 1, simplifies the equation. With this choice of parameters it yields a unique solution, namely, θ = 9.61˚. In other words the rod from its initial position θ(t = 0) = 14.47˚ falls only 4.86˚ and separates. Equation (14) is a cubic trigonometric equation, its cubic term, 3sin<sup>3</sup>(θ), can be dropped reducing it to a linear trig equation, 6sin(θ) − 1 = 0, with a root of, θ = 9.59˚. This neat approach underestimating the exact solution only by 0.2%!</p><p>Utilizing the separation angle and applying Equation (15) we evaluate the associated runtime by numeric integration. For a 1.0 m rod this gives, t<sub>runtime</sub> = 0.108 s. This is compared to the runtime when we assume the rod falls all the way to the table, t = 0.187 s; Equation (10). The latter is compared to the runtime</p><p>of a point-like mass at the cm of the rod, t = a g = 0.159   s . As expected the</p><p>aforementioned elapsed time overvalues the latter, this is because the rotating rod requires a longer time.</p><sec id="s3_1"><title>3.1. Solution of the Equation of Motion</title><p><xref ref-type="fig" rid="fig2">Figure 2</xref> depicts the time dependent variation of the inclination angle. The rod begins sliding with the initial inclination angle of arcsin(1/4) = 14.4˚, in 0.108 s at 9.61˚ it separates from the cube.</p></sec><sec id="s3_2"><title>3.2. Contact Force between the Rod and the Cube</title><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows the maximum value of the contact force between the rod and the cube occurs at the beginning where the inclination angle is at maximum. As the rod falls and rotates the contact force weakens. By the time the rod separates from the cube its value plunges zero. Comparing <xref ref-type="fig" rid="fig2">Figure 2</xref> and <xref ref-type="fig" rid="fig3">Figure 3</xref> reveals</p><p>despite of the complicated nature of the force, Equation (16), contact force closely traces the time dependent features of the inclination angle vs. time!</p></sec><sec id="s3_3"><title>3.3. Trajectory (<xref ref-type="fig" rid="fig4">Figure 4</xref>)</title><p>It appears the tip of the rod as it falls, slides and rotates traces a vertical “straight” line. We have utilized parametric equation of the trajectory; Equation (22).</p></sec></sec><sec id="s4"><title>4. Conclusions and Comments</title><p>“Sliding Ladder” is a classic physics problem. Its solution is readily available. For instance, the author referred to reference [<xref ref-type="bibr" rid="scirp.85448-ref4">4</xref>] . This particular reference is cited because its free animated solution is also available as well [<xref ref-type="bibr" rid="scirp.85448-ref5">5</xref>] . Our investigation is a modified version of the “Sliding Ladder” problem. Here we replace the stationary wall with a massive mobile cube.</p><p>The author searched for the analysis of the proposed problem in vain ending up crafting its solution in this note. Applying Mathematica, the equation of motion, Equation (17), is solved numerically. Utilizing the solution, we determined time-dependent quantities such as runtime, contact force, and trajectory of the tip of the rod. We have also determined additional information such as separation angle of the rod and the cube. Our investigation embodies long-hand analytic formation conducive to parameter-dependent equations including: side length of the cube and its mass, length of the rod and its mass. Applying Mathematica numeric solver and its powerful graphic features as an example, we presented variety of output for a specific set of parameters. Presented information in this report challenges the interested reader to explore new features applying a different set of parameters. Reference [<xref ref-type="bibr" rid="scirp.85448-ref6">6</xref>] embodies Mathematica codes and information needed to produce the graphs embedded in this article.</p></sec><sec id="s5"><title>Cite this paper</title><p>Sarafian, H. (2018) Kinematics of a Holonomic Constraint Rod &amp; Cube System. World Journal of Mechanics, 8, 227-235. https://doi.org/10.4236/wjm.2018.86018</p></sec></body><back><ref-list><title>References</title><ref id="scirp.85448-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">(2015) Mathematica Is Symbolic Computation Software. V11.0, Wolfram Research Inc.</mixed-citation></ref><ref id="scirp.85448-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Wolfram, S. (1996) Mathematica Book. 3rd Edition, Cambridge University Press, Cambridge.</mixed-citation></ref><ref id="scirp.85448-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Sarafian, H. and Hickey, N. (2017) Characteristics of a Two-Body Holonomic Constraint Mechanical System. World Journal of Mechanics, 7, 161-166. http://www.scirp.org/journal/wjm</mixed-citation></ref><ref id="scirp.85448-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Variations of the Sliding Ladder Problem. https://www.maa.org/sites/default/files/Kapranidis.pdf</mixed-citation></ref><ref id="scirp.85448-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">http://demonstrations.wolfram.com/PhysicsOfASlidingLadder/</mixed-citation></ref><ref id="scirp.85448-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Sarafian, H. (2015) Mathematica Graphics Example Book for Beginners. Scientific Research Publishing. http://www.scirp.org</mixed-citation></ref></ref-list></back></article>