(************** Content-type: application/mathematica ************** CreatedBy='Mathematica 5.2' Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. 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[ 6948, 198]*) (*NotebookOutlinePosition[ 9035, 258]*) (* CellTagsIndexPosition[ 8907, 251]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["Dessiner des fl\[EGrave]ches : corrig\[EAcute]", "Subtitle", CellMargins->{{5, -5}, {Inherited, Inherited}}, TextAlignment->Center, TextJustification->0, FontFamily->"Lucida Grande", FontSize->24, FontSlant->"Italic"], Cell[CellGroupData[{ Cell[TextData[StyleBox["Dessiner une fl\[EGrave]che", FontFamily->"Lucida Grande", FontWeight->"Bold"]], "Subsubsection", CellMargins->{{Inherited, 1.375}, {Inherited, Inherited}}], Cell["\<\ Coordonn\[EAcute]es des sommets du triangle constituant la pointe \ de la fl\[EGrave]che :\ \>", "Text"], Cell[BoxData[{ \(l = 0.1; \ (*\ longueur\ du\ trait\ *) \[IndentingNewLine]x = 0; \ (*\ abscisse\ du\ centre\ de\ la\ t\[EHat]te\ *) \[IndentingNewLine]r = 0.1; \ (*\ \ distance\ entre\ le\ centre\ et\ la\ pointe\ de\ la\ t\ \[EHat]te\ *) \[IndentingNewLine]o = Pi/3\ ; \ (*\ angle\ au\ sommet\ de\ la\ t\[EHat]te\ *) \[IndentingNewLine]d = 0; \ (*\ angle\ directeur\ de\ la\ fl\[EGrave]che\ *) \[IndentingNewLine]coord = Table[r {Cos[a], Sin[a]} + {x, 0}, {a, \(-Pi\) + d + o/2, Pi + d - o/2, Pi - o/2}];\), "\[IndentingNewLine]", \(\(coord = Append[Prepend[%, {x, 0}], {x, 0}];\)\), "\[IndentingNewLine]", \(\(f1 = Show[Graphics[{Circle[{x, 0}, r], RGBColor[1, 23/237, 79/237], Polygon[coord], Thickness[0.01], Line[{{x - l*Cos[d], \(-l\)*Sin[d]}, {x, 0}}]}], Axes \[Rule] True];\)\)}], "Input"] }, Open ]], Cell[CellGroupData[{ Cell["Faire tourner la fl\[EGrave]che", "Subsubsection", FormatType->TextForm, FontFamily->"Lucida Grande"], Cell[BoxData[{ \(x = 0; \ (*\ abscisse\ du\ centre\ de\ la\ t\[EHat]te\ *) \[IndentingNewLine]r = 1; \ (*\ \ longueur\ de\ la\ pointe\ *) \[IndentingNewLine]o = Pi/3\ ;\ (*\ angle\ au\ sommet\ de\ la\ pointe\ *) \), "\[IndentingNewLine]", \(\(pas = Pi/32;\)\), "\[IndentingNewLine]", \(\(Table[ Append[Table[ r {Cos[a], Sin[a]} + {x, 0}, {a, \(-Pi\) + d + o/2, Pi + d - o/2, Pi - o/2}], {x, 0}], {d, 0, 2 Pi - pas, pas}];\)\), "\[IndentingNewLine]", \(\(tetes = Map[Polygon, %];\)\), "\[IndentingNewLine]", \(\(lignes = Table[Line[{{x - Cos[d], \(-Sin[d]\)}, {x, 0}}], {d, 0, 2 Pi - pas, pas}];\)\), "\[IndentingNewLine]", \(Table[ Show[Graphics[{Circle[{x, 0}, r], Hue[FractionalPart[\((2 \((i - 1)\))\)/\((Length[lignes])\)]], tetes[\([i]\)], Thickness[0.01], lignes[\([i]\)]}]], {i, Length[lignes]}]\)}], "Input"] }, Open ]], Cell[CellGroupData[{ Cell[TextData[StyleBox["Utiliser le module \[LeftGuillemet] Arrow \ \[RightGuillemet]", FontFamily->"Lucida Grande"]], "Subsubsection", FormatType->TextForm], Cell[BoxData[ \(\(\(\[IndentingNewLine]\)\(Needs["\"]\ \[IndentingNewLine] Show[Graphics[{\ Arrow[{0, 0}, {0.1, 0.1}, HeadLength \[Rule] 0.8, HeadCenter \[Rule] 0.3, HeadScaling \[Rule] Relative]}], \ PlotRange \[Rule] All]\)\)\)], "Input"], Cell[CellGroupData[{ Cell[BoxData[ \(Options[Arrow]\)], "Input"], Cell[BoxData[ \({HeadScaling \[Rule] Automatic, HeadLength \[Rule] Automatic, HeadCenter \[Rule] 1, HeadWidth \[Rule] 0.5`, HeadShape \[Rule] Automatic, ZeroShape \[Rule] Automatic}\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?HeadLength\)\)], "Input"], Cell[BoxData[ RowBox[{"\<\"HeadLength is an option to the Arrow primitive. It is used \ when HeadShape -> Automatic. It describes the length of the arrowhead, scaled \ according to HeadScaling.\"\>", " ", ButtonBox[ StyleBox["More\[Ellipsis]", "SR"], ButtonData:>"Graphics`Arrow`", Active->True, ButtonStyle->"AddOnsLink"]}]], "Print", CellTags->"Info3336675491-2911644"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(\(?HeadCenter\)\)], "Input"], Cell[BoxData[ RowBox[{"\<\"HeadCenter is an option to the Arrow primitive. It is used \ when HeadShape -> Automatic. It describes the location of the center of the \ base of the arrowhead along the length of the arrow, as a factor of the \ length of the arrowhead. That is, if HeadCenter -> 0, the arrow will be two \ lines; if HeadCenter -> 1, the arrowhead will be a perfect triangle; \ otherwise, the arrowhead will be four-sided.\"\>", " ", ButtonBox[ StyleBox["More\[Ellipsis]", "SR"], ButtonData:>"Graphics`Arrow`", Active->True, ButtonStyle->"AddOnsLink"]}]], "Print", CellTags->"Info3336913764-7144937"] }, Open ]], Cell[BoxData[{ \(n = 64; \ (*\ nombre\ de\ points\ *) \[IndentingNewLine]coord = Table[r {Cos[a], Sin[a]} + {x, 0}, {a, 0, 2 Pi - 2 Pi/n, \ 2 Pi/n}];\), "\[IndentingNewLine]", \(Table[ Show[Graphics[{Circle[{x, 0}, r], RGBColor[1, 23/237, 79/237], Arrow[{x, 0}, coord[\([i]\)], HeadLength \[Rule] 0.6, HeadCenter \[Rule] 0.5]}]], {i, Length[coord]}]\)}], "Input"] }, Open ]] }, Open ]] }, FrontEndVersion->"5.2 for Macintosh", ScreenRectangle->{{0, 993}, {0, 746}}, ScreenStyleEnvironment->"Printout", PrintingStyleEnvironment->"Printout", WindowToolbars->{"RulerBar", "EditBar"}, WindowSize->{886, 719}, WindowMargins->{{4, Automatic}, {Automatic, 1}}, PrintingCopies->1, PrintingPageRange->{1, Automatic}, PageHeaders->{{ "Club Math\[EAcute]matiques Appliqu\[EAcute]es. Exercices", Inherited, Inherited}, { "SEM prospective, CP 3144, 1211 GENEVE 3", Inherited, "Directeur adjoint: Raymond Morel"}}, PageFooters->{{ "Document disponible sur http://Hypatie.ge.ch", Inherited, Cell[ TextData[ {"bernard.vuilleumier@edu.ge.ch", " ", ValueBox[ "Date"]}], "Footer"]}, {Cell[ TextData[ {"Club Math\[EAcute]matiques Appliqu\[EAcute]es.", " ", ValueBox[ "FileName"]}], "Footer"], Inherited, Cell[ TextData[ {"bernard.vuilleumier@edu.ge.ch", " ", ValueBox[ "Date"]}], "Footer"]}}, PageFooterLines->{True, True}, PrintingOptions->{"PrintingMargins"->{{85, 56.6875}, {48.1875, 48.1875}}, "PrintCellBrackets"->False, "PrintRegistrationMarks"->True, "PrintMultipleHorizontalPages"->False, "FacingPages"->True}, ShowSelection->True, ShowCellLabel->False, FontFamily->"Lucida Grande", Magnification->1 ] (******************************************************************* 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->{ "Info3336675491-2911644"->{ Cell[5289, 153, 427, 10, 39, "Print", CellTags->"Info3336675491-2911644"]}, "Info3336913764-7144937"->{ Cell[5804, 171, 673, 13, 69, "Print", CellTags->"Info3336913764-7144937"]} } *) (*CellTagsIndex CellTagsIndex->{ {"Info3336675491-2911644", 8680, 241}, {"Info3336913764-7144937", 8796, 244} } *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1776, 53, 235, 6, 49, "Subtitle"], Cell[CellGroupData[{ Cell[2036, 63, 186, 3, 35, "Subsubsection"], Cell[2225, 68, 114, 3, 27, "Text"], Cell[2342, 73, 935, 17, 133, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[3314, 95, 111, 2, 35, "Subsubsection"], Cell[3428, 99, 987, 20, 133, "Input"] }, Open ]], Cell[CellGroupData[{ Cell[4452, 124, 161, 3, 35, "Subsubsection"], Cell[4616, 129, 297, 6, 54, "Input"], Cell[CellGroupData[{ Cell[4938, 139, 47, 1, 22, "Input"], Cell[4988, 142, 213, 3, 32, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5238, 150, 48, 1, 22, "Input"], Cell[5289, 153, 427, 10, 39, "Print", CellTags->"Info3336675491-2911644"] }, Open ]], Cell[CellGroupData[{ Cell[5753, 168, 48, 1, 22, "Input"], Cell[5804, 171, 673, 13, 69, "Print", CellTags->"Info3336913764-7144937"] }, Open ]], Cell[6492, 187, 428, 7, 66, "Input"] }, Open ]] }, Open ]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)