# Ex7-2 - % Approach 1 p_q_o&amp;amp;gt;=3*a3&amp;amp;gt;

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

Sheet1 Page 1 % Ex7-2.al % Set up problem frames a points o,q,r particles p{4} mass p1=1,p2=2,p3=3,p4=4 % Create position vectors needed to form i_o>> from definition p_o_p1>=2*a2> p_o_p2>=4*a1>+2*a2> p_o_p3>=4*a1> p_o_p4>=4*a1>+2*a2>-3*a3> % Calculate i_o>> from definition 4*(1>>*dot(p_o_p4>,p_o_p4>)-p_o_p4>*p_o_p4>) express(i_s_o>>,a) % Calculate i_o>> using Autolev shortcut command i_s_o_alt>>=inertia(o) express(i_s_o_alt>>,a) % Verify that both approaches give the same result i_diff>>=i_s_o>>-i_s_o_alt>> % Now compute i_q>> using three different approaches: % 1. The definition of an inertia matrix % 2. The Autolev "inertia" command % 3. The equation relating the inertia dyadics for two points

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % Approach 1 p_q_o&gt;=3*a3&gt; i_s_q1&gt;&gt;=1*(1&gt;&gt;*dot(p_q_p1&gt;,p_q_p1&gt;)-p_q_p1&gt;*p_q_p1&gt;)+&amp; 2*(1&gt;&gt;*dot(p_q_p2&gt;,p_q_p2&gt;)-p_q_p2&gt;*p_q_p2&gt;)+&amp; 3*(1&gt;&gt;*dot(p_q_p3&gt;,p_q_p3&gt;)-p_q_p3&gt;*p_q_p3&gt;)+&amp; 4*(1&gt;&gt;*dot(p_q_p4&gt;,p_q_p4&gt;)-p_q_p4&gt;*p_q_p4&gt;) express(i_s_q1&gt;&gt;,a) % Approach 2 i_s_q2&gt;&gt;=inertia(q) express(i_s_q2&gt;&gt;,a) % Approach 3 i_o_q&gt;&gt;=(1+2+3+4)*(1&gt;&gt;*dot(p_q_o&gt;,p_q_o&gt;)-p_q_o&gt;*p_q_o&gt;) i_s_q3&gt;&gt;=i_s_o&gt;&gt;+i_o_q&gt;&gt; express(i_s_q3&gt;&gt;,a) i_diff1&gt;&gt;=i_s_q1&gt;&gt;-i_s_q2&gt;&gt; i_diff2&gt;&gt;=i_s_q2&gt;&gt;-i_s_q3&gt;&gt; Sheet1 Page 2 i_p1_o&gt;&gt;=1*(1&gt;&gt;*dot(p_o_p1&gt;,p_o_p1&gt;)-p_o_p1&gt;*p_o_p1&gt;) express(i_p1_o&gt;&gt;,a) i_p1_q&gt;&gt;=1*(1&gt;&gt;*dot(p_q_p1&gt;,p_q_p1&gt;)-p_q_p1&gt;*p_q_p1&gt;) express(i_p1_q&gt;&gt;,a) i_p1_parallel&gt;&gt;=1*(1&gt;&gt;*dot(p_q_o&gt;,p_q_o&gt;)-p_q_o&gt;*p_q_o&gt;) express(i_p1_parallel&gt;&gt;,a) i_p1_diff&gt;&gt;=i_p1_q&gt;&gt;-i_p1_o&gt;&gt; express(i_p1_diff&gt;&gt;,a)...
View Full Document

## Ex7-2 - % Approach 1 p_q_o&amp;amp;gt;=3*a3&amp;amp;gt;

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

View Full Document
Ask a homework question - tutors are online