(*^ ::[ Information = "This is a Mathematica Notebook file. It contains ASCII text, and can be transferred by email, ftp, or other text-file transfer utility. It should be read or edited using a copy of Mathematica or MathReader. If you received this as email, use your mail application or copy/paste to save everything from the line containing (*^ down to the line containing ^*) into a plain text file. On some systems you may have to give the file a name ending with ".ma" to allow Mathematica to recognize it as a Notebook. The line below identifies what version of Mathematica created this file, but it can be opened using any other version as well."; FrontEndVersion = "Macintosh Mathematica Notebook Front End Version 2.2"; MacintoshStandardFontEncoding; fontset = title, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeTitle, center, M7, bold, e8, 24, "Times"; fontset = subtitle, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeTitle, center, M7, bold, e6, 18, "Times"; fontset = subsubtitle, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeTitle, center, M7, italic, e6, 14, "Times"; fontset = section, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeSection, grayBox, M22, bold, a20, 18, "Times"; fontset = subsection, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeSection, blackBox, M19, bold, a15, 14, "Times"; fontset = subsubsection, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeSection, whiteBox, M18, bold, a12, 12, "Times"; fontset = text, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = smalltext, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 10, "Times"; fontset = input, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeInput, M42, N23, bold, L-5, 12, "Courier"; fontset = output, output, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeOutput, M42, N23, L-5, 12, "Courier"; fontset = message, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeOutput, M42, N23, R65535, L-5, 12, "Courier"; fontset = print, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeOutput, M42, N23, L-5, 12, "Courier"; fontset = info, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeOutput, M42, N23, B65535, L-5, 12, "Courier"; fontset = postscript, PostScript, formatAsPostScript, output, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeGraphics, M7, l34, w282, h287, 12, "Courier"; fontset = name, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, italic, 10, "Geneva"; fontset = header, inactive, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = leftheader, inactive, L2, 12, "Times"; fontset = footer, inactive, noKeepOnOnePage, preserveAspect, center, M7, 12, "Times"; fontset = leftfooter, inactive, L2, 12, "Times"; fontset = help, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 10, "Times"; fontset = clipboard, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = completions, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special1, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special2, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special3, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special4, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special5, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; paletteColors = 128; automaticGrouping; currentKernel; ] :[font = subtitle; inactive; preserveAspect; startGroup] Algebra and Calculus :[font = text; inactive; preserveAspect] Algebraic formulas: :[font = input; preserveAspect] 9(2+x)(x+y) + (x+y) ^2 :[font = text; inactive; preserveAspect] Algebraic manipulations, e.g. Expand the 3rd power of the above polynomial: :[font = input; preserveAspect] Expand[%^3] :[font = text; inactive; preserveAspect] Factorization, e.g. factor the above polynomial over the integers: :[font = input; preserveAspect] Factor[%] :[font = text; inactive; preserveAspect] Integration, e.g. analytically calculate the indefinite integral Ú dx x2 sin(x)2: ;[s] 7:0,0;66,1;67,0;72,2;73,0;80,2;81,0;83,-1; 3:4,13,9,Times,0,12,0,0,0;1,18,13,Symbol,0,12,0,0,0;2,21,13,Times,32,12,0,0,0; :[font = input; preserveAspect] Integrate[x^2 Sin[x]^2, x] :[font = text; inactive; preserveAspect] Differentiation, e.g. differentiate the above result with respect to x: :[font = input; preserveAspect] D[%,x] :[font = text; inactive; preserveAspect] Simplification, e.g. simplify the resulting expression: :[font = input; preserveAspect] Simplify[%] :[font = text; inactive; preserveAspect] Series Expansions, e.g. generates a power series expansion for x2 sin(x)2 about the point x = 0 to order 14: ;[s] 5:0,0;64,1;65,0;72,1;73,0;109,-1; 2:3,13,9,Times,0,12,0,0,0;2,21,13,Times,32,12,0,0,0; :[font = input; preserveAspect] Series[%, {x,0,14}] :[font = text; inactive; preserveAspect] Check the error order of the central difference differentiation formula by power series expansion around h=0 to 6th order: :[font = input; preserveAspect; endGroup] Series[(f[x+h] - f[x-h])/(2h), {h,0,6}] ^*)