(************** 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[ 26683, 757]*) (*NotebookOutlinePosition[ 27491, 784]*) (* CellTagsIndexPosition[ 27447, 780]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["Exercices compl\[EAcute]mentaires - Probabilit\[EAcute]s", "Subsection"], Cell[CellGroupData[{ Cell[BoxData[{ \(p = 0.3; n = 3; i = 2;\), "\[IndentingNewLine]", \(\(Print["\<1. Un certain type de missiles atteint son but avec une \ probabilit\[EAcute] de \>", p, "\<.\>"];\)\), "\[IndentingNewLine]", \(\(Print["\", n, "\< essais ?\>"];\)\), "\[IndentingNewLine]", \(\(Print["\", i, "\< fois en \>", n, \ "\< essais?\>"];\)\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("1. Un certain type de missiles atteint son but \ avec une probabilit\[EAcute] de "\[InvisibleSpace]0.3`\[InvisibleSpace]"."\), SequenceForm[ "1. Un certain type de missiles atteint son but avec une probabilit\ \[EAcute] de ", 0.29999999999999999, "."], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("a) Quelle est la probabilit\[EAcute] d'atteindre \ le but au moins une fois en "\[InvisibleSpace]3\[InvisibleSpace]" essais ?"\), SequenceForm[ "a) Quelle est la probabilit\[EAcute] d'atteindre le but au moins une \ fois en ", 3, " essais ?"], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) Quelle est la probabilit\[EAcute] d'atteindre \ le but exactement "\[InvisibleSpace]2\[InvisibleSpace]" fois en "\ \[InvisibleSpace]3\[InvisibleSpace]" essais?"\), SequenceForm[ "b) Quelle est la probabilit\[EAcute] d'atteindre le but exactement ", 2, " fois en ", 3, " essais?"], Editable->False], TraditionalForm]], "Print"], Cell[CellGroupData[{ Cell["Solution:", "Subsubsection"], Cell[CellGroupData[{ Cell[BoxData[{\(Print["\", 1 - \((1 - p)\)^3];\), "\[IndentingNewLine]", RowBox[{"Print", "[", RowBox[{ "\"\\"", ",", "i", ",", "\"\< fois') = \>\"", ",", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], " ", StyleBox["i", "TI"]}], StyleBox["]", "MR"]}], "*", \(p^i\), "*", \(\((1 - p)\)^\((n - i)\)\)}]}], "]"}]}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("a) P('cible touch\[EAcute]e au - 1 fois') = "\ \[InvisibleSpace]0.657`\), SequenceForm[ "a) P('cible touch\[EAcute]e au - 1 fois') = ", 0.65700000000000003], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) P('cible touch\[EAcute]e "\[InvisibleSpace]2\ \[InvisibleSpace]" fois') = "\[InvisibleSpace]0.18899999999999997`\), SequenceForm[ "b) P('cible touch\[EAcute]e ", 2, " fois') = ", 0.18899999999999997], Editable->False], TraditionalForm]], "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(p = 0.3; i = 10; j = 8;\), "\[IndentingNewLine]", \(\(n = i + j;\)\), "\[IndentingNewLine]", \(\(Print["\<2. Une urne contient \>", i, "\< boules rouges et \>", j, "\< boules blanches. \>", "\"];\)\), "\[IndentingNewLine]", \(\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("2. Une urne contient "\[InvisibleSpace]10\ \[InvisibleSpace]" boules rouges et "\[InvisibleSpace]8\[InvisibleSpace]" \ boules blanches. "\[InvisibleSpace]"On choisit au hasard et sans remise deux \ boules dans l'urne. Quelle est la probabilit\[EAcute] d'extraire une boule de \ chaque couleur ?"\), SequenceForm[ "2. Une urne contient ", 10, " boules rouges et ", 8, " boules blanches. ", "On choisit au hasard et sans remise deux boules dans l'urne. \ Quelle est la probabilit\[EAcute] d'extraire une boule de chaque couleur ?"], Editable->False], TraditionalForm]], "Print"], Cell[CellGroupData[{ Cell["Solution:", "Subsubsection"], Cell[CellGroupData[{ Cell[BoxData[ \(\(Print["\", i\/n*j\/\((n - 1)\) + j\/n*i\/\((n - 1)\)];\)\)], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("P(une de chaque couleur) = \ "\[InvisibleSpace]80\/153\), SequenceForm[ "P(une de chaque couleur) = ", Rational[ 80, 153]], Editable->False], TraditionalForm]], "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(total = 15; m = 6;\), "\[IndentingNewLine]", \(\(n = 3;\)\), "\[IndentingNewLine]", \(\(Print["\<3. On prend au hasard et sans remise \>", n, "\< ampoules \[EAcute]lectriques d'un lot de \>", total, "\< ampoules dont \>", m, "\< sont d\[EAcute]fectueuses\>"];\)\), "\[IndentingNewLine]", \(\(Print["\"];\)\), "\ \[IndentingNewLine]", \(\(Print["\"];\)\), "\ \[IndentingNewLine]", \(\(Print["\"];\)\), \ "\[IndentingNewLine]", \(\(Print["\"];\)\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("3. On prend au hasard et sans remise "\ \[InvisibleSpace]3\[InvisibleSpace]" ampoules \[EAcute]lectriques d'un lot de \ "\[InvisibleSpace]15\[InvisibleSpace]" ampoules dont "\[InvisibleSpace]6\ \[InvisibleSpace]" sont d\[EAcute]fectueuses"\), SequenceForm[ "3. On prend au hasard et sans remise ", 3, " ampoules \[EAcute]lectriques d'un lot de ", 15, " ampoules dont ", 6, " sont d\[EAcute]fectueuses"], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ \(TraditionalForm\`"Calculer la probabilit\[EAcute] que"\)], "Print"], Cell[BoxData[ \(TraditionalForm\`"a) aucune ampoule ne soit d\[EAcute]fectueuse"\)], \ "Print"], Cell[BoxData[ \(TraditionalForm\`"b) exactement une ampoule soit \ d\[EAcute]fectueuse"\)], "Print"], Cell[BoxData[ \(TraditionalForm\`"c) au moins une ampoule soit \ d\[EAcute]fectueuse."\)], "Print"], Cell[CellGroupData[{ Cell["Solution:", "Subsubsection"], Cell[CellGroupData[{ Cell[BoxData[{ \(\(Print["\", \(\((total \ - m)\)!\)\/\(\((total - m - n)\)!\)*\(\((total - n)\)!\)\/\(total!\)];\)\), "\ \[IndentingNewLine]", \(\(Print["\", n*\(\((total - m)\)!\)\/\(\((total - m - n + 1)\)!\)*\(\((m)\)!\)\/\(\ \((m - 1)\)!\)*\(\((total - n)\)!\)\/\(total!\)];\)\), "\[IndentingNewLine]", \ \(\(Print["\", 1 - \(\((total - m)\)!\)\/\(\((total - m - n)\)!\)*\(\((total - n)\)!\ \)\/\(total!\)];\)\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("a) P('aucune ampoule d\[EAcute]fectueuse') = "\ \[InvisibleSpace]12\/65\), SequenceForm[ "a) P('aucune ampoule d\[EAcute]fectueuse') = ", Rational[ 12, 65]], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) P('1 ampoule d\[EAcute]fectueuse') = "\ \[InvisibleSpace]216\/455\), SequenceForm[ "b) P('1 ampoule d\[EAcute]fectueuse') = ", Rational[ 216, 455]], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("c) P('au moins une ampoule d\[EAcute]fectueuse') = \ "\[InvisibleSpace]53\/65\), SequenceForm[ "c) P('au moins une ampoule d\[EAcute]fectueuse') = ", Rational[ 53, 65]], Editable->False], TraditionalForm]], "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(\(n = 52;\)\), "\[IndentingNewLine]", \(\(Print["\<4. On tire au hasard et sans remise deux cartes d'un jeu de \ \>", n, "\< cartes.\>"];\)\), "\[IndentingNewLine]", \(\(Print["\"];\)\), "\ \[IndentingNewLine]", \(\(Print["\"];\)\), "\ \[IndentingNewLine]", \(\(Print["\"];\)\)}], \ "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("4. On tire au hasard et sans remise deux cartes \ d'un jeu de "\[InvisibleSpace]52\[InvisibleSpace]" cartes."\), SequenceForm[ "4. On tire au hasard et sans remise deux cartes d'un jeu de ", 52, " cartes."], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ \(TraditionalForm\`"Calculer la probabilit\[EAcute] que"\)], "Print"], Cell[BoxData[ \(TraditionalForm\`"a) les deux cartes soient des piques;"\)], "Print"], Cell[BoxData[ \(TraditionalForm\`"b) une carte soit un pique et l'autre un coeur."\)], \ "Print"], Cell[CellGroupData[{ Cell["Solution:", "Subsubsection"], Cell[CellGroupData[{ Cell[BoxData[{ \(\(Print[\*"\"\\"", 13/52*12/51];\)\), "\[IndentingNewLine]", \(Print[\*"\"\\"", 2*13/52*13/51]\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("a) P(\!\(P\_1\) \[Intersection] \!\(P\_2\)) = "\ \[InvisibleSpace]1\/17\), SequenceForm[ "a) P(\!\(P\_1\) \[Intersection] \!\(P\_2\)) = ", Rational[ 1, 17]], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) P(un pique et un coeur) = P((\!\(P\_1\) \ \[Intersection] \!\(C\_2\)) \[Union] (\!\(P\_2\) \[Intersection] \!\(C\_1\))) \ = "\[InvisibleSpace]13\/102\), SequenceForm[ "b) P(un pique et un coeur) = P((\!\(P\_1\) \[Intersection] \ \!\(C\_2\)) \[Union] (\!\(P\_2\) \[Intersection] \!\(C\_1\))) = ", Rational[ 13, 102]], Editable->False], TraditionalForm]], "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(n = 3; i = 2; p = 2/6; b = 1/6; r = 3/6;\), "\[IndentingNewLine]", \(\(Print["\<5. Un d\[EAcute] \[AGrave] six faces poss\[EGrave]de trois \ faces rouges, 2 faces jaunes et une face bleue. On lance ce d\[EAcute] \>", n, "\< fois de suite.\>"];\)\), "\[IndentingNewLine]", \(\(Print["\"];\)\), "\ \[IndentingNewLine]", \(\(Print["\"];\)\), "\[IndentingNewLine]", \ \(\(Print["\", i, "\< faces jaunes;\>"];\)\), "\[IndentingNewLine]", \(\(Print["\", i, "\< face(s) rouge(s) et \>", n - i, "\< bleue(s)?\>"];\)\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("5. Un d\[EAcute] \[AGrave] six faces \ poss\[EGrave]de trois faces rouges, 2 faces jaunes et une face bleue. On \ lance ce d\[EAcute] "\[InvisibleSpace]3\[InvisibleSpace]" fois de suite."\), SequenceForm[ "5. Un d\[EAcute] \[AGrave] six faces poss\[EGrave]de trois faces \ rouges, 2 faces jaunes et une face bleue. On lance ce d\[EAcute] ", 3, " fois de suite."], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ \(TraditionalForm\`"Quelle est la probabilit\[EAcute] d'obtenir"\)], \ "Print"], Cell[BoxData[ \(TraditionalForm\`"a) au moins une face jaune;"\)], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) exactement \ "\[InvisibleSpace]2\[InvisibleSpace]" faces jaunes;"\), SequenceForm[ "b) exactement ", 2, " faces jaunes;"], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("c) "\[InvisibleSpace]2\[InvisibleSpace]" face(s) \ rouge(s) et "\[InvisibleSpace]1\[InvisibleSpace]" bleue(s)?"\), SequenceForm[ "c) ", 2, " face(s) rouge(s) et ", 1, " bleue(s)?"], Editable->False], TraditionalForm]], "Print"], Cell[CellGroupData[{ Cell["Solution:", "Subsubsection"], Cell[CellGroupData[{ Cell[BoxData[{\(Print["\", 1 - \((1 - p)\)^3];\), "\[IndentingNewLine]", RowBox[{ RowBox[{"Print", "[", RowBox[{ "\"\\"", ",", "i", ",", "\"\< faces jaunes') = \>\"", ",", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], " ", StyleBox["i", "TI"]}], StyleBox["]", "MR"]}], "*", \(p^i\), "*", \(\((1 - p)\)^\((n - i)\)\)}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{"Print", "[", RowBox[{ "\"\\"", ",", "i", ",", "\"\< face(s) rouge(s) et \>\"", ",", \(n - i\), ",", "\"\< bleue(s)') = \>\"", ",", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], " ", StyleBox["i", "TI"]}], StyleBox["]", "MR"]}], "*", \(r^i\), "*", \(\((b)\)^\((n - i)\)\)}]}], "]"}]}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("a) P('au moins une face jaune') = "\ \[InvisibleSpace]19\/27\), SequenceForm[ "a) P('au moins une face jaune') = ", Rational[ 19, 27]], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) P('exactement "\[InvisibleSpace]2\ \[InvisibleSpace]" faces jaunes') = "\[InvisibleSpace]2\/9\), SequenceForm[ "b) P('exactement ", 2, " faces jaunes') = ", Rational[ 2, 9]], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("c) P('"\[InvisibleSpace]2\[InvisibleSpace]" \ face(s) rouge(s) et "\[InvisibleSpace]1\[InvisibleSpace]" bleue(s)') = "\ \[InvisibleSpace]1\/8\), SequenceForm[ "c) P('", 2, " face(s) rouge(s) et ", 1, " bleue(s)') = ", Rational[ 1, 8]], Editable->False], TraditionalForm]], "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(\(n = 52;\)\), "\[IndentingNewLine]", \(\(Print["\<6. D'un jeu de \>", n, "\< cartes, on extrait au hasard et sans remise 2 \ cartes.\>"];\)\), "\[IndentingNewLine]", \(\(Print["\"];\)\), "\ \[IndentingNewLine]", \(\(Print["\"];\)\), "\[IndentingNewLine]", \(\(Print["\"];\)\), "\[IndentingNewLine]", \(\(Print["\"];\)\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("6. D'un jeu de "\[InvisibleSpace]52\ \[InvisibleSpace]" cartes, on extrait au hasard et sans remise 2 cartes."\), SequenceForm[ "6. D'un jeu de ", 52, " cartes, on extrait au hasard et sans remise 2 cartes."], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ \(TraditionalForm\`"Quelle est la probabilit\[EAcute] pour que"\)], \ "Print"], Cell[BoxData[ \(TraditionalForm\`"a) la premi\[EGrave]re carte tir\[EAcute]e soit un \ pique;"\)], "Print"], Cell[BoxData[ \(TraditionalForm\`"b) la seconde soit un 10 si la premi\[EGrave]re est \ un pique;"\)], "Print"], Cell[BoxData[ \(TraditionalForm\`"c) les deux cartes soient des as."\)], "Print"], Cell[CellGroupData[{ Cell["Solution:", "Subsubsection"], Cell[CellGroupData[{ Cell[BoxData[{ \(\(Print[\*"\"\\"", 13/52];\)\), "\[IndentingNewLine]", \(\(Print[\*"\"\\"", \(12\/52*4\/51 + 1\ \/52*3\/51\)\/\(13\/52\)];\)\), "\[IndentingNewLine]", \(\(Print[\*"\"\\"", 4/52*3/51];\)\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("a) P(\!\(P\_1\)) = "\[InvisibleSpace]1\/4\), SequenceForm[ "a) P(\!\(P\_1\)) = ", Rational[ 1, 4]], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) P(\!\(10\_2\) | \!\(P\_1\)) = \!\(\(P \((P\_1\\ \ \[Intersection] \\ 10\_2)\)\)\/\(P \((P\_1)\)\)\) = \!\(\(\(12\/52\) . \ \(4\/51\) + \(1\/52\) . \(3\/51\)\)\/\(13\/52\)\) = "\[InvisibleSpace]1\/13\), SequenceForm[ "b) P(\!\(10\_2\) | \!\(P\_1\)) = \!\(\(P \((P\_1\\ \[Intersection] \ \\ 10\_2)\)\)\/\(P \((P\_1)\)\)\) = \!\(\(\(12\/52\) . \(4\/51\) + \(1\/52\) \ . \(3\/51\)\)\/\(13\/52\)\) = ", Rational[ 1, 13]], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("c) P(\!\(A\_1\) \[Intersection] \!\(A\_2\)) = "\ \[InvisibleSpace]1\/221\), SequenceForm[ "c) P(\!\(A\_1\) \[Intersection] \!\(A\_2\)) = ", Rational[ 1, 221]], Editable->False], TraditionalForm]], "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[{ \(p = 1/3; n = 10; i = 1;\), "\[IndentingNewLine]", \(\(Print["\<7. Un test comporte \>", n, "\< questions \[AGrave] choix multiples. Chaque question a 3 r\ \[EAcute]ponses propos\[EAcute]es dont une seule est correcte, Si un \ \[EAcute]tudiant choisit au hasard la r\[EAcute]ponse \[AGrave] chaque \ question, quelle est la probabilit\[EAcute] qu\[CloseCurlyQuote]il \ r\[EAcute]ponde correctement\>"];\)\), "\[IndentingNewLine]", \(\(Print["\"];\)\), "\ \[IndentingNewLine]", \(\(Print["\", i, "\< question(s);\>"];\)\), "\[IndentingNewLine]", \(\(Print["\"];\)\)}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("7. Un test comporte "\[InvisibleSpace]10\ \[InvisibleSpace]" questions \[AGrave] choix multiples. Chaque question a 3 r\ \[EAcute]ponses propos\[EAcute]es dont une seule est correcte, Si un \ \[EAcute]tudiant choisit au hasard la r\[EAcute]ponse \[AGrave] chaque \ question, quelle est la probabilit\[EAcute] qu\[CloseCurlyQuote]il \ r\[EAcute]ponde correctement"\), SequenceForm[ "7. Un test comporte ", 10, " questions \[AGrave] choix multiples. Chaque question a 3 r\ \[EAcute]ponses propos\[EAcute]es dont une seule est correcte, Si un \ \[EAcute]tudiant choisit au hasard la r\[EAcute]ponse \[AGrave] chaque \ question, quelle est la probabilit\[EAcute] qu\[CloseCurlyQuote]il \ r\[EAcute]ponde correctement"], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ \(TraditionalForm\`"a) \[AGrave] toutes les questions;"\)], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) \[AGrave] exactement "\[InvisibleSpace]1\ \[InvisibleSpace]" question(s);"\), SequenceForm[ "b) \[AGrave] exactement ", 1, " question(s);"], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ \(TraditionalForm\`"c) \[AGrave] plus d\[CloseCurlyQuote]une \ question?"\)], "Print"], Cell[CellGroupData[{ Cell["Solution:", "Subsubsection"], Cell[CellGroupData[{ Cell[BoxData[{\(Print["\", p^n, "\< = \>", N[p^n]];\), "\[IndentingNewLine]", RowBox[{ RowBox[{"Print", "[", RowBox[{ "\"\\"", ",", "i", ",", "\"\< question(s)') = \>\"", ",", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], "i"}], StyleBox["]", "MR"]}], "*", \(p^i\), "*", \(\((1 - p)\)^\((n - i)\)\)}], ",", "\"\< = \>\"", ",", RowBox[{"N", "[", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], "i"}], StyleBox["]", "MR"]}], "*", \(p^i\), "*", \(\((1 - p)\)^\((n - i)\)\)}], "]"}]}], "]"}], ";"}], "\[IndentingNewLine]", RowBox[{ RowBox[{"Print", "[", RowBox[{ "\"\\"", ",", RowBox[{"1", "-", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], "0"}], StyleBox["]", "MR"]}], "*", \(\((1 - p)\)^\((n)\)\)}], "-", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], "1"}], StyleBox["]", "MR"]}], "*", "p", "*", \(\((1 - p)\)^\((n - 1)\)\)}]}], ",", "\"\< = \>\"", ",", RowBox[{"N", "[", RowBox[{"1", "-", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], "0"}], StyleBox["]", "MR"]}], "*", \(\((1 - p)\)^\((n)\)\)}], "-", RowBox[{ RowBox[{ StyleBox["Binomial", "MR"], StyleBox["[", "MR"], RowBox[{ StyleBox["n", "TI"], StyleBox[",", "MR"], "1"}], StyleBox["]", "MR"]}], "*", "p", "*", \(\((1 - p)\)^\((n - 1)\)\)}]}], "]"}]}], "]"}], ";"}]}], "Input", CellOpen->False], Cell[BoxData[ FormBox[ InterpretationBox[\("a) P('toutes les questions') = "\[InvisibleSpace]1\ \/59049\[InvisibleSpace]" = "\[InvisibleSpace]0.000016935087808430286`\), SequenceForm[ "a) P('toutes les questions') = ", Rational[ 1, 59049], " = ", 1.6935087808430286*^-05], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) P('exactement "\[InvisibleSpace]1\ \[InvisibleSpace]" question(s)') = "\[InvisibleSpace]5120\/59049\ \[InvisibleSpace]" = "\[InvisibleSpace]0.08670764957916306`\), SequenceForm[ "b) P('exactement ", 1, " question(s)') = ", Rational[ 5120, 59049], " = ", 0.086707649579163062], Editable->False], TraditionalForm]], "Print"], Cell[BoxData[ FormBox[ InterpretationBox[\("b) P('plus d\[CloseCurlyQuote]une question') = "\ \[InvisibleSpace]17635\/19683\[InvisibleSpace]" = \ "\[InvisibleSpace]0.8959508205050043`\), SequenceForm[ "b) P('plus d\[CloseCurlyQuote]une question') = ", Rational[ 17635, 19683], " = ", 0.8959508205050043], Editable->False], TraditionalForm]], "Print"] }, Open ]] }, Closed]] }, Open ]] }, Open ]] }, FrontEndVersion->"5.2 for Macintosh", ScreenRectangle->{{4, 1280}, {0, 1002}}, CellGrouping->Manual, WindowSize->{762, 727}, WindowMargins->{{55, Automatic}, {Automatic, 7}}, PrintingCopies->1, PrintingPageRange->{1, Automatic}, PageHeaders->{{ Inherited, Inherited, Inherited}, {"macformath.net", Inherited, Inherited}} ] (******************************************************************* 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[CellGroupData[{ Cell[1776, 53, 78, 0, 38, "Subsection"], Cell[CellGroupData[{ Cell[1879, 57, 534, 8, 19, "Input", CellOpen->False], Cell[2416, 67, 377, 7, 25, "Print"], Cell[2796, 76, 377, 8, 25, "Print"], Cell[3176, 86, 419, 8, 25, "Print"], Cell[CellGroupData[{ Cell[3620, 98, 34, 0, 28, "Subsubsection"], Cell[CellGroupData[{ Cell[3679, 102, 737, 22, 19, "Input", CellOpen->False], Cell[4419, 126, 282, 6, 25, "Print"], Cell[4704, 134, 337, 7, 25, "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[5102, 148, 446, 8, 19, "Input", CellOpen->False], Cell[5551, 158, 677, 12, 63, "Print"], Cell[CellGroupData[{ Cell[6253, 174, 34, 0, 28, "Subsubsection"], Cell[CellGroupData[{ Cell[6312, 178, 149, 3, 19, "Input", CellOpen->False], Cell[6464, 183, 250, 6, 41, "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[6775, 196, 747, 15, 19, "Input", CellOpen->False], Cell[7525, 213, 550, 10, 44, "Print"], Cell[8078, 225, 87, 1, 25, "Print"], Cell[8168, 228, 99, 2, 25, "Print"], Cell[8270, 232, 104, 2, 25, "Print"], Cell[8377, 236, 103, 2, 25, "Print"], Cell[CellGroupData[{ Cell[8505, 242, 34, 0, 28, "Subsubsection"], Cell[CellGroupData[{ Cell[8564, 246, 624, 11, 19, "Input", CellOpen->False], Cell[9191, 259, 284, 6, 41, "Print"], Cell[9478, 267, 278, 6, 41, "Print"], Cell[9759, 275, 296, 6, 41, "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[10116, 288, 479, 10, 19, "Input", CellOpen->False], Cell[10598, 300, 343, 7, 25, "Print"], Cell[10944, 309, 87, 1, 25, "Print"], Cell[11034, 312, 89, 1, 25, "Print"], Cell[11126, 315, 101, 2, 25, "Print"], Cell[CellGroupData[{ Cell[11252, 321, 34, 0, 28, "Subsubsection"], Cell[CellGroupData[{ Cell[11311, 325, 346, 6, 19, "Input", CellOpen->False], Cell[11660, 333, 284, 6, 41, "Print"], Cell[11947, 341, 455, 9, 41, "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[12463, 357, 712, 14, 19, "Input", CellOpen->False], Cell[13178, 373, 499, 9, 44, "Print"], Cell[13680, 384, 97, 2, 25, "Print"], Cell[13780, 388, 79, 1, 25, "Print"], Cell[13862, 391, 241, 5, 25, "Print"], Cell[14106, 398, 297, 5, 25, "Print"], Cell[CellGroupData[{ Cell[14428, 407, 34, 0, 28, "Subsubsection"], Cell[CellGroupData[{ Cell[14487, 411, 1418, 43, 19, "Input", CellOpen->False], Cell[15908, 456, 262, 6, 41, "Print"], Cell[16173, 464, 304, 6, 41, "Print"], Cell[16480, 472, 371, 8, 41, "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[16912, 487, 615, 12, 19, "Input", CellOpen->False], Cell[17530, 501, 345, 7, 25, "Print"], Cell[17878, 510, 96, 2, 25, "Print"], Cell[17977, 514, 111, 2, 25, "Print"], Cell[18091, 518, 115, 2, 25, "Print"], Cell[18209, 522, 85, 1, 25, "Print"], Cell[CellGroupData[{ Cell[18319, 527, 34, 0, 28, "Subsubsection"], Cell[CellGroupData[{ Cell[18378, 531, 522, 9, 19, "Input", CellOpen->False], Cell[18903, 542, 226, 5, 41, "Print"], Cell[19132, 549, 566, 11, 61, "Print"], Cell[19701, 562, 286, 6, 41, "Print"] }, Open ]] }, Closed]] }, Open ]], Cell[CellGroupData[{ Cell[20048, 575, 772, 14, 19, "Input", CellOpen->False], Cell[20823, 591, 851, 15, 82, "Print"], Cell[21677, 608, 86, 1, 25, "Print"], Cell[21766, 611, 259, 5, 25, "Print"], Cell[22028, 618, 104, 2, 25, "Print"], Cell[CellGroupData[{ Cell[22157, 624, 34, 0, 28, "Subsubsection"], Cell[CellGroupData[{ Cell[22216, 628, 3258, 97, 19, "Input", CellOpen->False], Cell[25477, 727, 355, 6, 41, "Print"], Cell[25835, 735, 406, 7, 41, "Print"], Cell[26244, 744, 387, 7, 41, "Print"] }, Open ]] }, Closed]] }, Open ]] }, Open ]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)