(*********************************************************************** 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[ 5789, 241]*) (*NotebookOutlinePosition[ 6892, 276]*) (* CellTagsIndexPosition[ 6848, 272]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell[TextData["Multiple Integrals"], "Section", Evaluatable->False, AspectRatioFixed->True], Cell[TextData[{ "Multiple integrals are easy to evaluate in Mathematica, although the \ syntax takes a while to get used. In setting up a multiple integral remember \ that ", StyleBox["Mathematica", FontSlant->"Italic"], " integrates the outermost variable first and works it way through to the \ innermost variable. This is the reverse of the standard integral notation." }], "Text", Evaluatable->False, AspectRatioFixed->True] }, Open ]], Cell[CellGroupData[{ Cell[TextData["Example:"], "Subsubsection", Evaluatable->False, AspectRatioFixed->True], Cell[TextData[{ "To integrate ", StyleBox["x^2 + y^2", FontFamily->"Courier", FontWeight->"Bold"], " on the triangular region" }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[TextData["0 <= y <= x; 0 <= x <= 1;"], "Input", AspectRatioFixed->True], Cell[TextData[{ "we integrate the ", StyleBox["y", FontFamily->"Courier", FontWeight->"Bold"], " variable first from ", StyleBox["0", FontFamily->"Courier", FontWeight->"Bold"], " to ", StyleBox["x", FontFamily->"Courier", FontWeight->"Bold"], " and then the ", StyleBox["x", FontFamily->"Courier", FontWeight->"Bold"], " variable from ", StyleBox["0", FontFamily->"Courier", FontWeight->"Bold"], " to ", StyleBox["1", FontFamily->"Courier", FontWeight->"Bold"], ". Since ", StyleBox["Mathematica", FontSlant->"Italic"], " evaualtes the variables from right to left we would set this up as \ follows:" }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{ Cell[TextData["Integrate[ x^2 + y^2, {x, 0, 1}, {y, 0, x} ]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ 1/3\ \>", "\<\ 1 - 3\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True] }, Open ]], Cell[TextData[ "If you would like to see some of the intermediate steps you could do the \ following:"], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{ Cell[TextData["Integrate[ x^2 + y^2, y ]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ x^2*y + y^3/3\ \>", "\<\ 3 2 y x y + -- 3\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True] }, Open ]], Cell[CellGroupData[{ Cell[TextData["Integrate[ x^2 + y^2, {y, 0, x} ] "], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ (4*x^3)/3\ \>", "\<\ 3 4 x ---- 3\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True] }, Open ]], Cell[CellGroupData[{ Cell[TextData["Integrate[ 4x^3/3, {x, 0, 1} ]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ 1/3\ \>", "\<\ 1 - 3\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[TextData["Example"], "Subsubsection", Evaluatable->False, AspectRatioFixed->True], Cell[TextData[{ "Many integrals cannot be evaluated symbolically because there is no way to \ express the antiderivative in terms of familiar functions like polynomials, \ exponentials, logs, and trig functions. It is still quite easy for ", StyleBox["Mathematica", FontSlant->"Italic"], " to evaulate such integrals numerically." }], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{ Cell[TextData["NIntegrate[ E^(Cos[x y]), {x, 0, 1}, {y, 0, x} ]"], "Input", AspectRatioFixed->True], Cell[OutputFormData["\<\ 1.291639442184681\ \>", "\<\ 1.29164\ \>"], "Output", Evaluatable->False, AspectRatioFixed->True] }, Open ]], Cell[TextData["Symbolic integration fails:"], "Text", Evaluatable->False, AspectRatioFixed->True], Cell[CellGroupData[{ Cell["Integrate[ E^(Cos[x y]), {x, 0, 1}, {y, 0, x} ]", "Input", AspectRatioFixed->True], Cell[BoxData[ \(\[Integral]\_0\%1 \(\[Integral]\_0\%x\( E\^Cos[x\ y]\) \[DifferentialD]y \[DifferentialD]x\)\)], "Output"] }, Open ]] }, Open ]] }, FrontEndVersion->"Macintosh 3.0", ScreenRectangle->{{0, 832}, {0, 604}}, WindowToolbars->{}, CellGrouping->Manual, WindowSize->{520, 509}, WindowMargins->{{60, Automatic}, {30, Automatic}}, PrivateNotebookOptions->{"ColorPalette"->{RGBColor, 128}}, ShowCellLabel->True, ShowCellTags->False, RenderingOptions->{"ObjectDithering"->True, "RasterDithering"->False}, CharacterEncoding->"MacintoshAutomaticEncoding", MacintoshSystemPageSetup->"\<\ 00<0001804P000000]P2:?oQon82n@960dL5:0?l0080001804P000000]P2:001 0000I00000400`<300000BL?00400@00000000000000060801T1T00000000000 00000000000000000000000000000000\>" ] (*********************************************************************** 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, 95, 2, 50, "Section"], Cell[1829, 55, 442, 10, 79, "Text"] }, Open ]], Cell[CellGroupData[{ Cell[2308, 70, 91, 2, 41, "Subsubsection"], Cell[2402, 74, 200, 8, 31, "Text"], Cell[2605, 84, 79, 1, 27, "Input"], Cell[2687, 87, 743, 32, 48, "Text"], Cell[CellGroupData[{ Cell[3455, 123, 97, 1, 27, "Input"], Cell[3555, 126, 110, 8, 39, "Output"] }, Open ]], Cell[3680, 137, 160, 4, 30, "Text"], Cell[CellGroupData[{ Cell[3865, 145, 78, 1, 27, "Input"], Cell[3946, 148, 152, 9, 46, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4135, 162, 87, 1, 27, "Input"], Cell[4225, 165, 127, 9, 46, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4389, 179, 83, 1, 27, "Input"], Cell[4475, 182, 110, 8, 39, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[4634, 196, 90, 2, 41, "Subsubsection"], Cell[4727, 200, 400, 9, 63, "Text"], Cell[CellGroupData[{ Cell[5152, 213, 101, 1, 27, "Input"], Cell[5256, 216, 126, 6, 25, "Output"] }, Open ]], Cell[5397, 225, 101, 2, 30, "Text"], Cell[CellGroupData[{ Cell[5523, 231, 90, 1, 27, "Input"], Cell[5616, 234, 145, 3, 43, "Output"] }, Open ]] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)