# HSreport2 - The hanging sign example The hanging sign...

This preview shows pages 1–3. Sign up to view the full content.

Page 1 The hanging sign example. The hanging sign problem is shown in schematic form in figure 1 below. Figure 1. Hanging sign schematic. A set of equations describing the behavior of the sign is shown in the file HSEqns.m. A Matlab solver program is shown in file HSsetup.m. Some results are shown in the figures that follow the files. Link 1 Link 2 mg A m X Y B O Mass m represents the sign. Each link can be modeled by a linear spring. Link 1 is pin-jointed a distance A above point O. Link 2 is pin-jointed a distance B below point O. The mass is at location [x,y].

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Page 2 File Hseqns.m function xdot= HSeqns(t,x) % This file defines a set of system equations for the hanging sign problem. % In vector terms: xdot= f(x,U) % x= [ vx, vy, xm, ym ] % global A, global B, global g, global k1, global Lf1, global k2, global Lf2 global m, global b % % Set up local variables for convenience in coding vx= x(1); % x-velocity of mass vy= x(2); xm= x(3); % x-position of mass ym= x(4); % % Calculate spring lengths from [ xm,ym ]
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 5

HSreport2 - The hanging sign example The hanging sign...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online