(*********************************************************************** Mathematica-Compatible Notebook This notebook can be used on any computer system with Mathematica 4.0, MathReader 4.0, or any compatible application. The data for the notebook starts with the line containing stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. ***********************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 20662, 500]*) (*NotebookOutlinePosition[ 21505, 527]*) (* CellTagsIndexPosition[ 21461, 523]*) (*WindowFrame->Normal*) Notebook[{ Cell[BoxData[ \(\(\( (*\ analytic\ inverse\ kinematics\ *) \)\(\[IndentingNewLine]\)\( (*\ for\ simple\ two\ link\ arbature\ in\ 2 D\ *) \)\(\[IndentingNewLine]\)\(\[IndentingNewLine]\)\( (*\ set\ lengths\ of\ linkages\ *) \)\(\[IndentingNewLine]\)\(L1\ = \ 10; \ L2\ = \ 5;\)\)\)], "Input"], Cell[BoxData[{ \( (*\ set\ position\ of\ goal\ position\ *) \[IndentingNewLine]\(X\ = 3.5;\)\), "\[IndentingNewLine]", \(\(Y\ = \ 4;\)\)}], "Input"], Cell[BoxData[{ \( (*\ calculate\ terms\ needed\ for\ *) \[IndentingNewLine]\(t\ = \ 2*L1*Sqrt[X*X + Y*Y];\)\), "\[IndentingNewLine]", \(thetaT\ = \ ArcCos[X/Sqrt[X*X + Y*Y]]; theta1\ = \ ArcCos[\((L1*L1 + X*X + Y*Y - L2*L2)\)/t] + thetaT;\), "\[IndentingNewLine]", \(\(theta2\ = \ ArcCos[\(-\((L1*L1 + L2*L2 - \((X*X + Y*Y)\))\)\)/\((2*L1* L2)\)];\)\)}], "Input"], Cell[BoxData[{ \( (*\ calculate\ position\ of\ middle\ joint\ *) \(x1\ = L1*\ Cos[theta1];\)\), "\[IndentingNewLine]", \(\(y1\ = \ L1*Sin[theta1];\)\)}], "Input"], Cell[BoxData[{ \( (*\ calculate\ position\ of\ end\ effector\ *) \(x2\ = \ x1 + L2*Cos[theta1 - theta2];\)\), "\[IndentingNewLine]", \(\(y2\ = \ y1 + L2*Sin[theta1 - theta2];\)\)}], "Input"], Cell[BoxData[{ \( (*\ make\ graphics\ *) \[IndentingNewLine] (*\ point\ for\ goal\ position\ *) \[IndentingNewLine]\(p = Point[{X, Y}];\)\), "\[IndentingNewLine]", \( (*\ polyline\ for\ armature\ *) \(g\ = \ Line[{{0, 0}, {x1, y1}, {x2, y2}}];\)\)}], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(\(\( (*\ display\ what\ we' ve\ done\ *) \)\(Show[ Graphics[{g, PointSize[0.02], p}], Axes \[Rule] Automatic];\)\)\)], "Input"], Cell[GraphicsData["PostScript", "\<\ %! %%Creator: Mathematica %%AspectRatio: .61803 MathPictureStart /Mabs { Mgmatrix idtransform Mtmatrix dtransform } bind def /Mabsadd { Mabs 3 -1 roll add 3 1 roll add exch } bind def %% Graphics %%IncludeResource: font Courier %%IncludeFont: Courier /Courier findfont 10 scalefont setfont % Scaling calculations 0.0238095 0.206779 0.0147151 0.0663126 [ [.23059 .00222 -3 -9 ] [.23059 .00222 3 0 ] [.43737 .00222 -3 -9 ] [.43737 .00222 3 0 ] [.64415 .00222 -3 -9 ] [.64415 .00222 3 0 ] [.85093 .00222 -3 -9 ] [.85093 .00222 3 0 ] [.01131 .14734 -6 -4.5 ] [.01131 .14734 0 4.5 ] [.01131 .27997 -6 -4.5 ] [.01131 .27997 0 4.5 ] [.01131 .41259 -6 -4.5 ] [.01131 .41259 0 4.5 ] [.01131 .54522 -6 -4.5 ] [.01131 .54522 0 4.5 ] [ 0 0 0 0 ] [ 1 .61803 0 0 ] ] MathScale % Start of Graphics 1 setlinecap 1 setlinejoin newpath 0 g .25 Mabswid [ ] 0 setdash .23059 .01472 m .23059 .02097 L s [(1)] .23059 .00222 0 1 Mshowa .43737 .01472 m .43737 .02097 L s [(2)] .43737 .00222 0 1 Mshowa .64415 .01472 m .64415 .02097 L s [(3)] .64415 .00222 0 1 Mshowa .85093 .01472 m .85093 .02097 L s [(4)] .85093 .00222 0 1 Mshowa .125 Mabswid .06517 .01472 m .06517 .01847 L s .10652 .01472 m .10652 .01847 L s .14788 .01472 m .14788 .01847 L s .18923 .01472 m .18923 .01847 L s .27194 .01472 m .27194 .01847 L s .3133 .01472 m .3133 .01847 L s .35466 .01472 m .35466 .01847 L s .39601 .01472 m .39601 .01847 L s .47872 .01472 m .47872 .01847 L s .52008 .01472 m .52008 .01847 L s .56144 .01472 m .56144 .01847 L s .60279 .01472 m .60279 .01847 L s .6855 .01472 m .6855 .01847 L s .72686 .01472 m .72686 .01847 L s .76822 .01472 m .76822 .01847 L s .80957 .01472 m .80957 .01847 L s .89228 .01472 m .89228 .01847 L s .93364 .01472 m .93364 .01847 L s .975 .01472 m .975 .01847 L s .25 Mabswid 0 .01472 m 1 .01472 L s .02381 .14734 m .03006 .14734 L s [(2)] .01131 .14734 1 0 Mshowa .02381 .27997 m .03006 .27997 L s [(4)] .01131 .27997 1 0 Mshowa .02381 .41259 m .03006 .41259 L s [(6)] .01131 .41259 1 0 Mshowa .02381 .54522 m .03006 .54522 L s [(8)] .01131 .54522 1 0 Mshowa .125 Mabswid .02381 .04787 m .02756 .04787 L s .02381 .08103 m .02756 .08103 L s .02381 .11418 m .02756 .11418 L s .02381 .1805 m .02756 .1805 L s .02381 .21365 m .02756 .21365 L s .02381 .24681 m .02756 .24681 L s .02381 .31312 m .02756 .31312 L s .02381 .34628 m .02756 .34628 L s .02381 .37943 m .02756 .37943 L s .02381 .44575 m .02756 .44575 L s .02381 .4789 m .02756 .4789 L s .02381 .51206 m .02756 .51206 L s .02381 .57837 m .02756 .57837 L s .02381 .61153 m .02756 .61153 L s .25 Mabswid .02381 0 m .02381 .61803 L s 0 0 m 1 0 L 1 .61803 L 0 .61803 L closepath clip newpath .5 Mabswid .02381 .01472 m .97619 .60332 L .74754 .27997 L s .02 w .74754 .27997 Mdot % End of Graphics MathPictureEnd \ \>"], "Graphics", ImageSize->{288, 177.938}, ImageMargins->{{43, 0}, {0, 0}}, ImageRegion->{{0, 1}, {0, 1}}, ImageCache->GraphicsData["Bitmap", "\<\ CF5dJ6E]HGAYHf4PAg9QL6QYHgd0oooo000?0?ooo`030000003oool0oooo01l0oooo0P00003]0?ooo`003`3oool00`000000oooo 0?ooo`0Q0?ooo`030000003oool0oooo0>X0oooo000?0?ooo`030000003oool0oooo0280oooo0P00 003Z0?ooo`003`3oool00`000000oooo0?ooo`0T0?ooo`800000j03oool000l0oooo00<000000?oo o`3oool09P3oool00`000000oooo0?ooo`3U0?ooo`003`3oool00`000000oooo0?ooo`0W0?ooo`80 0000i@3oool000l0oooo0P00000Z0?ooo`800000h`3oool000l0oooo00<000000?ooo`3oool0:`3o ool00`000000oooo0?ooo`3P0?ooo`003`3oool00`000000oooo0?ooo`0/0?ooo`800000h03oool0 00l0oooo00<000000?ooo`3oool0;P3oool00`000000oooo0?ooo`3M0?ooo`003`3oool00`000000 oooo0?ooo`0_0?ooo`800000g@3oool000l0oooo00<000000?ooo`3oool0<@3oool200000=/0oooo 000?0?ooo`030000003oool0oooo03<0oooo00<000000?ooo`3oool0f03oool000D0oooo1@000005 0?ooo`030000003oool0oooo03@0oooo0P00003H0?ooo`001P3oool010000000oooo0?ooo`000005 0?ooo`030000003oool0oooo03H0oooo00<000000?ooo`3oool0e@3oool000L0oooo00<000000?oo o`3oool01@3oool2000003P0oooo0P00003E0?ooo`00203oool00`000000oooo0?ooo`040?ooo`03 0000003oool0oooo03T0oooo0P00003C0?ooo`001@3oool01@000000oooo0?ooo`3oool0000000D0 oooo00<000000?ooo`3oool0>`3oool00`000000oooo0?ooo`3@0?ooo`001@3oool01@000000oooo 0?ooo`3oool0000000D0oooo00<000000?ooo`3oool0?03oool200000=00oooo00060?ooo`<00000 1P3oool00`000000oooo0?ooo`0n0?ooo`800000cP3oool000l0oooo00<000000?ooo`3oool0@03o ool00`000000oooo0?ooo`3;0?ooo`003`3oool00`000000oooo0?ooo`110?ooo`800000b`3oool0 00l0oooo00<000000?ooo`3oool0@`3oool00`000000oooo0?ooo`380?ooo`003`3oool00`000000 oooo0?ooo`140?ooo`800000b03oool000l0oooo0P0000170?ooo`800000aP3oool000l0oooo00<0 00000?ooo`3oool0B03oool00`000000oooo0?ooo`330?ooo`003`3oool00`000000oooo0?ooo`19 0?ooo`800000``3oool000l0oooo00<000000?ooo`3oool0B`3oool200000<40oooo000?0?ooo`03 0000003oool0oooo04d0oooo00<000000?ooo`3oool0_P3oool000l0oooo00<000000?ooo`3oool0 CP3oool200000;h0oooo000?0?ooo`030000003oool0oooo0500oooo00<000000?ooo`3oool0^`3o ool000l0oooo00<000000?ooo`3oool0D@3oool200000;/0oooo000?0?ooo`030000003oool0oooo 05<0oooo0P00002i0?ooo`003`3oool2000005H0oooo00<000000?ooo`3oool0]P3oool000l0oooo 00<000000?ooo`3oool0EP3oool200000;H0oooo000?0?ooo`030000003oool0oooo05P0oooo00<0 00000?ooo`3oool0/`3oool000l0oooo00<000000?ooo`3oool0F@3oool200000;<0oooo000?0?oo o`030000003oool0oooo05/0oooo0P00002a0?ooo`003`3oool00`000000oooo0?ooo`1M0?ooo`03 0000003oool0oooo0:h0oooo000?0?ooo`030000003oool0oooo05h0oooo0P00002^0?ooo`003`3o ool00`000000oooo0?ooo`1P0?ooo`800000[03oool000l0oooo00<000000?ooo`3oool0HP3oool0 0`000000oooo0?ooo`2Y0?ooo`003`3oool2000006@0oooo0P00002Y0?ooo`003`3oool00`000000 oooo0?ooo`1U0?ooo`030000003oool0oooo0:H0oooo000?0?ooo`030000003oool0oooo06H0oooo 0P00002V0?ooo`003`3oool00`000000oooo0?ooo`1X0?ooo`800000Y03oool000l0oooo00<00000 0?ooo`3oool0JP3oool00`000000oooo0?ooo`2Q0?ooo`003`3oool00`000000oooo0?ooo`1[0?oo o`800000X@3oool000l0oooo00<000000?ooo`3oool0K@3oool2000009l0oooo00070?ooo`<00000 1@3oool00`000000oooo0?ooo`1_0?ooo`030000003oool0oooo04l0oooo0`00001:0?ooo`00203o ool00`000000oooo0?ooo`040?ooo`030000003oool0oooo0700oooo0P00001>0?ooo`D00000B@3o ool000D0oooo1@0000050?ooo`800000L`3oool00`000000oooo0?ooo`1;0?ooo`D00000B@3oool0 00D0oooo00@000000?ooo`3oool000001P3oool00`000000oooo0?ooo`1c0?ooo`800000B`3oool5 000004T0oooo00060?ooo`030000003oool0000000H0oooo00<000000?ooo`3oool0M@3oool20000 04X0oooo0`00001:0?ooo`001`3oool2000000H0oooo00<000000?ooo`3oool0M`3oool00`000000 oooo0?ooo`1:0?ooo`030000003oool0oooo04L0oooo00080?ooo`030000003oool0oooo00@0oooo 00<000000?ooo`3oool0N03oool2000004X0oooo00<000000?ooo`3oool0A`3oool000l0oooo00<0 00000?ooo`3oool0NP3oool00`000000oooo0?ooo`180?ooo`030000003oool0oooo04H0oooo000? 0?ooo`030000003oool0oooo07/0oooo0P0000190?ooo`030000003oool0oooo04D0oooo000?0?oo o`030000003oool0oooo07d0oooo0P0000180?ooo`030000003oool0oooo04@0oooo000?0?ooo`03 0000003oool0oooo07l0oooo00<000000?ooo`3oool0A@3oool00`000000oooo0?ooo`140?ooo`00 3`3oool200000840oooo0P0000160?ooo`030000003oool0oooo04<0oooo000?0?ooo`030000003o ool0oooo0880oooo0P0000150?ooo`030000003oool0oooo0480oooo000?0?ooo`030000003oool0 oooo08@0oooo00<000000?ooo`3oool0@P3oool00`000000oooo0?ooo`120?ooo`003`3oool00`00 0000oooo0?ooo`250?ooo`800000@`3oool00`000000oooo0?ooo`110?ooo`003`3oool00`000000 oooo0?ooo`270?ooo`030000003oool0oooo0440oooo00<000000?ooo`3oool0@03oool000l0oooo 00<000000?ooo`3oool0R03oool200000480oooo00<000000?ooo`3oool0?`3oool000l0oooo00<0 00000?ooo`3oool0RP3oool200000400oooo00<000000?ooo`3oool0?`3oool000l0oooo00<00000 0?ooo`3oool0S03oool00`000000oooo0?ooo`0n0?ooo`030000003oool0oooo03h0oooo000?0?oo o`030000003oool0oooo08d0oooo0P00000o0?ooo`030000003oool0oooo03d0oooo000?0?ooo`80 0000T03oool00`000000oooo0?ooo`0l0?ooo`030000003oool0oooo03d0oooo000?0?ooo`030000 003oool0oooo0900oooo0P00000m0?ooo`030000003oool0oooo03`0oooo000?0?ooo`030000003o ool0oooo0980oooo0P00000l0?ooo`030000003oool0oooo03/0oooo000?0?ooo`030000003oool0 oooo09@0oooo00<000000?ooo`3oool0>@3oool00`000000oooo0?ooo`0k0?ooo`003`3oool00`00 0000oooo0?ooo`2E0?ooo`800000>P3oool00`000000oooo0?ooo`0j0?ooo`003`3oool00`000000 oooo0?ooo`2G0?ooo`800000>@3oool00`000000oooo0?ooo`0i0?ooo`003`3oool00`000000oooo 0?ooo`2I0?ooo`030000003oool0oooo03L0oooo00<000000?ooo`3oool0>03oool000l0oooo00<0 00000?ooo`3oool0VP3oool2000003L0oooo00<000000?ooo`3oool0>03oool000l0oooo00<00000 0?ooo`3oool0W03oool00`000000oooo0?ooo`0e0?ooo`030000003oool0oooo03L0oooo000?0?oo o`800000WP3oool2000003H0oooo00<000000?ooo`3oool0=P3oool000l0oooo00<000000?ooo`3o ool0W`3oool2000003@0oooo00<000000?ooo`3oool0=P3oool000l0oooo00<000000?ooo`3oool0 X@3oool00`000000oooo0?ooo`0b0?ooo`030000003oool0oooo03D0oooo000?0?ooo`030000003o ool0oooo0:80oooo0P00000c0?ooo`030000003oool0oooo03@0oooo000?0?ooo`030000003oool0 oooo0:@0oooo0P00000a0?ooo`030000003oool0oooo03@0oooo000?0?ooo`030000003oool0oooo 0:H0oooo00<000000?ooo`3oool0;`3oool00`000000oooo0?ooo`0c0?ooo`003`3oool00`000000 oooo0?ooo`2W0?ooo`800000<03oool00`000000oooo0?ooo`0b0?ooo`001P3oool3000000H0oooo 00<000000?ooo`3oool0Z@3oool00`000000oooo0?ooo`0^0?ooo`030000003oool0oooo0340oooo 00050?ooo`050000003oool0oooo0?ooo`0000001@3oool00`000000oooo0?ooo`2Z0?ooo`800000 ;P3oool00`000000oooo0?ooo`0a0?ooo`001@3oool01@000000oooo0?ooo`3oool0000000D0oooo 0P00002]0?ooo`800000;@3oool00`000000oooo0?ooo`0`0?ooo`001@3oool4000000H0oooo00<0 00000?ooo`3oool0[P3oool00`000000oooo0?ooo`0[0?ooo`030000003oool0oooo02l0oooo0005 0?ooo`030000003oool0oooo00L0oooo00<000000?ooo`3oool0[`3oool2000002/0oooo00<00000 0?ooo`3oool0;`3oool000H0oooo00<000000?ooo`3oool01P3oool00`000000oooo0?ooo`2a0?oo o`030000003oool0oooo02T0oooo00<000000?ooo`3oool0;P3oool000L0oooo0P0000060?ooo`03 0000003oool0oooo0;80oooo0P00000Z0?ooo`030000003oool0oooo02d0oooo000?0?ooo`030000 003oool0oooo0;@0oooo0P00000Y0?ooo`030000003oool0oooo02`0oooo000?0?ooo`030000003o ool0oooo0;H0oooo00<000000?ooo`3oool09P3oool00`000000oooo0?ooo`0/0?ooo`003`3oool0 0`000000oooo0?ooo`2g0?ooo`8000009`3oool00`000000oooo0?ooo`0[0?ooo`003`3oool00`00 0000oooo0?ooo`2i0?ooo`8000009P3oool00`000000oooo0?ooo`0Z0?ooo`003`3oool00`000000 oooo0?ooo`2k0?ooo`030000003oool0oooo02<0oooo00<000000?ooo`3oool0:P3oool000l0oooo 0P00002m0?ooo`800000903oool00`000000oooo0?ooo`0Y0?ooo`003`3oool00`000000oooo0?oo o`2n0?ooo`030000003oool0oooo0280oooo00<000000?ooo`3oool0:03oool000l0oooo00<00000 0?ooo`3oool0_`3oool200000280oooo00<000000?ooo`3oool0:03oool000l0oooo00<000000?oo o`3oool0`@3oool200000240oooo00<000000?ooo`3oool09`3oool000l0oooo00<000000?ooo`3o ool0``3oool00`000000oooo0?ooo`0O0?ooo`030000003oool0oooo02H0oooo000?0?ooo`030000 003oool0oooo0<@0oooo0P00000P0?ooo`030000003oool0oooo02D0oooo000?0?ooo`030000003o ool0oooo00?ooo`8000006P3oool00`000000oooo0?ooo`0Q0?ooo`003`3oool00`000000oooo0?ooo`3@ 0?ooo`030000003oool0oooo01P0oooo00<000000?ooo`3oool0803oool000l0oooo00<000000?oo o`3oool0d@3oool2000001P0oooo00<000000?ooo`3oool0803oool000l0oooo00<000000?ooo`3o ool0d`3oool00`000000oooo0?ooo`0F0?ooo`030000003oool0oooo01l0oooo000?0?ooo`030000 003oool0oooo0=@0oooo0P00000G0?ooo`030000003oool0oooo01h0oooo000?0?ooo`030000003o ool0oooo0=H0oooo0P00000E0?ooo`030000003oool0oooo01h0oooo000?0?ooo`030000003oool0 oooo0=P0oooo00<000000?ooo`3oool04`3oool00`000000oooo0?ooo`0M0?ooo`003`3oool20000 0=X0oooo0P00000D0?ooo`030000003oool0oooo01`0oooo000?0?ooo`030000003oool0oooo0=/0 oooo0P00000B0?ooo`030000003oool0oooo01`0oooo000?0?ooo`030000003oool0oooo0=d0oooo 00<000000?ooo`3oool0403oool00`000000oooo0?ooo`0K0?ooo`003`3oool00`000000oooo0?oo o`3N0?ooo`8000004@3oool00`000000oooo0?ooo`0J0?ooo`003`3oool00`000000oooo0?ooo`3P 0?ooo`030000003oool0oooo00l0oooo00<000000?ooo`3oool06@3oool000l0oooo00<000000?oo o`3oool0h@3oool2000000l0oooo00<000000?ooo`3oool06@3oool000H0oooo0`0000060?ooo`03 0000003oool0oooo0><0oooo0P00000>0?ooo`030000003oool0oooo01P0oooo00050?ooo`050000 003oool0oooo0?ooo`0000001@3oool00`000000oooo0?ooo`3U0?ooo`030000003oool0oooo00`0 oooo00<000000?ooo`3oool05`3oool000D0oooo00D000000?ooo`3oool0oooo000000050?ooo`03 0000003oool0oooo0>H0oooo0P00000<0?ooo`030000003oool0oooo01L0oooo00060?ooo`<00000 1P3oool200000>T0oooo0P00000;0?ooo`030000003oool0oooo01H0oooo00050?ooo`050000003o ool0oooo0?ooo`0000001@3oool00`000000oooo0?ooo`3Z0?ooo`030000003oool0oooo00T0oooo 00<000000?ooo`3oool05@3oool000D0oooo00D000000?ooo`3oool0oooo000000050?ooo`030000 003oool0oooo0>/0oooo0P0000090?ooo`030000003oool0oooo01D0oooo00060?ooo`<000001P3o ool00`000000oooo0?ooo`3]0?ooo`030000003oool0oooo00L0oooo00<000000?ooo`3oool0503o ool000l0oooo00<000000?ooo`3oool0kP3oool2000000P0oooo00<000000?ooo`3oool04`3oool0 00l0oooo00<000000?ooo`3oool0l03oool2000000L0oooo00<000000?ooo`3oool04P3oool000l0 oooo00<000000?ooo`3oool0lP3oool00`000000oooo0?ooo`040?ooo`030000003oool0oooo0180 oooo000?0?ooo`030000003oool0oooo0?<0oooo0P0000050?ooo`030000003oool0oooo0140oooo 000?0?ooo`030000003oool0oooo0?D0oooo00<000000?ooo`3oool00`3oool00`000000oooo0?oo o`0@0?ooo`003`3oool200000?L0oooo0P0000030?ooo`030000003oool0oooo0100oooo000?0?oo o`030000003oool0oooo0?P0oooo0P0000020?ooo`030000003oool0oooo00l0oooo000?0?ooo`03 0000003oool0oooo0?X0oooo00@000000?ooo`3oool00000403oool000l0oooo00<000000?ooo`3o ool0n`3oool2000000030?ooo`000000oooo00h0oooo000?0?ooo`030000003oool0oooo0?d0oooo 0P00000?0?ooo`003`3oool00`000000oooo0?ooo`3o0?ooo`030000003oool0oooo00`0oooo000? 0?ooo`030000003oool0oooo0?l0oooo0@3oool00`000000oooo0?ooo`0;0?ooo`003`3oool00`00 0000oooo0?ooo`3o0?ooo`l0oooo000?0?ooo`030000003oool0oooo0?l0oooo3`3oool000l0oooo 0P00003o0?oooa00oooo000?0?ooo`030000003oool0oooo0?l0oooo3`3oool00001\ \>"], ImageRangeCache->{{{0, 287}, {176.938, 0}} -> {-0.267729, -0.686153, \ 0.0177336, 0.0552977}}] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(\( (*\ check\ length\ of\ first\ link\ *) \)\(\[IndentingNewLine]\)\(Sqrt[ x1*x1 + y1*y1]\)\)\)], "Input"], Cell[BoxData[ \(TraditionalForm\`10.`\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \( (*\ check\ length\ of\ second\ link\ *) \[IndentingNewLine]tx\ = \ x2 - x1; ty = y2 - y1;\), "\[IndentingNewLine]", \(Sqrt[tx*tx + ty*ty]\)}], "Input"], Cell[BoxData[ \(TraditionalForm\`5.`\)], "Output"] }, Open ]] }, FrontEndVersion->"4.0 for Macintosh", ScreenRectangle->{{0, 1024}, {0, 748}}, WindowSize->{520, 626}, WindowMargins->{{1, Automatic}, {Automatic, 1}}, MacintoshSystemPageSetup->"\<\ 02P0001804P000000^L2D_ogooL33`9K8085:0?l0000005X0FP000003X<;VP5d 038;VTRX04/00@4100000BL?00400@000000000000000000000000000040I0<0 00000000000@8P404@002000000eDflP\>" ] (*********************************************************************** Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. ***********************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[1717, 49, 335, 6, 107, "Input"], Cell[2055, 57, 168, 3, 59, "Input"], Cell[2226, 62, 436, 9, 107, "Input"], Cell[2665, 73, 182, 3, 59, "Input"], Cell[2850, 78, 210, 3, 59, "Input"], Cell[3063, 83, 294, 5, 91, "Input"], Cell[CellGroupData[{ Cell[3382, 92, 171, 4, 59, "Input"], Cell[3556, 98, 16574, 377, 186, 2816, 203, "GraphicsData", "PostScript", \ "Graphics"] }, Open ]], Cell[CellGroupData[{ Cell[20167, 480, 141, 3, 43, "Input"], Cell[20311, 485, 55, 1, 26, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[20403, 491, 186, 3, 59, "Input"], Cell[20592, 496, 54, 1, 26, "Output"] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)