{VERSION 5 0 "IBM INTEL NT" "5.0" } {USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 1 0 0 0 0 1 }{CSTYLE "" -1 256 "" 1 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 } {PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Heading 1" 0 3 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 1 }1 0 0 0 6 6 0 0 0 0 0 0 -1 0 }{PSTYLE "Heading 2" 3 4 1 {CSTYLE "" -1 -1 "" 1 14 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 4 4 0 0 0 0 0 0 -1 0 }{PSTYLE "Headi ng 3" 4 5 1 {CSTYLE "" -1 -1 "" 1 12 0 0 0 0 1 0 0 0 0 0 0 0 0 1 }0 0 0 -1 0 0 0 0 0 0 0 0 -1 0 }{PSTYLE "Bullet Item" 0 15 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 3 3 0 0 0 0 0 0 15 2 } {PSTYLE "Dash Item" 0 16 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }0 0 0 -1 3 3 0 0 0 0 0 0 16 3 }{PSTYLE "" 4 256 1 {CSTYLE " " -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }3 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "" 4 257 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 }3 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }} {SECT 0 {EXCHG {PARA 257 "" 0 "" {TEXT -1 0 "" }{TEXT -1 0 "" }{TEXT 256 24 "Linear Algebra Powertool" }}{PARA 256 "" 0 "" {TEXT -1 17 "Jus t Enough Maple" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 61 "Worksheet by Michael K. May, S.J. - revised by Russell B lyth" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 114 " This worksheet is intended to give you just enough Maple to let you ru n the Maple worksheets for Linear Algebra. " }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 5 "" 0 "" {TEXT -1 20 "Starting and Saving:" }}{PARA 0 "" 0 "" {TEXT -1 304 "When you start a prepared worksheet, you should get a warning \+ message that the worksheet is locked and changes cannot be saved. Ins tead you should choose \"save as\" from the file menu, pick a new name for the worksheet (a name that identifies the worksheet as yours), an d save your work. (Do this now.) " }}{PARA 0 "" 0 "" {TEXT -1 0 "" }} }{EXCHG {PARA 5 "" 0 "" {TEXT -1 19 "Executing sections:" }}{PARA 0 " " 0 "" {TEXT -1 332 "A Maple worksheet contains executable lines where Maple does mathematics. These lines begin with an input prompt (a \" >\") and are in red. To execute those sections, place the cursor anyw here in the command section and hit the \"enter\" or \"return\" key. \+ Maple will execute the code and move the cursor down to the next input section." }}{PARA 0 "" 0 "" {TEXT -1 35 "Execute the code section bel ow now." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 24 "answer := 1 + 1;\nanswer;" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 110 "Notice that in Maple com mands end with a semicolon and values are assigned to a variable with \+ the \":=\" symbol." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{EXCHG {PARA 5 "" 0 "" {TEXT -1 19 "Typing in commands:" }}{PARA 0 "" 0 "" {TEXT -1 185 "Since this is a math course, the worksheets you do will have exer cises embedded in them. You need to be able to type in your own comma nds. At the input prompt below, enter the command" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 18 "myanswer := 1 + 2;" }} {PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 96 "to assign the value of 3 to the variable myanswer. (Notice that there is no sp ace in myanswer.)" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{EXCHG {PARA 0 " > " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 0 "" 0 "" {TEXT -1 105 "For some of the exercises you need to use a series of commands. This rai ses the two practical questions:" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }} {PARA 15 "" 0 "" {TEXT -1 122 "1) How do you put more than one command line in a section with a single input prompt? (Hitting return execut es the line.)" }}{PARA 15 "" 0 "" {TEXT -1 67 "2) How do you insert m ore input prompts in the middle a worksheet?" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 8 "Answers:" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 72 "You continue an input sec tion to a second line by typing a shift-return." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 168 "You insert a new input p rompt by either going to the insert menu, select execution group, afte r paragraph, or by typing flower-J, where \"flower\" is the mac comman d key." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 27 "Enter the command sequence:" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 16 "answer1 := 1 +3;" }}{PARA 0 "" 0 "" {TEXT -1 8 "answer1;" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 138 "on two lines at the single cursor below. Then insert two executi on groups below it and reenter the commands in separate execution grou ps." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 5 "" 0 "" {TEXT -1 11 "Adding text" }}{PARA 0 "" 0 "" {TEXT -1 257 "When doing mathematics exercises, it i s important to answer the question asked, rather than simply showing s ome uninterpreted computations. Thus you need to be able to add expla natory comments to your computations, even if it is simply, \"The answ er is ...\"" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 139 "To add a text section, either insert an execution group and co nvert it to text with flower-t, or use the insert menu to insert a par agraph." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 97 "Annotate your work in the previous section with the comment that \+ \"Maple shows us that 1 + 3 = 4\"." }}{PARA 0 "" 0 "" {TEXT -1 0 "" }} {PARA 0 "" 0 "" {TEXT -1 324 "An obvious annotation you want on all wo rksheets is your name. On all worksheets after this one, the first th ing you should do after opening it is to add a line under the title th at gives the name of everyone in the group that is working on the work sheet, along with your group name. (Add your name to this worksheet n ow,)" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 5 "" 0 "" {TEXT -1 19 "Cutting and Pasting" }}{PARA 0 "" 0 "" {TEXT -1 198 "Some of the exercises involve several lines of code that follow a n example with only minor modifications. Obviously you could retype e verything, but that is too much work. The easier method is to " }} {PARA 16 "" 0 "" {TEXT -1 42 "highlight the material you want to copy , " }}{PARA 16 "" 0 "" {TEXT -1 77 "copy it with either the copy comma nd from the edit menu or the flower-c key, " }}{PARA 16 "" 0 "" {TEXT -1 55 "move the cursor to where you want the material placed, " }} {PARA 16 "" 0 "" {TEXT -1 92 "paste the material in with either the pa ste command from the edit menu or the flower-v key, " }}{PARA 16 "" 0 "" {TEXT -1 25 "edit the changes you want" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}{PARA 0 "" 0 "" {TEXT -1 135 "Copy the two command line section that assigns a value to answer1 above. Paste it in below and modify \+ it to assign a value to answer2." }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 5 "" 0 "" {TEXT -1 23 "Loading extra packages:" }}{PARA 0 "" 0 "" {TEXT -1 275 "Much of the work we we do \+ uses special commands that are in a number of special add-on packages \+ of commands. In particular, we will want to load packages with comman ds for linear algebra, and for plotting. Thus the first execution gro up of our worksheets will generally be:" }}{PARA 0 "" 0 "" {TEXT -1 0 "" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 43 "with(linalg): with(plo ttools): with(plots):" }}}{EXCHG {PARA 5 "" 0 "" {TEXT -1 22 "Reloadin g a worksheet:" }}{PARA 0 "" 0 "" {TEXT -1 509 "Some of the worksheets will be done in class, but they are generally designed to be long eno ugh that you will have to come back after class to finish them. When \+ you reopen a worksheet, you should be aware that Maple will only remem ber what you have done during that Maple session instead of what you d id earlier on the worksheet. Thus you will need to re-execute section s that define quantities and terms you are using. In particular, you \+ should start by re-executing the line that loads in extra packages." } }}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}{EXCHG {PARA 5 "" 0 " " {TEXT -1 20 "Saving and printing:" }}{PARA 0 "" 0 "" {TEXT -1 332 "I t is generally a good idea to save your work at least every 10 minutes . (Machines crash at the most inconvenient times. People who work wi th computers learn that \"Murphy was an optimist\".) The last thing y ou want to do with a worksheet is to save it to disk and then to print a copy so that you can turn it in. (Do this now.) " }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}}{MARK "0 0 2" 24 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 2 33 1 1 }