(*********************************************************************** 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[ 3627, 136]*) (*NotebookOutlinePosition[ 4414, 166]*) (* CellTagsIndexPosition[ 4343, 160]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["Solve2", "Subsection", CellTags->"Solve2"], Cell[CellGroupData[{ Cell["Description", "Subsubsection"], Cell["\<\ Solve2 is equivalent to Solve, except that it works only for linear \ equations (and returns just a list) and accepts the options Factoring and \ FinalSubstitutions. Solve2 uses the \"high school algorithm\" and factors \ intermediate results.Therefore it can be drastically more useful than \ Solve.\ \>", "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(Options[Solve2]\)], "Input"], Cell[BoxData[ \(TraditionalForm\`{Factoring \[Rule] Factor2, FinalSubstitutions \[Rule] {}}\)], "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Examples", "Subsubsection"], Cell[CellGroupData[{ Cell[BoxData[ \(Solve2[{2\ x == b - w/2, y - d == p}, {x, y}]\)], "Input"], Cell[BoxData[ \(TraditionalForm\`{x \[Rule] 1\/4\ \((2\ b - w)\), y \[Rule] d + p}\)], "Output"] }, Open ]], Cell["\<\ If no equation sign is given the polynomials are supposed to be \ 0.\ \>", "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(Solve2[x + y, x]\)], "Input"], Cell[BoxData[ \(TraditionalForm\`{x \[Rule] \(-y\)}\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Solve2[x + y, x, FinalSubstitutions \[Rule] {y \[Rule] h}]\)], "Input"], Cell[BoxData[ \(TraditionalForm\`{x \[Rule] \(-h\)}\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Solve2[{2\ x == b - w/2, y - d == p}, {x, y}, Factoring \[Rule] Expand]\)], "Input"], Cell[BoxData[ \(TraditionalForm\`{x \[Rule] b\/2 - w\/4, y \[Rule] d + p}\)], "Output"] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(Solve[{2\ x == b - w/2, y - d == p}, {x, y}]\)], "Input"], Cell[BoxData[ \(TraditionalForm\`{{x \[Rule] 1\/4\ \((2\ b - w)\), y \[Rule] d + p}}\)], "Output"] }, Open ]] }, Open ]] }, Open ]] }, FrontEndVersion->"4.0 for X", ScreenRectangle->{{0, 1024}, {0, 768}}, WindowSize->{520, 485}, WindowMargins->{{Automatic, 244}, {114, Automatic}}, StyleDefinitions -> "Demo.nb" ] (*********************************************************************** 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->{ "Solve2"->{ Cell[1739, 51, 50, 1, 40, "Subsection", CellTags->"Solve2"]} } *) (*CellTagsIndex CellTagsIndex->{ {"Solve2", 4246, 153} } *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1739, 51, 50, 1, 40, "Subsection", CellTags->"Solve2"], Cell[CellGroupData[{ Cell[1814, 56, 36, 0, 36, "Subsubsection"], Cell[1853, 58, 324, 6, 71, "Text"], Cell[CellGroupData[{ Cell[2202, 68, 48, 1, 31, "Input"], Cell[2253, 71, 116, 2, 47, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[2418, 79, 33, 0, 36, "Subsubsection"], Cell[CellGroupData[{ Cell[2476, 83, 78, 1, 31, "Input"], Cell[2557, 86, 107, 2, 63, "Output"] }, Open ]], Cell[2679, 91, 92, 3, 29, "Text"], Cell[CellGroupData[{ Cell[2796, 98, 49, 1, 31, "Input"], Cell[2848, 101, 69, 1, 47, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[2954, 107, 91, 1, 70, "Input"], Cell[3048, 110, 69, 1, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3154, 116, 111, 2, 70, "Input"], Cell[3268, 120, 91, 1, 70, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3396, 126, 77, 1, 70, "Input"], Cell[3476, 129, 111, 2, 70, "Output"] }, Open ]] }, Open ]] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)