(*********************************************************************** Mathematica-Compatible Notebook This notebook can be used on any computer system with Mathematica 3.0, MathReader 3.0, or any compatible application. The data for the notebook starts with the line of 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[ 5657, 243]*) (*NotebookOutlinePosition[ 6489, 272]*) (* CellTagsIndexPosition[ 6445, 268]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["p. 662", "Subsection"], Cell[CellGroupData[{ Cell["50.", "Subsubsection"], Cell[TextData[{ "The series ", Cell[BoxData[ \(TraditionalForm \`\[Sum]\+\(n = 0\)\%\[Infinity]\(\((\(-1\))\)\^n\) 1\/\(n!\)\)]], "is alternating so the error of the ", Cell[BoxData[ \(TraditionalForm\`n\)]], "th partial sum ", Cell[BoxData[ \(TraditionalForm\`s\_n\)]], " is less than the absolute value of the ", Cell[BoxData[ \(TraditionalForm\`\((n + 1)\)\)]], "th term: ", Cell[BoxData[ \(TraditionalForm \`\( | s\_n - L | \ \( < \ 1\/\(\((n + 1)\)!\)\)\)\)]], ". We want the error to be ", Cell[BoxData[ \(TraditionalForm\`\( < 5\[Times]10\^\(-6\)\)\)]], "so we should find ", Cell[BoxData[ \(TraditionalForm\`n\)]], " such that ", Cell[BoxData[ \(TraditionalForm\`1\/\(\((n + 1)\)!\) < 5\[Times]10\^\(-6\)\)]], " or ", Cell[BoxData[ \(TraditionalForm \`\(\((n + 1)\)!\)\ > \ 1\/5\[Times]10\^6 = 200000\)]], "." }], "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(Table[\(\((n + 1)\)!\), {n, 1, 10}]\)], "Input"], Cell[BoxData[ \({2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800}\)], "Output"] }, Open ]], Cell[TextData[{ Cell[BoxData[ \(TraditionalForm\`n = 8\)]], " will work." }], "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(N[1\/\(\((8 + 1)\)!\)]\)], "Input"], Cell[BoxData[ \(2.75573192239858943`*^-6\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ RowBox[{\(s\_8\), "=", " ", FormBox[\(\[Sum]\+\(n = 0\)\%8\(\((\(-1\))\)\^n\) 1. \/\(n!\)\), "TraditionalForm"]}]], "Input"], Cell[BoxData[ \(0.367881944444444508`\)], "Output"] }, Open ]], Cell[TextData[{ "The true value of the series is ", Cell[BoxData[ \(TraditionalForm\`e\^\(-1\)\)]], "." }], "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(L\ = N[E\^\(-1\)]\)], "Input"], Cell[BoxData[ \(0.367879441171442334`\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Abs[s\_8 - \ L]\)], "Input"], Cell[BoxData[ \(2.50327300216346415`*^-6\)], "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["52.", "Subsubsection"], Cell[TextData[{ "The alternating harmonic series is ", Cell[BoxData[ \(TraditionalForm \`\[Sum]\+\(n = 1\)\%\[Infinity]\((\(-1\))\)\^\(n + 1\)\/n\)]], ". The exact sum is ", Cell[BoxData[ \(TraditionalForm\`ln(2)\)]], ". If we use the approximation ", Cell[BoxData[ \(TraditionalForm \`\(s\_n + s\_\(n + 1\)\)\/2 = s\_n + \(1\/2\) \(\((\(-1\))\)\^\(n + 2\)\) a\_\(n + 1\)\)]], "for ", Cell[BoxData[ \(TraditionalForm\`n = 20\)]], " we get:" }], "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(s\_20\ = \ \[Sum]\+\(n = 1\)\%20\((\(-1\))\)\^\(n + 1\)\/n // N\)], "Input"], Cell[BoxData[ \(0.668771403175427892`\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(s\_20 + \(1\/2\) 1\/21\)], "Input"], Cell[BoxData[ \(0.692580926984951794`\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Log[2] // N\)], "Input"], Cell[BoxData[ \(0.693147180559945308`\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Abs[s\_20 + \(1\/2\) 1\/21\ - \ Log[2]]\)], "Input"], Cell[BoxData[ \(0.000566253574993513808`\)], "Output"] }, Open ]], Cell[TextData[{ "Using ", Cell[BoxData[ \(TraditionalForm\`s\_20\)]], "for an approximation has an error ", Cell[BoxData[ \(TraditionalForm\`\( < \(\(| a\)\_\(n + 1\) | \)\)\)]], ":" }], "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(1\/21 // N\)], "Input"], Cell[BoxData[ \(0.0476190476190476186`\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Abs[s\_20 - Log[2]]\)], "Input"], Cell[BoxData[ \(0.0243757773845173497`\)], "Output"] }, Open ]] }, Open ]] }, Open ]] }, FrontEndVersion->"X 3.0", ScreenRectangle->{{0, 1024}, {0, 768}}, ScreenStyleEnvironment->"Working", WindowSize->{520, 600}, WindowMargins->{{Automatic, 224}, {Automatic, 28}}, PrintingPageRange->{Automatic, Automatic}, PrintingOptions->{"PaperSize"->{612, 792}, "PaperOrientation"->"Portrait", "Magnification"->1}, ShowCellLabel->False ] (*********************************************************************** 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[1731, 51, 28, 0, 45, "Subsection"], Cell[CellGroupData[{ Cell[1784, 55, 28, 0, 42, "Subsubsection"], Cell[1815, 57, 940, 32, 77, "Text"], Cell[CellGroupData[{ Cell[2780, 93, 68, 1, 27, "Input"], Cell[2851, 96, 97, 2, 27, "Output"] }, Open ]], Cell[2963, 101, 95, 4, 32, "Text"], Cell[CellGroupData[{ Cell[3083, 109, 55, 1, 45, "Input"], Cell[3141, 112, 58, 1, 29, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3236, 118, 157, 3, 62, "Input"], Cell[3396, 123, 55, 1, 27, "Output"] }, Open ]], Cell[3466, 127, 127, 5, 32, "Text"], Cell[CellGroupData[{ Cell[3618, 136, 51, 1, 29, "Input"], Cell[3672, 139, 55, 1, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3764, 145, 48, 1, 27, "Input"], Cell[3815, 148, 58, 1, 29, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[3922, 155, 28, 0, 42, "Subsubsection"], Cell[3953, 157, 515, 17, 57, "Text"], Cell[CellGroupData[{ Cell[4493, 178, 100, 2, 62, "Input"], Cell[4596, 182, 55, 1, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4688, 188, 55, 1, 43, "Input"], Cell[4746, 191, 55, 1, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4838, 197, 44, 1, 27, "Input"], Cell[4885, 200, 55, 1, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4977, 206, 73, 1, 43, "Input"], Cell[5053, 209, 58, 1, 27, "Output"] }, Open ]], Cell[5126, 213, 216, 8, 32, "Text"], Cell[CellGroupData[{ Cell[5367, 225, 43, 1, 43, "Input"], Cell[5413, 228, 56, 1, 27, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5506, 234, 52, 1, 27, "Input"], Cell[5561, 237, 56, 1, 27, "Output"] }, Open ]] }, Open ]] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)