home *** CD-ROM | disk | FTP | other *** search
/ Capture the Power of the Internet / Capture the Power of the Internet.iso / mac / MacFiles / System / Calculators / mathpad.sit / MathPad 2.5.2 / Documentation / MathPad.help < prev    next >
MacBinary  |  2000-03-26  |  20.0 KB  |  [TEXT/MPad]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Mar 26 12:24:31 2000, modified Sun Mar 26 12:24:31 2000, creator 'MPad', type ASCII, 19697 bytes "MathPad.help" , at 0x4d71 518 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPad]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 4d 61 74 68 50 61 | 64 2e 68 65 6c 70 00 00 |..MathPa|d.help..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 61 | 64 00 00 00 00 00 00 00 |.TEXTMPa|d.......|
|00000050| 00 00 00 00 00 4c f1 00 | 00 02 06 b5 03 f8 4f b5 |.....L..|......O.|
|00000060| 03 f8 4f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..O.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f5 89 00 00 |........|........|
|00000080| 0d 2d 2d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.-- | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 61 74 68 | | Math|
|000000a0| 50 61 64 20 32 2e 35 0d | 0d 2d 2d 20 4d 61 74 68 |Pad 2.5.|.-- Math|
|000000b0| 50 61 64 20 69 73 20 61 | 20 67 65 6e 65 72 61 6c |Pad is a| general|
|000000c0| 20 70 75 72 70 6f 73 65 | 20 67 72 61 70 68 69 6e | purpose| graphin|
|000000d0| 67 20 73 63 69 65 6e 74 | 69 66 69 63 20 63 61 6c |g scient|ific cal|
|000000e0| 63 75 6c 61 74 6f 72 2e | 20 49 74 20 75 73 65 73 |culator.| It uses|
|000000f0| 20 74 65 78 74 20 69 6e | 70 75 74 20 72 61 74 68 | text in|put rath|
|00000100| 65 72 20 74 68 61 6e 20 | 73 69 6d 75 6c 61 74 69 |er than |simulati|
|00000110| 6e 67 20 62 75 74 74 6f | 6e 73 20 6f 6e 20 61 20 |ng butto|ns on a |
|00000120| 68 61 6e 64 20 68 65 6c | 64 20 63 61 6c 63 75 6c |hand hel|d calcul|
|00000130| 61 74 6f 72 2e 20 54 68 | 69 73 20 6c 69 76 65 20 |ator. Th|is live |
|00000140| 73 63 72 61 74 63 68 70 | 61 64 20 69 6e 74 65 72 |scratchp|ad inter|
|00000150| 66 61 63 65 20 61 6c 6c | 6f 77 73 20 79 6f 75 20 |face all|ows you |
|00000160| 74 6f 20 73 65 65 20 61 | 6e 64 20 65 64 69 74 20 |to see a|nd edit |
|00000170| 79 6f 75 72 20 65 6e 74 | 69 72 65 20 63 61 6c 63 |your ent|ire calc|
|00000180| 75 6c 61 74 69 6f 6e 2e | 0d 0d 2d 2d 20 54 68 69 |ulation.|..-- Thi|
|00000190| 73 20 66 69 6c 65 20 6c | 69 73 74 73 20 74 68 65 |s file l|ists the|
|000001a0| 20 62 61 73 69 63 20 63 | 61 70 61 62 69 6c 69 74 | basic c|apabilit|
|000001b0| 69 65 73 20 6f 66 20 4d | 61 74 68 50 61 64 20 6d |ies of M|athPad m|
|000001c0| 61 69 6e 6c 79 20 62 79 | 20 67 69 76 69 6e 67 20 |ainly by| giving |
|000001d0| 73 68 6f 72 74 20 65 78 | 61 6d 70 6c 65 73 2e 20 |short ex|amples. |
|000001e0| 54 68 69 73 20 65 6e 74 | 69 72 65 20 66 69 6c 65 |This ent|ire file|
|000001f0| 20 63 61 6e 20 62 65 20 | 65 76 61 6c 75 61 74 65 | can be |evaluate|
|00000200| 64 20 62 79 20 4d 61 74 | 68 50 61 64 20 62 75 74 |d by Mat|hPad but|
|00000210| 20 69 74 20 69 73 20 70 | 72 6f 62 61 62 6c 79 20 | it is p|robably |
|00000220| 6d 6f 72 65 20 63 6f 6e | 76 65 6e 69 65 6e 74 20 |more con|venient |
|00000230| 74 6f 20 6f 70 65 6e 20 | 61 20 6e 65 77 20 77 69 |to open |a new wi|
|00000240| 6e 64 6f 77 2c 20 63 6f | 70 79 20 61 20 73 69 6e |ndow, co|py a sin|
|00000250| 67 6c 65 20 65 78 61 6d | 70 6c 65 20 61 74 20 61 |gle exam|ple at a|
|00000260| 74 20 74 69 6d 65 20 61 | 6e 64 20 65 78 70 65 72 |t time a|nd exper|
|00000270| 69 6d 65 6e 74 20 77 69 | 74 68 20 69 74 2e 0d 0d |iment wi|th it...|
|00000280| 2d 2d 20 54 68 65 20 22 | 45 78 61 6d 70 6c 65 73 |-- The "|Examples|
|00000290| 22 20 66 6f 6c 64 65 72 | 20 69 6e 63 6c 75 64 65 |" folder| include|
|000002a0| 64 20 77 69 74 68 20 74 | 68 69 73 20 64 69 73 74 |d with t|his dist|
|000002b0| 72 69 62 75 74 69 6f 6e | 20 63 6f 6e 74 61 69 6e |ribution| contain|
|000002c0| 73 20 73 6f 6d 65 20 6c | 6f 6e 67 65 72 20 65 78 |s some l|onger ex|
|000002d0| 61 6d 70 6c 65 73 20 61 | 6e 64 20 75 74 69 6c 69 |amples a|nd utili|
|000002e0| 74 79 20 66 75 6e 63 74 | 69 6f 6e 73 2e 20 54 68 |ty funct|ions. Th|
|000002f0| 65 73 65 20 65 78 61 6d | 70 6c 65 73 20 73 68 6f |ese exam|ples sho|
|00000300| 77 20 68 6f 77 20 74 6f | 20 69 6d 70 6c 65 6d 65 |w how to| impleme|
|00000310| 6e 74 20 73 75 63 68 20 | 74 68 69 6e 67 73 20 61 |nt such |things a|
|00000320| 73 20 65 71 75 61 74 69 | 6f 6e 20 73 6f 6c 76 69 |s equati|on solvi|
|00000330| 6e 67 2c 20 63 75 72 76 | 65 20 66 69 74 74 69 6e |ng, curv|e fittin|
|00000340| 67 2c 20 76 65 63 74 6f | 72 20 63 61 6c 63 75 6c |g, vecto|r calcul|
|00000350| 61 74 69 6f 6e 73 20 61 | 6e 64 20 6e 75 6d 65 72 |ations a|nd numer|
|00000360| 69 63 61 6c 20 73 6f 6c | 75 74 69 6f 6e 20 6f 66 |ical sol|ution of|
|00000370| 20 64 69 66 66 65 72 65 | 6e 74 69 61 6c 20 65 71 | differe|ntial eq|
|00000380| 75 61 74 69 6f 6e 73 2e | 0d 0d 2d 2d 2d 2d 2d 2d |uations.|..------|
|00000390| 2d 2d 2d 2d 20 55 73 69 | 6e 67 20 4d 61 74 68 50 |---- Usi|ng MathP|
|000003a0| 61 64 20 61 73 20 61 20 | 63 61 6c 63 75 6c 61 74 |ad as a |calculat|
|000003b0| 6f 72 0d 2d 2d 20 4d 61 | 74 68 50 61 64 20 6d 61 |or.-- Ma|thPad ma|
|000003c0| 79 20 62 65 20 75 73 65 | 64 20 61 73 20 61 20 63 |y be use|d as a c|
|000003d0| 61 6c 63 75 6c 61 74 6f | 72 20 73 69 6d 70 6c 79 |alculato|r simply|
|000003e0| 20 62 79 20 74 79 70 69 | 6e 67 20 69 6e 20 6e 75 | by typi|ng in nu|
|000003f0| 6d 62 65 72 73 20 61 6e | 64 20 6f 70 65 72 61 74 |mbers an|d operat|
|00000400| 6f 72 73 2e 20 57 68 65 | 6e 20 74 68 65 20 45 4e |ors. Whe|n the EN|
|00000410| 54 45 52 20 6b 65 79 20 | 69 73 20 68 69 74 2c 20 |TER key |is hit, |
|00000420| 65 61 63 68 20 6c 69 6e | 65 20 69 73 20 65 76 61 |each lin|e is eva|
|00000430| 6c 75 61 74 65 64 20 61 | 6e 64 20 74 68 65 20 72 |luated a|nd the r|
|00000440| 65 73 75 6c 74 73 20 61 | 72 65 20 69 6e 73 65 72 |esults a|re inser|
|00000450| 74 65 64 20 69 6e 74 6f | 20 74 68 65 20 74 65 78 |ted into| the tex|
|00000460| 74 2e 0d 0d 20 20 20 32 | 2a 28 33 2b 34 29 3a 31 |t... 2|*(3+4):1|
|00000470| 34 2e 30 0d 0d 2d 2d 20 | 4d 61 74 68 50 61 64 20 |4.0..-- |MathPad |
|00000480| 69 6e 73 65 72 74 73 20 | 74 68 65 20 22 3a 22 20 |inserts |the ":" |
|00000490| 61 6e 64 20 74 68 65 20 | 72 65 73 75 6c 74 20 22 |and the |result "|
|000004a0| 31 34 2e 30 22 2e 20 41 | 20 73 74 61 74 75 73 20 |14.0". A| status |
|000004b0| 6c 69 6e 65 20 61 74 20 | 74 68 65 20 62 6f 74 74 |line at |the bott|
|000004c0| 6f 6d 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |om of th|e window|
|000004d0| 20 77 69 6c 6c 20 73 68 | 6f 77 20 61 20 22 c3 22 | will sh|ow a "."|
|000004e0| 20 74 6f 20 69 6e 64 69 | 63 61 74 65 20 74 68 61 | to indi|cate tha|
|000004f0| 74 20 65 76 61 6c 75 61 | 74 69 6f 6e 20 69 73 20 |t evalua|tion is |
|00000500| 63 6f 6d 70 6c 65 74 65 | 2e 20 49 66 20 61 6e 79 |complete|. If any|
|00000510| 20 70 72 6f 62 6c 65 6d | 73 20 61 72 65 20 65 6e | problem|s are en|
|00000520| 63 6f 75 6e 74 65 72 65 | 64 2c 20 74 68 65 79 20 |countere|d, they |
|00000530| 77 69 6c 6c 20 62 65 20 | 72 65 70 6f 72 74 65 64 |will be |reported|
|00000540| 20 69 6e 20 74 68 65 20 | 73 74 61 74 75 73 20 6c | in the |status l|
|00000550| 69 6e 65 20 61 6e 64 20 | 74 68 65 20 63 75 72 73 |ine and |the curs|
|00000560| 6f 72 20 77 69 6c 6c 20 | 62 65 20 6d 6f 76 65 64 |or will |be moved|
|00000570| 20 74 6f 20 74 68 65 20 | 70 72 6f 62 6c 65 6d 20 | to the |problem |
|00000580| 69 6e 20 74 68 65 20 74 | 65 78 74 2e 20 59 6f 75 |in the t|ext. You|
|00000590| 20 63 61 6e 20 65 64 69 | 74 20 61 6e 64 20 72 65 | can edi|t and re|
|000005a0| 65 76 61 6c 75 61 74 65 | 20 74 68 65 20 74 65 78 |evaluate| the tex|
|000005b0| 74 20 61 74 20 61 6e 79 | 20 74 69 6d 65 2e 0d 2d |t at any| time..-|
|000005c0| 2d 20 54 68 65 20 52 45 | 54 55 52 4e 20 6b 65 79 |- The RE|TURN key|
|000005d0| 20 73 69 6d 70 6c 79 20 | 74 65 72 6d 69 6e 61 74 | simply |terminat|
|000005e0| 65 73 20 61 20 6c 69 6e | 65 2e 20 49 74 20 64 6f |es a lin|e. It do|
|000005f0| 65 73 20 6e 6f 74 20 63 | 61 75 73 65 20 61 6e 79 |es not c|ause any|
|00000600| 20 65 76 61 6c 75 61 74 | 69 6f 6e 2e 20 54 68 65 | evaluat|ion. The|
|00000610| 20 45 4e 54 45 52 20 6b | 65 79 20 69 73 20 6f 6e | ENTER k|ey is on|
|00000620| 20 74 68 65 20 6e 75 6d | 65 72 69 63 20 6b 65 79 | the num|eric key|
|00000630| 70 61 64 20 28 6f 72 20 | 6e 65 78 74 20 74 6f 20 |pad (or |next to |
|00000640| 74 68 65 20 73 70 61 63 | 65 20 62 61 72 20 6f 6e |the spac|e bar on|
|00000650| 20 70 6f 77 65 72 62 6f | 6f 6b 20 6b 65 79 62 6f | powerbo|ok keybo|
|00000660| 61 72 64 73 29 2e 0d 2d | 2d 20 41 6e 20 65 78 70 |ards)..-|- An exp|
|00000670| 72 65 73 73 69 6f 6e 20 | 77 69 6c 6c 20 62 65 20 |ression |will be |
|00000680| 63 6f 6e 74 69 6e 75 65 | 64 20 69 66 20 74 68 65 |continue|d if the|
|00000690| 20 6c 69 6e 65 20 65 6e | 64 73 20 77 69 74 68 20 | line en|ds with |
|000006a0| 61 6e 20 6f 70 65 72 61 | 74 6f 72 0d 0d 20 20 20 |an opera|tor.. |
|000006b0| 32 20 2a 0d 20 20 20 28 | 33 2b 34 29 3a 31 34 2e |2 *. (|3+4):14.|
|000006c0| 30 0d 0d 2d 2d 20 4d 6f | 72 65 20 74 68 61 6e 20 |0..-- Mo|re than |
|000006d0| 6f 6e 65 20 65 78 70 72 | 65 73 73 69 6f 6e 20 63 |one expr|ession c|
|000006e0| 61 6e 20 62 65 20 70 6c | 61 63 65 64 20 6f 6e 20 |an be pl|aced on |
|000006f0| 61 20 6c 69 6e 65 20 69 | 66 20 74 68 65 79 20 61 |a line i|f they a|
|00000700| 72 65 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |re separ|ated by |
|00000710| 73 65 6d 69 63 6f 6c 6f | 6e 73 2e 0d 0d 20 20 20 |semicolo|ns... |
|00000720| 32 2a 33 2b 34 3a 31 30 | 2e 30 3b 20 20 32 2e 31 |2*3+4:10|.0; 2.1|
|00000730| 2a 28 2e 33 2b 34 2e 32 | 29 3a 39 2e 35 0d 0d 2d |*(.3+4.2|):9.5..-|
|00000740| 2d 20 54 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |- The ch|aracter |
|00000750| 23 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 74 6f |# may be| used to|
|00000760| 20 72 65 66 65 72 65 6e | 63 65 20 74 68 65 20 6c | referen|ce the l|
|00000770| 61 73 74 20 72 65 73 75 | 6c 74 0d 0d 20 20 20 31 |ast resu|lt.. 1|
|00000780| 30 2a 32 33 34 3a 32 33 | 34 30 2e 30 0d 20 20 20 |0*234:23|40.0. |
|00000790| 20 23 2b 35 3a 32 33 34 | 35 2e 30 0d 0d 2d 2d 20 | #+5:234|5.0..-- |
|000007a0| 4e 75 6d 62 65 72 73 20 | 6d 61 79 20 62 65 20 65 |Numbers |may be e|
|000007b0| 6e 74 65 72 65 64 20 69 | 6e 20 22 65 22 20 66 6f |ntered i|n "e" fo|
|000007c0| 72 6d 61 74 20 61 73 20 | 69 6e 20 22 31 32 2e 33 |rmat as |in "12.3|
|000007d0| 65 2d 34 22 2e 20 20 54 | 68 65 20 66 6f 6c 6c 6f |e-4". T|he follo|
|000007e0| 77 69 6e 67 20 6c 65 74 | 74 65 72 20 73 75 66 66 |wing let|ter suff|
|000007f0| 69 78 65 73 20 6d 61 79 | 20 61 6c 73 6f 20 62 65 |ixes may| also be|
|00000800| 20 75 73 65 64 3a 20 47 | 20 66 6f 72 20 65 39 2c | used: G| for e9,|
|00000810| 20 4d 20 66 6f 72 20 65 | 36 2c 20 6b 20 66 6f 72 | M for e|6, k for|
|00000820| 20 65 33 2c 20 6d 20 66 | 6f 72 20 65 2d 33 2c 20 | e3, m f|or e-3, |
|00000830| 75 20 6f 72 20 b5 20 66 | 6f 72 20 65 2d 36 2c 20 |u or . f|or e-6, |
|00000840| 6e 20 66 6f 72 20 65 2d | 39 2c 20 70 20 66 6f 72 |n for e-|9, p for|
|00000850| 20 65 2d 31 32 2c 20 66 | 20 66 6f 72 20 65 2d 31 | e-12, f| for e-1|
|00000860| 35 2e 0d 2d 2d 20 48 65 | 78 20 6e 75 6d 62 65 72 |5..-- He|x number|
|00000870| 73 20 6d 75 73 74 20 62 | 65 20 70 72 65 63 65 64 |s must b|e preced|
|00000880| 65 64 20 62 79 20 30 78 | 20 61 73 20 69 6e 20 30 |ed by 0x| as in 0|
|00000890| 78 41 46 32 33 2e 20 48 | 65 78 20 69 6e 70 75 74 |xAF23. H|ex input|
|000008a0| 20 69 73 20 74 72 65 61 | 74 65 64 20 61 73 20 61 | is trea|ted as a|
|000008b0| 20 62 69 74 20 70 61 74 | 74 65 72 6e 20 66 6f 72 | bit pat|tern for|
|000008c0| 20 61 20 33 32 2d 62 69 | 74 20 73 69 67 6e 65 64 | a 32-bi|t signed|
|000008d0| 20 69 6e 74 65 67 65 72 | 2e 0d 2d 2d 20 54 68 65 | integer|..-- The|
|000008e0| 20 63 6f 6e 73 74 61 6e | 74 20 b9 20 63 61 6e 20 | constan|t . can |
|000008f0| 62 65 20 65 6e 74 65 72 | 65 64 20 76 69 61 20 74 |be enter|ed via t|
|00000900| 68 65 20 6d 65 6e 75 20 | 6f 72 20 62 79 20 74 79 |he menu |or by ty|
|00000910| 70 69 6e 67 20 6f 70 74 | 69 6f 6e 2d 70 20 6f 72 |ping opt|ion-p or|
|00000920| 20 22 70 69 22 2e 0d 2d | 2d 20 54 68 65 20 63 6f | "pi"..-|- The co|
|00000930| 6e 73 74 61 6e 74 20 69 | 6e 66 69 6e 69 74 79 20 |nstant i|nfinity |
|00000940| 63 61 6e 20 62 65 20 65 | 6e 74 65 72 65 64 20 76 |can be e|ntered v|
|00000950| 69 61 20 74 79 70 69 6e | 67 20 6f 70 74 69 6f 6e |ia typin|g option|
|00000960| 2d 35 2e 20 54 68 65 20 | 71 75 61 6e 74 69 74 69 |-5. The |quantiti|
|00000970| 65 73 20 70 6f 73 69 74 | 69 76 65 20 69 6e 66 69 |es posit|ive infi|
|00000980| 6e 69 74 79 20 28 31 2f | 30 29 2c 20 6e 65 67 61 |nity (1/|0), nega|
|00000990| 74 69 76 65 20 69 6e 66 | 69 6e 69 74 79 20 28 2d |tive inf|inity (-|
|000009a0| 31 2f 30 29 20 61 6e 64 | 20 75 6e 64 65 66 69 6e |1/0) and| undefin|
|000009b0| 65 64 20 28 30 2f 30 29 | 20 68 61 76 65 20 6e 75 |ed (0/0)| have nu|
|000009c0| 6d 65 72 69 63 20 72 65 | 70 72 65 73 65 6e 74 61 |meric re|presenta|
|000009d0| 74 69 6f 6e 73 20 61 6e | 64 20 63 61 6e 20 62 65 |tions an|d can be|
|000009e0| 20 75 73 65 64 20 69 6e | 20 63 61 6c 63 75 6c 61 | used in| calcula|
|000009f0| 74 69 6f 6e 73 2e 20 0d | 2d 2d 20 4e 75 6d 65 72 |tions. .|-- Numer|
|00000a00| 69 63 20 6f 75 74 70 75 | 74 20 66 6f 72 6d 61 74 |ic outpu|t format|
|00000a10| 20 63 61 6e 20 62 65 20 | 63 6f 6e 74 72 6f 6c 6c | can be |controll|
|00000a20| 65 64 20 76 69 61 20 74 | 68 65 20 6d 65 6e 75 2e |ed via t|he menu.|
|00000a30| 0d 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 43 |..------|------ C|
|00000a40| 6f 6d 6d 65 6e 74 73 0d | 2d 2d 20 4d 61 74 68 50 |omments.|-- MathP|
|00000a50| 61 64 20 69 67 6e 6f 72 | 65 73 20 74 65 78 74 20 |ad ignor|es text |
|00000a60| 62 65 74 77 65 65 6e 20 | 22 2d 2d 22 20 61 6e 64 |between |"--" and|
|00000a70| 20 74 68 65 20 6e 65 78 | 74 20 52 45 54 55 52 4e | the nex|t RETURN|
|00000a80| 2e 20 54 68 69 73 20 66 | 69 6c 65 20 69 73 20 6d |. This f|ile is m|
|00000a90| 61 64 65 20 75 70 20 6d | 6f 73 74 6c 79 20 6f 66 |ade up m|ostly of|
|00000aa0| 20 63 6f 6d 6d 65 6e 74 | 73 2e 0d 2d 2d 20 41 6c | comment|s..-- Al|
|00000ab0| 6c 20 74 65 78 74 20 62 | 65 74 77 65 65 6e 20 7e |l text b|etween ~|
|00000ac0| 20 63 68 61 72 61 63 74 | 65 72 73 20 69 73 20 69 | charact|ers is i|
|00000ad0| 67 6e 6f 72 65 64 20 61 | 6e 64 20 63 61 6e 20 73 |gnored a|nd can s|
|00000ae0| 70 61 6e 20 6d 75 6c 74 | 69 70 6c 65 20 6c 69 6e |pan mult|iple lin|
|00000af0| 65 73 2e 0d 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |es...---|--------|
|00000b00| 2d 20 45 71 75 61 74 69 | 6f 6e 73 0d 2d 2d 20 4d |- Equati|ons.-- M|
|00000b10| 61 74 68 50 61 64 20 61 | 6c 6c 6f 77 73 20 74 68 |athPad a|llows th|
|00000b20| 65 20 75 73 65 72 20 74 | 6f 20 74 79 70 65 20 69 |e user t|o type i|
|00000b30| 6e 20 65 71 75 61 74 69 | 6f 6e 73 20 75 73 69 6e |n equati|ons usin|
|00000b40| 67 20 76 61 72 69 61 62 | 6c 65 73 20 74 68 61 74 |g variab|les that|
|00000b50| 20 77 69 6c 6c 20 62 65 | 20 67 69 76 65 6e 20 6e | will be| given n|
|00000b60| 75 6d 65 72 69 63 20 76 | 61 6c 75 65 73 20 65 6c |umeric v|alues el|
|00000b70| 73 65 77 68 65 72 65 20 | 69 6e 20 74 68 65 20 74 |sewhere |in the t|
|00000b80| 65 78 74 2e 0d 0d 20 20 | 20 66 6f 72 63 65 3d 6d |ext... | force=m|
|00000b90| 61 73 73 2a 61 63 63 65 | 6c 0d 20 20 20 66 6f 72 |ass*acce|l. for|
|00000ba0| 63 65 3a 31 36 30 2e 30 | 0d 20 20 20 6d 61 73 73 |ce:160.0|. mass|
|00000bb0| 3d 35 0d 20 20 20 61 63 | 63 65 6c 3d 33 32 0d 0d |=5. ac|cel=32..|
|00000bc0| 2d 2d 20 4d 61 74 68 50 | 61 64 20 65 76 61 6c 75 |-- MathP|ad evalu|
|00000bd0| 61 74 65 73 20 74 68 65 | 20 65 6e 74 69 72 65 20 |ates the| entire |
|00000be0| 74 65 78 74 20 73 6f 20 | 6e 75 6d 65 72 69 63 20 |text so |numeric |
|00000bf0| 76 61 6c 75 65 73 20 63 | 61 6e 20 62 65 20 67 69 |values c|an be gi|
|00000c00| 76 65 6e 20 62 65 66 6f | 72 65 20 6f 72 20 61 66 |ven befo|re or af|
|00000c10| 74 65 72 20 74 68 65 79 | 20 61 72 65 20 75 73 65 |ter they| are use|
|00000c20| 64 2e 0d 2d 2d 20 57 68 | 65 6e 20 4d 61 74 68 50 |d..-- Wh|en MathP|
|00000c30| 61 64 20 63 61 6e 6e 6f | 74 20 63 61 6c 63 75 6c |ad canno|t calcul|
|00000c40| 61 74 65 20 61 20 6e 75 | 6d 65 72 69 63 20 76 61 |ate a nu|meric va|
|00000c50| 6c 75 65 20 66 72 6f 6d | 20 74 68 65 20 69 6e 66 |lue from| the inf|
|00000c60| 6f 72 6d 61 74 69 6f 6e | 20 67 69 76 65 6e 2c 20 |ormation| given, |
|00000c70| 69 74 20 77 69 6c 6c 20 | 70 72 69 6e 74 20 27 3f |it will |print '?|
|00000c80| 27 20 61 6e 64 20 74 68 | 65 20 6e 61 6d 65 20 6f |' and th|e name o|
|00000c90| 66 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 77 |f the va|riable w|
|00000ca0| 68 6f 73 65 20 76 61 6c | 75 65 20 69 73 20 75 6e |hose val|ue is un|
|00000cb0| 6b 6e 6f 77 6e 2e 0d 0d | 20 20 20 61 3d 62 2b 63 |known...| a=b+c|
|00000cc0| 0d 20 20 20 64 3d 61 2a | 34 0d 2d 2d 20 64 3a 3f |. d=a*|4.-- d:?|
|00000cd0| 20 62 3f 0d 0d 2d 2d 20 | 4d 61 74 68 50 61 64 20 | b?..-- |MathPad |
|00000ce0| 64 6f 65 73 20 6e 6f 74 | 20 70 65 72 66 6f 72 6d |does not| perform|
|00000cf0| 20 61 6c 67 65 62 72 61 | 2e 20 54 68 65 20 65 71 | algebra|. The eq|
|00000d00| 75 61 74 69 6f 6e 20 78 | 3d 79 2b 7a 20 28 6f 72 |uation x|=y+z (or|
|00000d10| 20 79 2b 7a 3d 78 29 20 | 74 65 6c 6c 73 20 68 6f | y+z=x) |tells ho|
|00000d20| 77 20 74 6f 20 63 6f 6d | 70 75 74 65 20 78 20 67 |w to com|pute x g|
|00000d30| 69 76 65 6e 20 79 20 61 | 6e 64 20 7a 20 62 75 74 |iven y a|nd z but|
|00000d40| 20 4d 61 74 68 50 61 64 | 20 64 6f 65 73 20 6e 6f | MathPad| does no|
|00000d50| 74 20 64 65 72 69 76 65 | 20 61 6e 79 20 69 6e 66 |t derive| any inf|
|00000d60| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 68 |ormation| about h|
|00000d70| 6f 77 20 74 6f 20 63 6f | 6d 70 75 74 65 20 76 61 |ow to co|mpute va|
|00000d80| 6c 75 65 73 20 66 6f 72 | 20 79 20 6f 72 20 7a 20 |lues for| y or z |
|00000d90| 66 72 6f 6d 20 78 2e 0d | 0d 2d 2d 2d 2d 2d 2d 2d |from x..|.-------|
|00000da0| 2d 2d 2d 20 46 75 6e 63 | 74 69 6f 6e 73 0d 2d 2d |--- Func|tions.--|
|00000db0| 20 4d 61 74 68 50 61 64 | 20 68 61 73 20 6d 6f 73 | MathPad| has mos|
|00000dc0| 74 20 6f 66 20 74 68 65 | 20 75 73 75 61 6c 20 62 |t of the| usual b|
|00000dd0| 75 69 6c 74 2d 69 6e 20 | 66 75 6e 63 74 69 6f 6e |uilt-in |function|
|00000de0| 73 3a 20 61 62 73 28 29 | 20 61 63 6f 73 28 29 20 |s: abs()| acos() |
|00000df0| 61 73 69 6e 28 29 20 61 | 74 61 6e 28 29 20 61 74 |asin() a|tan() at|
|00000e00| 61 6e 32 28 29 20 63 6f | 73 28 29 20 65 78 70 28 |an2() co|s() exp(|
|00000e10| 29 20 6c 6e 28 29 20 6c | 6f 67 28 29 20 73 69 6e |) ln() l|og() sin|
|00000e20| 28 29 20 73 71 72 74 28 | 29 20 74 61 6e 28 29 2e |() sqrt(|) tan().|
|00000e30| 20 42 75 69 6c 74 2d 69 | 6e 20 66 75 6e 63 74 69 | Built-i|n functi|
|00000e40| 6f 6e 73 20 6d 61 79 20 | 65 69 74 68 65 72 20 62 |ons may |either b|
|00000e50| 65 20 74 79 70 65 64 20 | 69 6e 20 6f 72 20 73 65 |e typed |in or se|
|00000e60| 6c 65 63 74 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |lected f|rom the |
|00000e70| 6d 65 6e 75 2e 0d 2d 2d | 20 54 68 65 20 61 72 67 |menu..--| The arg|
|00000e80| 75 6d 65 6e 74 20 75 6e | 69 74 73 20 66 6f 72 20 |ument un|its for |
|00000e90| 74 72 69 67 20 66 75 6e | 63 74 69 6f 6e 73 20 63 |trig fun|ctions c|
|00000ea0| 61 6e 20 62 65 20 63 68 | 61 6e 67 65 64 20 74 6f |an be ch|anged to|
|00000eb0| 20 65 69 74 68 65 72 20 | 64 65 67 72 65 65 73 20 | either |degrees |
|00000ec0| 6f 72 20 72 61 64 69 61 | 6e 73 20 77 69 74 68 20 |or radia|ns with |
|00000ed0| 74 68 65 20 6d 65 6e 75 | 2e 0d 2d 2d 20 54 68 65 |the menu|..-- The|
|00000ee0| 20 76 61 6c 75 65 20 22 | 52 61 64 69 61 6e 73 22 | value "|Radians"|
|00000ef0| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 | can be |used to |
|00000f00| 64 6f 20 74 72 69 67 20 | 63 61 6c 63 75 6c 61 74 |do trig |calculat|
|00000f10| 69 6f 6e 73 20 74 68 61 | 74 20 61 72 65 20 69 6e |ions tha|t are in|
|00000f20| 64 65 70 65 6e 64 65 6e | 74 20 6f 66 20 74 68 65 |dependen|t of the|
|00000f30| 20 44 65 67 72 65 65 73 | 2f 52 61 64 69 61 6e 73 | Degrees|/Radians|
|00000f40| 20 6f 70 74 69 6f 6e 20 | 63 68 6f 69 63 65 2e 20 | option |choice. |
|00000f50| 54 68 65 20 76 61 6c 75 | 65 20 6f 66 20 52 61 64 |The valu|e of Rad|
|00000f60| 69 61 6e 73 20 69 73 20 | 31 20 77 68 65 6e 20 72 |ians is |1 when r|
|00000f70| 61 64 69 61 6e 73 20 61 | 72 65 20 73 65 6c 65 63 |adians a|re selec|
|00000f80| 74 65 64 20 61 6e 64 20 | 35 37 2e 33 20 77 68 65 |ted and |57.3 whe|
|00000f90| 6e 20 64 65 67 72 65 65 | 73 20 61 72 65 20 73 65 |n degree|s are se|
|00000fa0| 6c 65 63 74 65 64 2e 0d | 0d 20 20 20 63 6f 73 28 |lected..|. cos(|
|00000fb0| 70 69 2a 52 61 64 69 61 | 6e 73 29 3a 2d 31 2e 30 |pi*Radia|ns):-1.0|
|00000fc0| 3b 20 2d 2d 20 2d 31 20 | 66 6f 72 20 65 69 74 68 |; -- -1 |for eith|
|00000fd0| 65 72 20 44 65 67 72 65 | 65 73 2f 52 61 64 69 61 |er Degre|es/Radia|
|00000fe0| 6e 73 20 73 65 74 74 69 | 6e 67 0d 0d 2d 2d 20 54 |ns setti|ng..-- T|
|00000ff0| 68 65 20 62 75 69 6c 74 | 2d 69 6e 20 66 75 6e 63 |he built|-in func|
|00001000| 74 69 6f 6e 20 74 72 75 | 6e 63 28 6e 29 20 72 65 |tion tru|nc(n) re|
|00001010| 74 75 72 6e 73 20 74 68 | 65 20 69 6e 74 65 67 65 |turns th|e intege|
|00001020| 72 20 70 61 72 74 20 6f | 66 20 6e 2e 0d 2d 2d 20 |r part o|f n..-- |
|00001030| 54 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 73 70 72 |The func|tion spr|
|00001040| 69 6e 74 66 28 66 6f 72 | 6d 61 74 2c 6e 29 20 63 |intf(for|mat,n) c|
|00001050| 6f 6e 76 65 72 74 73 20 | 6e 20 74 6f 20 61 20 73 |onverts |n to a s|
|00001060| 74 72 69 6e 67 20 62 61 | 73 65 64 20 6f 6e 20 74 |tring ba|sed on t|
|00001070| 68 65 20 66 6f 72 6d 61 | 74 20 73 70 65 63 69 66 |he forma|t specif|
|00001080| 69 63 61 74 69 6f 6e 2e | 20 49 74 20 69 73 20 73 |ication.| It is s|
|00001090| 69 6d 69 6c 61 72 20 74 | 6f 20 74 68 65 20 43 20 |imilar t|o the C |
|000010a0| 73 74 61 6e 64 61 72 64 | 20 6c 69 62 72 61 72 79 |standard| library|
|000010b0| 20 66 75 6e 63 74 69 6f | 6e 2e 0d 0d 20 20 20 73 | functio|n... s|
|000010c0| 70 72 69 6e 74 66 28 22 | 70 69 2f 32 20 69 73 20 |printf("|pi/2 is |
|000010d0| 25 2e 34 66 22 2c 70 69 | 2f 32 29 3a 22 70 69 2f |%.4f",pi|/2):"pi/|
|000010e0| 32 20 69 73 20 31 2e 35 | 37 30 38 22 0d 0d 2d 2d |2 is 1.5|708"..--|
|000010f0| 20 54 68 65 20 62 75 69 | 6c 74 2d 69 6e 20 66 75 | The bui|lt-in fu|
|00001100| 6e 63 74 69 6f 6e 20 73 | 75 6d 28 65 78 70 72 2c |nction s|um(expr,|
|00001110| 76 61 72 2c 6c 6f 77 65 | 72 2c 75 70 70 65 72 29 |var,lowe|r,upper)|
|00001120| 20 70 65 72 66 6f 72 6d | 73 20 61 20 73 75 6d 6d | perform|s a summ|
|00001130| 61 74 69 6f 6e 20 6f 66 | 20 22 65 78 70 72 22 20 |ation of| "expr" |
|00001140| 77 68 69 6c 65 20 69 6e | 63 72 65 6d 65 6e 74 69 |while in|crementi|
|00001150| 6e 67 20 22 76 61 72 22 | 20 62 65 74 77 65 65 6e |ng "var"| between|
|00001160| 20 22 6c 6f 77 65 72 22 | 20 61 6e 64 20 22 75 70 | "lower"| and "up|
|00001170| 70 65 72 22 2e 20 54 68 | 65 20 65 78 70 72 65 73 |per". Th|e expres|
|00001180| 73 69 6f 6e 20 67 69 76 | 65 6e 20 61 73 20 74 68 |sion giv|en as th|
|00001190| 65 20 66 69 72 73 74 20 | 70 61 72 61 6d 65 74 65 |e first |paramete|
|000011a0| 72 20 69 73 20 72 65 65 | 76 61 6c 75 61 74 65 64 |r is ree|valuated|
|000011b0| 20 66 6f 72 20 65 61 63 | 68 20 73 74 65 70 2e 20 | for eac|h step. |
|000011c0| 45 78 70 72 65 73 73 69 | 6f 6e 73 20 66 6f 72 20 |Expressi|ons for |
|000011d0| 22 6c 6f 77 65 72 22 20 | 61 6e 64 20 22 75 70 70 |"lower" |and "upp|
|000011e0| 65 72 22 20 61 72 65 20 | 65 76 61 6c 75 61 74 65 |er" are |evaluate|
|000011f0| 64 20 6f 6e 6c 79 20 6f | 6e 63 65 2e 0d 0d 20 20 |d only o|nce... |
|00001200| 20 73 65 72 69 65 73 28 | 6e 29 20 3d 20 73 75 6d | series(|n) = sum|
|00001210| 28 32 2a 6b 2d 31 2c 6b | 2c 31 2c 6e 29 0d 20 20 |(2*k-1,k|,1,n). |
|00001220| 20 73 65 72 69 65 73 28 | 39 29 3a 38 31 2e 30 0d | series(|9):81.0.|
|00001230| 0d 2d 2d 20 54 68 65 20 | 62 75 69 6c 74 2d 69 6e |.-- The |built-in|
|00001240| 20 66 75 6e 63 74 69 6f | 6e 20 72 61 6e 64 28 6e | functio|n rand(n|
|00001250| 29 20 72 65 74 75 72 6e | 73 20 61 20 72 61 6e 64 |) return|s a rand|
|00001260| 6f 6d 20 6e 75 6d 62 65 | 72 20 69 6e 20 74 68 65 |om numbe|r in the|
|00001270| 20 72 61 6e 67 65 20 30 | 20 74 6f 20 6e 2e 20 4d | range 0| to n. M|
|00001280| 6f 72 65 20 74 68 61 6e | 20 31 30 5e 39 20 64 69 |ore than| 10^9 di|
|00001290| 66 66 65 72 65 6e 74 20 | 76 61 6c 75 65 73 20 61 |fferent |values a|
|000012a0| 72 65 20 70 6f 73 73 69 | 62 6c 65 2e 20 41 20 72 |re possi|ble. A r|
|000012b0| 61 6e 64 28 30 29 20 63 | 61 6c 6c 20 72 65 73 74 |and(0) c|all rest|
|000012c0| 61 72 74 73 20 74 68 65 | 20 73 65 71 75 65 6e 63 |arts the| sequenc|
|000012d0| 65 2e 0d 2d 2d 20 54 68 | 65 20 66 75 6e 63 74 69 |e..-- Th|e functi|
|000012e0| 6f 6e 73 20 63 6f 75 6e | 74 28 29 2c 64 65 74 28 |ons coun|t(),det(|
|000012f0| 29 2c 72 65 61 64 28 29 | 20 61 6e 64 20 77 72 69 |),read()| and wri|
|00001300| 74 65 28 29 20 6f 70 65 | 72 61 74 65 20 6f 6e 20 |te() ope|rate on |
|00001310| 61 72 72 61 79 73 20 61 | 6e 64 20 61 72 65 20 64 |arrays a|nd are d|
|00001320| 65 73 63 72 69 62 65 64 | 20 69 6e 20 61 20 6c 61 |escribed| in a la|
|00001330| 74 65 72 20 73 65 63 74 | 69 6f 6e 2e 0d 0d 2d 2d |ter sect|ion...--|
|00001340| 20 55 73 65 72 73 20 63 | 61 6e 20 61 6c 73 6f 20 | Users c|an also |
|00001350| 64 65 66 69 6e 65 20 74 | 68 65 69 72 20 6f 77 6e |define t|heir own|
|00001360| 20 66 75 6e 63 74 69 6f | 6e 73 2e 20 46 75 6e 63 | functio|ns. Func|
|00001370| 74 69 6f 6e 73 20 64 69 | 66 66 65 72 20 66 72 6f |tions di|ffer fro|
|00001380| 6d 20 65 71 75 61 74 69 | 6f 6e 73 20 69 6e 20 74 |m equati|ons in t|
|00001390| 68 61 74 20 74 68 65 69 | 72 20 70 61 72 61 6d 65 |hat thei|r parame|
|000013a0| 74 65 72 20 6e 61 6d 65 | 73 20 72 65 66 65 72 20 |ter name|s refer |
|000013b0| 74 6f 20 74 65 6d 70 6f | 72 61 72 79 20 76 61 72 |to tempo|rary var|
|000013c0| 69 61 62 6c 65 73 20 74 | 68 61 74 20 63 61 6e 20 |iables t|hat can |
|000013d0| 74 61 6b 65 20 6f 6e 20 | 64 69 66 66 65 72 65 6e |take on |differen|
|000013e0| 74 20 76 61 6c 75 65 73 | 20 65 61 63 68 20 74 69 |t values| each ti|
|000013f0| 6d 65 20 74 68 65 20 66 | 75 6e 63 74 69 6f 6e 20 |me the f|unction |
|00001400| 69 73 20 63 61 6c 6c 65 | 64 2e 0d 0d 20 20 20 46 |is calle|d... F|
|00001410| 6f 72 63 65 28 6d 61 73 | 73 2c 61 63 63 65 6c 29 |orce(mas|s,accel)|
|00001420| 3d 6d 61 73 73 2a 61 63 | 63 65 6c 0d 20 20 20 46 |=mass*ac|cel. F|
|00001430| 6f 72 63 65 28 31 30 2c | 31 32 29 3a 31 32 30 2e |orce(10,|12):120.|
|00001440| 30 0d 20 20 20 46 6f 72 | 63 65 28 36 2c 38 29 3a |0. For|ce(6,8):|
|00001450| 34 38 2e 30 0d 20 20 20 | 6d 61 73 73 2a 61 63 63 |48.0. |mass*acc|
|00001460| 65 6c 3a 31 36 30 2e 30 | 3b 20 20 20 20 2d 2d 20 |el:160.0|; -- |
|00001470| 75 73 65 73 20 67 6c 6f | 62 61 6c 20 76 61 6c 75 |uses glo|bal valu|
|00001480| 65 73 20 66 72 6f 6d 20 | 70 72 65 76 69 6f 75 73 |es from |previous|
|00001490| 20 65 78 61 6d 70 6c 65 | 0d 0d 2d 2d 20 49 6e 20 | example|..-- In |
|000014a0| 74 68 69 73 20 65 78 61 | 6d 70 6c 65 20 74 68 65 |this exa|mple the|
|000014b0| 20 70 61 72 61 6d 65 74 | 65 72 73 20 22 61 63 63 | paramet|ers "acc|
|000014c0| 65 6c 22 20 61 6e 64 20 | 22 6d 61 73 73 22 20 61 |el" and |"mass" a|
|000014d0| 72 65 20 73 65 70 61 72 | 61 74 65 20 66 72 6f 6d |re separ|ate from|
|000014e0| 20 74 68 65 20 67 6c 6f | 62 61 6c 20 76 61 72 69 | the glo|bal vari|
|000014f0| 61 62 6c 65 73 20 22 61 | 63 63 65 6c 22 20 61 6e |ables "a|ccel" an|
|00001500| 64 20 22 6d 61 73 73 22 | 2e 20 20 41 6e 79 20 76 |d "mass"|. Any v|
|00001510| 61 72 69 61 62 6c 65 73 | 20 75 73 65 64 20 69 6e |ariables| used in|
|00001520| 20 74 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 | the def|inition |
|00001530| 74 68 61 74 20 64 6f 20 | 6e 6f 74 20 61 70 70 65 |that do |not appe|
|00001540| 61 72 20 69 6e 20 74 68 | 65 20 70 61 72 61 6d 65 |ar in th|e parame|
|00001550| 74 65 72 20 6c 69 73 74 | 20 77 69 6c 6c 20 72 65 |ter list| will re|
|00001560| 66 65 72 20 74 6f 20 67 | 6c 6f 62 61 6c 20 76 61 |fer to g|lobal va|
|00001570| 72 69 61 62 6c 65 73 2e | 0d 2d 2d 20 46 75 6e 63 |riables.|.-- Func|
|00001580| 74 69 6f 6e 73 20 63 61 | 6e 20 62 65 20 72 65 66 |tions ca|n be ref|
|00001590| 65 72 65 6e 63 65 64 20 | 62 65 66 6f 72 65 20 74 |erenced |before t|
|000015a0| 68 65 79 20 61 72 65 20 | 64 65 66 69 6e 65 64 2e |hey are |defined.|
|000015b0| 0d 2d 2d 20 41 6c 6c 20 | 72 65 66 65 72 65 6e 63 |.-- All |referenc|
|000015c0| 65 73 20 74 6f 20 61 20 | 66 75 6e 63 74 69 6f 6e |es to a |function|
|000015d0| 20 6d 75 73 74 20 68 61 | 76 65 20 74 68 65 20 73 | must ha|ve the s|
|000015e0| 61 6d 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 70 61 |ame numb|er of pa|
|000015f0| 72 61 6d 65 74 65 72 73 | 2e 0d 2d 2d 20 4d 75 6c |rameters|..-- Mul|
|00001600| 74 69 70 6c 65 20 64 65 | 66 69 6e 69 74 69 6f 6e |tiple de|finition|
|00001610| 73 20 6f 66 20 66 75 6e | 63 74 69 6f 6e 20 6e 61 |s of fun|ction na|
|00001620| 6d 65 73 20 61 72 65 20 | 6e 6f 74 20 61 6c 6c 6f |mes are |not allo|
|00001630| 77 65 64 2e 0d 0d 2d 2d | 20 4d 61 74 68 50 61 64 |wed...--| MathPad|
|00001640| 27 73 20 62 75 69 6c 74 | 2d 69 6e 20 66 75 6e 63 |'s built|-in func|
|00001650| 74 69 6f 6e 20 6d 65 6e | 75 20 63 61 6e 20 62 65 |tion men|u can be|
|00001660| 20 65 78 74 65 6e 64 65 | 64 20 62 79 20 70 6c 61 | extende|d by pla|
|00001670| 63 69 6e 67 20 22 58 46 | 75 6e 22 20 66 69 6c 65 |cing "XF|un" file|
|00001680| 73 20 69 6e 20 69 74 27 | 73 20 66 6f 6c 64 65 72 |s in it'|s folder|
|00001690| 2e 20 53 65 65 20 74 68 | 65 20 22 58 46 75 6e 73 |. See th|e "XFuns|
|000016a0| 22 20 66 6f 6c 64 65 72 | 20 66 6f 72 20 6d 6f 72 |" folder| for mor|
|000016b0| 65 20 64 65 74 61 69 6c | 73 2e 0d 0d 2d 2d 2d 2d |e detail|s...----|
|000016c0| 2d 2d 2d 2d 2d 2d 2d 20 | 43 6f 6e 64 69 74 69 6f |------- |Conditio|
|000016d0| 6e 61 6c 73 0d 2d 2d 20 | 54 68 65 20 76 61 6c 75 |nals.-- |The valu|
|000016e0| 65 20 6f 66 20 61 6e 20 | 65 78 70 72 65 73 73 69 |e of an |expressi|
|000016f0| 6f 6e 20 63 61 6e 20 62 | 65 20 6d 61 64 65 20 64 |on can b|e made d|
|00001700| 65 70 65 6e 64 65 6e 74 | 20 6f 6e 20 61 20 63 6f |ependent| on a co|
|00001710| 6e 64 69 74 69 6f 6e 2e | 0d 0d 20 20 20 70 20 3d |ndition.|.. p =|
|00001720| 20 2d 61 20 77 68 65 6e | 20 61 20 3c 20 30 2c 0d | -a when| a < 0,.|
|00001730| 20 20 20 20 20 20 20 20 | 31 20 77 68 65 6e 20 61 | |1 when a|
|00001740| 20 3d 20 30 2c 0d 20 20 | 20 20 20 20 20 20 61 5e | = 0,. | a^|
|00001750| 32 20 6f 74 68 65 72 77 | 69 73 65 0d 0d 2d 2d 20 |2 otherw|ise..-- |
|00001760| 54 68 65 20 72 65 73 75 | 6c 74 20 77 69 6c 6c 20 |The resu|lt will |
|00001770| 62 65 20 74 68 65 20 76 | 61 6c 75 65 20 63 6f 72 |be the v|alue cor|
|00001780| 72 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 66 69 |respondi|ng to fi|
|00001790| 72 73 74 20 63 6f 6e 64 | 69 74 69 6f 6e 20 69 6e |rst cond|ition in|
|000017a0| 20 74 68 65 20 6c 69 73 | 74 20 74 68 61 74 20 65 | the lis|t that e|
|000017b0| 76 61 6c 75 61 74 65 73 | 20 74 72 75 65 2e 20 43 |valuates| true. C|
|000017c0| 6f 6d 6d 61 73 20 73 65 | 70 61 72 61 74 65 20 65 |ommas se|parate e|
|000017d0| 78 70 72 65 73 73 69 6f | 6e 73 20 69 6e 20 74 68 |xpressio|ns in th|
|000017e0| 65 20 6c 69 73 74 2e 0d | 2d 2d 20 54 68 65 20 6b |e list..|-- The k|
|000017f0| 65 79 77 6f 72 64 20 22 | 6f 74 68 65 72 77 69 73 |eyword "|otherwis|
|00001800| 65 22 20 69 73 20 6f 70 | 74 69 6f 6e 61 6c 20 61 |e" is op|tional a|
|00001810| 6e 64 20 69 73 20 75 73 | 65 64 20 6f 6e 6c 79 20 |nd is us|ed only |
|00001820| 74 6f 20 68 65 6c 70 20 | 72 65 61 64 61 62 69 6c |to help |readabil|
|00001830| 69 74 79 2e 0d 2d 2d 20 | 54 68 65 20 63 6f 6e 64 |ity..-- |The cond|
|00001840| 69 74 69 6f 6e 61 6c 20 | 66 6f 6c 6c 6f 77 73 20 |itional |follows |
|00001850| 74 68 65 20 6b 65 79 77 | 6f 72 64 20 22 77 68 65 |the keyw|ord "whe|
|00001860| 6e 22 20 61 6e 64 20 6d | 61 79 20 75 73 65 20 74 |n" and m|ay use t|
|00001870| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6f 70 65 |he follo|wing ope|
|00001880| 72 61 74 6f 72 73 3a 20 | 3d 20 20 21 3d 20 20 20 |rators: |= != |
|00001890| 3e 20 20 3c 20 20 3e 3d | 20 20 3c 3d 20 20 22 61 |> < >=| <= "a|
|000018a0| 6e 64 22 20 20 22 6f 72 | 22 20 20 22 6e 6f 74 22 |nd" "or|" "not"|
|000018b0| 20 20 22 6b 6e 6f 77 6e | 22 20 20 22 75 6e 6b 6e | "known|" "unkn|
|000018c0| 6f 77 6e 22 2e 20 54 68 | 65 20 6f 70 74 69 6f 6e |own". Th|e option|
|000018d0| 20 6b 65 79 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 | key ver|sions of|
|000018e0| 20 63 6f 6d 70 61 72 69 | 73 6f 6e 20 6f 70 65 72 | compari|son oper|
|000018f0| 61 74 6f 72 73 20 61 72 | 65 20 61 6c 73 6f 20 61 |ators ar|e also a|
|00001900| 63 63 65 70 74 65 64 20 | ad 2c 20 b3 2c 20 b2 2e |ccepted |., ., ..|
|00001910| 20 4e 6f 74 65 20 74 68 | 61 74 20 69 6e 20 74 68 | Note th|at in th|
|00001920| 69 73 20 63 6f 6e 74 65 | 78 74 20 22 3d 22 20 69 |is conte|xt "=" i|
|00001930| 73 20 61 20 63 6f 6d 70 | 61 72 69 73 6f 6e 20 6f |s a comp|arison o|
|00001940| 70 65 72 61 74 6f 72 2e | 20 54 68 65 20 43 20 73 |perator.| The C s|
|00001950| 74 79 6c 65 20 6f 70 65 | 72 61 74 6f 72 20 22 3d |tyle ope|rator "=|
|00001960| 3d 22 20 69 73 20 61 6c | 73 6f 20 61 63 63 65 70 |=" is al|so accep|
|00001970| 74 65 64 2e 0d 2d 2d 20 | 43 68 61 69 6e 65 64 20 |ted..-- |Chained |
|00001980| 72 65 6c 61 74 69 6f 6e | 73 20 73 75 63 68 20 61 |relation|s such a|
|00001990| 73 3a 20 61 20 3c 20 62 | 20 3c 20 63 20 61 72 65 |s: a < b| < c are|
|000019a0| 20 61 6c 6c 6f 77 65 64 | 2e 20 0d 2d 2d 20 54 68 | allowed|. .-- Th|
|000019b0| 65 20 70 72 65 66 69 78 | 20 6f 70 65 72 61 74 6f |e prefix| operato|
|000019c0| 72 73 20 22 6b 6e 6f 77 | 6e 22 20 61 6e 64 20 22 |rs "know|n" and "|
|000019d0| 75 6e 6b 6e 6f 77 6e 22 | 20 63 61 6e 20 62 65 20 |unknown"| can be |
|000019e0| 75 73 65 64 20 74 6f 20 | 74 65 73 74 20 69 66 20 |used to |test if |
|000019f0| 61 20 6e 75 6d 65 72 69 | 63 20 76 61 6c 75 65 20 |a numeri|c value |
|00001a00| 63 61 6e 20 62 65 20 63 | 61 6c 63 75 6c 61 74 65 |can be c|alculate|
|00001a10| 64 20 66 6f 72 20 74 68 | 65 20 67 69 76 65 6e 20 |d for th|e given |
|00001a20| 65 78 70 72 65 73 73 69 | 6f 6e 2e 20 4e 6f 74 65 |expressi|on. Note|
|00001a30| 20 74 68 61 74 20 61 20 | 65 78 70 72 65 73 73 69 | that a |expressi|
|00001a40| 6f 6e 20 63 61 6e 20 62 | 65 20 27 6b 6e 6f 77 6e |on can b|e 'known|
|00001a50| 27 20 65 76 65 6e 20 69 | 66 20 69 74 73 20 76 61 |' even i|f its va|
|00001a60| 6c 75 65 20 69 73 20 4e | 41 4e 30 34 20 28 6e 6f |lue is N|AN04 (no|
|00001a70| 74 20 61 20 6e 75 6d 62 | 65 72 29 2e 20 4e 41 4e |t a numb|er). NAN|
|00001a80| 30 34 20 72 65 73 75 6c | 74 73 20 66 72 6f 6d 20 |04 resul|ts from |
|00001a90| 63 61 6c 63 75 6c 61 74 | 69 6f 6e 73 20 73 75 63 |calculat|ions suc|
|00001aa0| 68 20 61 73 20 30 2f 30 | 2e 0d 2d 2d 20 41 6e 20 |h as 0/0|..-- An |
|00001ab0| 61 72 69 74 68 6d 65 74 | 69 63 20 65 78 70 72 65 |arithmet|ic expre|
|00001ac0| 73 73 69 6f 6e 20 69 73 | 20 63 6f 6e 73 69 64 65 |ssion is| conside|
|00001ad0| 72 65 64 20 74 72 75 65 | 20 69 66 20 69 74 20 69 |red true| if it i|
|00001ae0| 73 20 6e 6f 6e 2d 7a 65 | 72 6f 2e 0d 2d 2d 20 43 |s non-ze|ro..-- C|
|00001af0| 6f 6d 6d 61 20 73 65 70 | 61 72 61 74 65 64 20 65 |omma sep|arated e|
|00001b00| 78 70 72 65 73 73 69 6f | 6e 73 20 63 61 6e 20 61 |xpressio|ns can a|
|00001b10| 6c 73 6f 20 62 65 20 75 | 73 65 64 20 77 69 74 68 |lso be u|sed with|
|00001b20| 6f 75 74 20 63 6f 6e 64 | 69 74 69 6f 6e 61 6c 73 |out cond|itionals|
|00001b30| 2e 20 54 68 65 20 72 65 | 73 75 6c 74 20 77 69 6c |. The re|sult wil|
|00001b40| 6c 20 62 65 20 74 68 65 | 20 66 69 72 73 74 20 69 |l be the| first i|
|00001b50| 74 65 6d 20 69 6e 20 74 | 68 65 20 6c 69 73 74 20 |tem in t|he list |
|00001b60| 74 68 61 74 20 65 76 61 | 6c 75 61 74 65 73 20 74 |that eva|luates t|
|00001b70| 6f 20 61 20 6e 75 6d 65 | 72 69 63 20 76 61 6c 75 |o a nume|ric valu|
|00001b80| 65 2e 0d 0d 0d 2d 2d 2d | 2d 2d 2d 2d 2d 20 52 65 |e....---|----- Re|
|00001b90| 63 75 72 73 69 6f 6e 0d | 2d 2d 20 4d 61 74 68 50 |cursion.|-- MathP|
|00001ba0| 61 64 20 61 6c 6c 6f 77 | 73 20 72 65 63 75 72 73 |ad allow|s recurs|
|00001bb0| 69 76 65 20 66 75 6e 63 | 74 69 6f 6e 20 64 65 66 |ive func|tion def|
|00001bc0| 69 6e 69 74 69 6f 6e 73 | 2e 20 44 65 70 74 68 20 |initions|. Depth |
|00001bd0| 6f 66 20 72 65 63 75 72 | 73 69 6f 6e 20 69 73 20 |of recur|sion is |
|00001be0| 6c 69 6d 69 74 65 64 20 | 62 79 20 61 76 61 69 6c |limited |by avail|
|00001bf0| 61 62 6c 65 20 6d 65 6d | 6f 72 79 20 73 70 61 63 |able mem|ory spac|
|00001c00| 65 2e 20 49 66 20 6d 65 | 6d 6f 72 79 20 72 75 6e |e. If me|mory run|
|00001c10| 73 20 6c 6f 77 20 64 75 | 72 69 6e 67 20 65 76 61 |s low du|ring eva|
|00001c20| 6c 75 61 74 69 6f 6e 2c | 20 72 65 63 75 72 73 69 |luation,| recursi|
|00001c30| 6f 6e 20 69 73 20 73 74 | 6f 70 70 65 64 2e 0d 2d |on is st|opped..-|
|00001c40| 2d 20 45 76 61 6c 75 61 | 74 69 6f 6e 20 63 61 6e |- Evalua|tion can|
|00001c50| 20 61 6c 73 6f 20 62 65 | 20 73 74 6f 70 70 65 64 | also be| stopped|
|00001c60| 20 62 79 20 74 79 70 69 | 6e 67 20 43 6f 6d 6d 61 | by typi|ng Comma|
|00001c70| 6e 64 2d 70 65 72 69 6f | 64 2e 0d 0d 20 20 20 66 |nd-perio|d... f|
|00001c80| 61 63 74 28 6e 29 20 3d | 20 31 20 77 68 65 6e 20 |act(n) =| 1 when |
|00001c90| 6e 20 3c 20 32 2c 20 66 | 61 63 74 28 6e 2d 31 29 |n < 2, f|act(n-1)|
|00001ca0| 2a 6e 20 77 68 65 6e 20 | 6e 20 3e 20 30 0d 20 20 |*n when |n > 0. |
|00001cb0| 20 66 61 63 74 28 35 30 | 29 3a 33 2e 30 65 2b 36 | fact(50|):3.0e+6|
|00001cc0| 34 0d 0d 2d 2d 2d 2d 2d | 2d 2d 2d 20 53 74 72 69 |4..-----|--- Stri|
|00001cd0| 6e 67 73 0d 0d 2d 2d 20 | 54 65 78 74 20 73 74 72 |ngs..-- |Text str|
|00001ce0| 69 6e 67 73 20 61 72 65 | 20 75 73 65 64 20 66 6f |ings are| used fo|
|00001cf0| 72 20 66 69 6c 65 20 6e | 61 6d 65 73 20 61 6e 64 |r file n|ames and|
|00001d00| 20 70 6c 6f 74 20 6c 61 | 62 65 6c 73 2e 20 53 74 | plot la|bels. St|
|00001d10| 72 69 6e 67 20 63 6f 6e | 73 74 61 6e 74 73 20 6d |ring con|stants m|
|00001d20| 75 73 74 20 62 65 20 65 | 6e 63 6c 6f 73 65 64 20 |ust be e|nclosed |
|00001d30| 69 6e 20 64 6f 75 62 6c | 65 20 71 75 6f 74 65 73 |in doubl|e quotes|
|00001d40| 2e 20 54 68 65 79 20 63 | 61 6e 20 63 6f 6e 74 61 |. They c|an conta|
|00001d50| 69 6e 20 62 6c 61 6e 6b | 73 20 6f 72 20 70 75 6e |in blank|s or pun|
|00001d60| 63 74 75 61 74 69 6f 6e | 20 62 75 74 20 6e 6f 74 |ctuation| but not|
|00001d70| 20 52 45 54 55 52 4e 20 | 63 68 61 72 61 63 74 65 | RETURN |characte|
|00001d80| 72 73 2e 20 0d 2d 2d 20 | 56 61 72 69 61 62 6c 65 |rs. .-- |Variable|
|00001d90| 73 20 63 61 6e 20 62 65 | 20 64 65 66 69 6e 65 64 |s can be| defined|
|00001da0| 20 6f 72 20 61 73 73 69 | 67 6e 65 64 20 61 73 20 | or assi|gned as |
|00001db0| 73 74 72 69 6e 67 73 20 | 61 6e 64 20 75 73 65 64 |strings |and used|
|00001dc0| 20 74 6f 20 73 70 65 63 | 69 66 79 20 61 20 66 69 | to spec|ify a fi|
|00001dd0| 6c 65 6e 61 6d 65 20 69 | 6e 64 69 72 65 63 74 6c |lename i|ndirectl|
|00001de0| 79 2e 20 53 74 72 69 6e | 67 73 20 63 61 6e 20 62 |y. Strin|gs can b|
|00001df0| 65 20 63 6f 6d 62 69 6e | 65 64 20 77 69 74 68 20 |e combin|ed with |
|00001e00| 74 68 65 20 63 6f 6e 63 | 61 74 65 6e 61 74 69 6f |the conc|atenatio|
|00001e10| 6e 20 6f 70 65 72 61 74 | 6f 72 20 27 7c 27 2e 20 |n operat|or '|'. |
|00001e20| 0d 0d 20 20 20 70 61 74 | 68 20 3d 20 22 48 61 72 |.. pat|h = "Har|
|00001e30| 64 20 44 69 73 6b 3a 44 | 61 74 61 46 6f 6c 64 65 |d Disk:D|ataFolde|
|00001e40| 72 3a 22 0d 20 20 20 66 | 20 3d 20 70 61 74 68 20 |r:". f| = path |
|00001e50| 7c 20 22 6d 79 66 69 6c | 65 22 0d 20 20 20 66 3a || "myfil|e". f:|
|00001e60| 22 48 61 72 64 20 44 69 | 73 6b 3a 44 61 74 61 46 |"Hard Di|sk:DataF|
|00001e70| 6f 6c 64 65 72 3a 6d 79 | 66 69 6c 65 22 0d 20 20 |older:my|file". |
|00001e80| 20 2d 2d 77 72 69 74 65 | 28 66 2c 61 72 72 61 79 | --write|(f,array|
|00001e90| 29 0d 0d 2d 2d 54 68 65 | 20 62 75 69 6c 74 2d 69 |)..--The| built-i|
|00001ea0| 6e 20 66 75 6e 63 74 69 | 6f 6e 20 73 70 72 69 6e |n functi|on sprin|
|00001eb0| 74 66 28 66 6f 72 6d 61 | 74 2c 6e 29 20 63 61 6e |tf(forma|t,n) can|
|00001ec0| 20 62 65 20 75 73 65 64 | 20 74 6f 20 63 6f 6e 76 | be used| to conv|
|00001ed0| 65 72 74 20 61 20 6e 75 | 6d 62 65 72 20 74 6f 20 |ert a nu|mber to |
|00001ee0| 61 20 73 74 72 69 6e 67 | 2e 20 53 65 65 20 74 68 |a string|. See th|
|00001ef0| 65 20 73 65 70 61 72 61 | 74 65 20 73 65 63 74 69 |e separa|te secti|
|00001f00| 6f 6e 20 6f 6e 20 73 74 | 72 69 6e 67 73 20 66 6f |on on st|rings fo|
|00001f10| 72 20 6d 6f 72 65 20 64 | 65 74 61 69 6c 73 2e 0d |r more d|etails..|
|00001f20| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 50 6c 6f 74 73 |.-------|-- Plots|
|00001f30| 0d 2d 2d 20 4d 61 74 68 | 50 61 64 20 63 61 6e 20 |.-- Math|Pad can |
|00001f40| 70 72 6f 64 75 63 65 20 | 73 69 6d 70 6c 65 20 70 |produce |simple p|
|00001f50| 6c 6f 74 73 20 62 79 20 | 75 73 69 6e 67 20 74 68 |lots by |using th|
|00001f60| 65 20 20 22 70 6c 6f 74 | 22 20 63 6f 6d 6d 61 6e |e "plot|" comman|
|00001f70| 64 2e 0d 0d 20 20 20 20 | 58 6d 69 6e 3d 30 3b 20 |d... |Xmin=0; |
|00001f80| 20 58 6d 61 78 3d 32 30 | 0d 20 20 20 20 59 6d 69 | Xmax=20|. Ymi|
|00001f90| 6e 3d 30 3b 20 20 59 6d | 61 78 3d 58 6d 61 78 5e |n=0; Ym|ax=Xmax^|
|00001fa0| 32 0d 20 20 20 20 70 6c | 6f 74 20 58 5e 32 0d 0d |2. pl|ot X^2..|
|00001fb0| 2d 2d 20 50 6c 6f 74 74 | 69 6e 67 20 69 73 20 63 |-- Plott|ing is c|
|00001fc0| 6f 6e 74 72 6f 6c 6c 65 | 64 20 62 79 20 73 70 65 |ontrolle|d by spe|
|00001fd0| 63 69 61 6c 20 76 61 72 | 69 61 62 6c 65 73 2e 20 |cial var|iables. |
|00001fe0| 54 68 65 20 69 6e 64 65 | 70 65 6e 64 65 6e 74 20 |The inde|pendent |
|00001ff0| 76 61 72 69 61 62 6c 65 | 20 22 58 22 20 69 73 20 |variable| "X" is |
|00002000| 73 74 65 70 70 65 64 20 | 62 65 74 77 65 65 6e 20 |stepped |between |
|00002010| 22 58 6d 69 6e 22 20 61 | 6e 64 20 22 58 6d 61 78 |"Xmin" a|nd "Xmax|
|00002020| 22 20 20 77 69 74 68 20 | 61 20 72 65 73 6f 6c 75 |" with |a resolu|
|00002030| 74 69 6f 6e 20 6f 66 20 | 22 58 73 74 65 70 73 22 |tion of |"Xsteps"|
|00002040| 20 28 64 65 66 61 75 6c | 74 20 58 73 74 65 70 73 | (defaul|t Xsteps|
|00002050| 3d 31 30 30 29 2e 20 4f | 74 68 65 72 20 76 61 72 |=100). O|ther var|
|00002060| 69 61 62 6c 65 73 20 73 | 75 63 68 20 61 73 20 58 |iables s|uch as X|
|00002070| 64 69 76 2c 20 58 6c 61 | 62 65 6c 2c 20 59 6d 69 |div, Xla|bel, Ymi|
|00002080| 6e 2c 20 59 6d 61 78 2c | 20 59 64 69 76 2c 20 59 |n, Ymax,| Ydiv, Y|
|00002090| 6c 61 62 65 6c 2c 20 54 | 69 74 6c 65 20 61 6e 64 |label, T|itle and|
|000020a0| 20 59 73 74 72 69 70 73 | 20 63 61 6e 20 62 65 20 | Ystrips| can be |
|000020b0| 75 73 65 64 20 74 6f 20 | 63 6f 6e 74 72 6f 6c 20 |used to |control |
|000020c0| 74 68 65 20 70 6c 6f 74 | 20 70 61 72 61 6d 65 74 |the plot| paramet|
|000020d0| 65 72 73 2e 20 53 65 65 | 20 74 68 65 20 66 69 6c |ers. See| the fil|
|000020e0| 65 20 22 50 6c 6f 74 74 | 69 6e 67 22 20 66 6f 72 |e "Plott|ing" for|
|000020f0| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0d 2d | more de|tails..-|
|00002100| 2d 20 45 76 61 6c 75 61 | 74 69 6f 6e 20 63 61 6e |- Evalua|tion can|
|00002110| 20 62 65 20 73 74 6f 70 | 70 65 64 20 62 79 20 74 | be stop|ped by t|
|00002120| 79 70 69 6e 67 20 43 6f | 6d 6d 61 6e 64 2d 70 65 |yping Co|mmand-pe|
|00002130| 72 69 6f 64 2e 0d 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |riod...-|--------|
|00002140| 2d 20 54 61 62 6c 65 73 | 0d 2d 2d 20 4d 61 74 68 |- Tables|.-- Math|
|00002150| 50 61 64 20 63 61 6e 20 | 70 72 6f 64 75 63 65 20 |Pad can |produce |
|00002160| 74 61 62 6c 65 73 20 6f | 66 20 6e 75 6d 65 72 69 |tables o|f numeri|
|00002170| 63 20 72 65 73 75 6c 74 | 73 20 75 73 69 6e 67 20 |c result|s using |
|00002180| 74 68 65 20 22 74 61 62 | 6c 65 22 20 63 6f 6d 6d |the "tab|le" comm|
|00002190| 61 6e 64 2e 0d 2d 2d 20 | 4d 75 6c 74 69 70 6c 65 |and..-- |Multiple|
|000021a0| 20 63 6f 6c 75 6d 6e 20 | 74 61 62 6c 65 73 20 63 | column |tables c|
|000021b0| 61 6e 20 62 65 20 70 72 | 6f 64 75 63 65 64 20 62 |an be pr|oduced b|
|000021c0| 79 20 67 69 76 69 6e 67 | 20 61 20 6c 69 73 74 20 |y giving| a list |
|000021d0| 6f 66 20 65 78 70 72 65 | 73 73 69 6f 6e 73 20 73 |of expre|ssions s|
|000021e0| 65 70 61 72 61 74 65 64 | 20 62 79 20 63 6f 6d 6d |eparated| by comm|
|000021f0| 61 73 2e 0d 0d 20 4e 6d | 69 6e 3d 31 3b 20 20 4e |as... Nm|in=1; N|
|00002200| 6d 61 78 3d 35 3b 20 20 | 20 20 20 4e 73 74 65 70 |max=5; | Nstep|
|00002210| 73 3d 35 0d 20 74 61 62 | 6c 65 20 20 20 20 4e 2c |s=5. tab|le N,|
|00002220| 20 20 20 20 20 20 20 4e | 5e 32 2c 20 20 20 20 20 | N|^2, |
|00002230| 20 20 4e 5e 33 0d 20 20 | 20 20 20 20 20 20 31 2e | N^3. | 1.|
|00002240| 30 20 20 20 20 20 20 20 | 20 31 2e 30 20 20 20 20 |0 | 1.0 |
|00002250| 20 20 20 20 31 2e 30 0d | 20 20 20 20 20 20 20 20 | 1.0.| |
|00002260| 32 2e 30 20 20 20 20 20 | 20 20 20 34 2e 30 20 20 |2.0 | 4.0 |
|00002270| 20 20 20 20 20 20 38 2e | 30 0d 20 20 20 20 20 20 | 8.|0. |
|00002280| 20 20 33 2e 30 20 20 20 | 20 20 20 20 20 39 2e 30 | 3.0 | 9.0|
|00002290| 20 20 20 20 20 20 20 32 | 37 2e 30 0d 20 20 20 20 | 2|7.0. |
|000022a0| 20 20 20 20 34 2e 30 20 | 20 20 20 20 20 20 31 36 | 4.0 | 16|
|000022b0| 2e 30 20 20 20 20 20 20 | 20 36 34 2e 30 0d 20 20 |.0 | 64.0. |
|000022c0| 20 20 20 20 20 20 35 2e | 30 20 20 20 20 20 20 20 | 5.|0 |
|000022d0| 32 35 2e 30 20 20 20 20 | 20 20 31 32 35 2e 30 0d |25.0 | 125.0.|
|000022e0| 0d 2d 2d 20 54 61 62 6c | 65 73 20 61 72 65 20 68 |.-- Tabl|es are h|
|000022f0| 61 6e 64 6c 65 64 20 69 | 6e 20 74 68 65 20 73 61 |andled i|n the sa|
|00002300| 6d 65 20 77 61 79 20 61 | 73 20 70 6c 6f 74 73 20 |me way a|s plots |
|00002310| 65 78 63 65 70 74 20 74 | 68 61 74 20 74 68 65 20 |except t|hat the |
|00002320| 72 65 73 75 6c 74 73 20 | 61 72 65 20 69 6e 73 65 |results |are inse|
|00002330| 72 74 65 64 20 61 73 20 | 63 6f 6c 75 6d 6e 73 20 |rted as |columns |
|00002340| 69 6e 20 74 68 65 20 74 | 65 78 74 20 77 69 6e 64 |in the t|ext wind|
|00002350| 6f 77 2e 20 46 6f 72 20 | 74 61 62 6c 65 73 20 74 |ow. For |tables t|
|00002360| 68 65 20 69 6e 64 65 70 | 65 6e 64 65 6e 74 20 76 |he indep|endent v|
|00002370| 61 72 69 61 62 6c 65 20 | 69 73 20 22 4e 22 20 61 |ariable |is "N" a|
|00002380| 6e 64 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 20 76 |nd the c|ontrol v|
|00002390| 61 72 69 61 62 6c 65 73 | 20 61 72 65 20 22 4e 6d |ariables| are "Nm|
|000023a0| 69 6e 22 2c 20 20 22 4e | 6d 61 78 22 20 20 61 6e |in", "N|max" an|
|000023b0| 64 20 22 4e 73 74 65 70 | 73 22 2e 0d 2d 2d 20 4e |d "Nstep|s"..-- N|
|000023c0| 73 74 65 70 73 20 69 73 | 20 6c 69 6d 69 74 65 64 |steps is| limited|
|000023d0| 20 74 6f 20 31 30 30 30 | 20 74 6f 20 70 72 65 76 | to 1000| to prev|
|000023e0| 65 6e 74 20 61 63 63 69 | 64 65 6e 74 73 20 66 72 |ent acci|dents fr|
|000023f0| 6f 6d 20 69 6e 73 65 72 | 74 69 6e 67 20 68 75 67 |om inser|ting hug|
|00002400| 65 20 61 6d 6f 75 6e 74 | 73 20 6f 66 20 74 65 78 |e amount|s of tex|
|00002410| 74 2e 20 55 73 65 20 74 | 68 65 20 77 72 69 74 65 |t. Use t|he write|
|00002420| 28 29 20 66 75 6e 63 74 | 69 6f 6e 20 66 6f 72 20 |() funct|ion for |
|00002430| 6c 61 72 67 65 20 74 61 | 62 6c 65 73 2e 0d 2d 2d |large ta|bles..--|
|00002440| 20 44 6f 20 6e 6f 74 20 | 61 64 64 20 61 6e 79 20 | Do not |add any |
|00002450| 74 65 78 74 20 74 6f 20 | 74 68 65 20 6f 75 74 70 |text to |the outp|
|00002460| 75 74 20 63 6f 6c 75 6d | 6e 73 20 62 65 63 61 75 |ut colum|ns becau|
|00002470| 73 65 20 74 68 65 20 74 | 61 62 6c 65 20 63 6f 6d |se the t|able com|
|00002480| 6d 61 6e 64 20 77 69 6c | 6c 20 6e 6f 74 20 62 65 |mand wil|l not be|
|00002490| 20 61 62 6c 65 20 74 6f | 20 70 72 6f 70 65 72 6c | able to| properl|
|000024a0| 79 20 64 65 6c 65 74 65 | 20 74 68 65 20 74 61 62 |y delete| the tab|
|000024b0| 6c 65 20 62 65 66 6f 72 | 65 20 72 65 65 76 61 6c |le befor|e reeval|
|000024c0| 75 61 74 69 6e 67 2e 0d | 2d 2d 20 49 66 20 74 61 |uating..|-- If ta|
|000024d0| 62 6c 65 20 69 73 20 75 | 73 65 64 20 77 69 74 68 |ble is u|sed with|
|000024e0| 20 61 20 73 69 6e 67 6c | 65 20 65 78 70 72 65 73 | a singl|e expres|
|000024f0| 73 69 6f 6e 20 74 68 61 | 74 20 69 73 20 61 20 31 |sion tha|t is a 1|
|00002500| 44 20 6f 72 20 32 44 20 | 61 72 72 61 79 2c 20 74 |D or 2D |array, t|
|00002510| 68 65 20 61 72 72 61 79 | 20 65 6c 65 6d 65 6e 74 |he array| element|
|00002520| 73 20 77 69 6c 6c 20 62 | 65 20 70 72 69 6e 74 65 |s will b|e printe|
|00002530| 64 20 6f 75 74 2e 20 54 | 68 65 20 76 61 6c 75 65 |d out. T|he value|
|00002540| 73 20 6f 66 20 4e 6d 69 | 6e 2c 4e 6d 61 78 20 61 |s of Nmi|n,Nmax a|
|00002550| 6e 64 20 4e 73 74 65 70 | 73 20 61 72 65 20 69 67 |nd Nstep|s are ig|
|00002560| 6e 6f 72 65 64 2e 0d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |nored...|--------|
|00002570| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 41 72 72 61 |--------|--- Arra|
|00002580| 79 73 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ys -----|--------|
|00002590| 0d 20 41 3d 7b 31 30 2c | 32 30 2c 33 30 7d 09 20 |. A={10,|20,30}. |
|000025a0| 20 2d 2d 20 44 65 66 69 | 6e 65 73 20 61 20 33 20 | -- Defi|nes a 3 |
|000025b0| 65 6c 65 6d 65 6e 74 20 | 61 72 72 61 79 2e 0d 20 |element |array.. |
|000025c0| 41 5b 32 5d 3a 32 30 2e | 30 3b 20 20 20 20 20 2d |A[2]:20.|0; -|
|000025d0| 2d 20 41 63 63 65 73 73 | 65 73 20 74 68 65 20 32 |- Access|es the 2|
|000025e0| 6e 64 20 65 6c 65 6d 65 | 6e 74 2e 20 49 6e 64 65 |nd eleme|nt. Inde|
|000025f0| 78 20 76 61 6c 75 65 73 | 20 73 74 61 72 74 20 61 |x values| start a|
|00002600| 74 20 31 2e 0d 20 42 3d | 7b 41 2c 7b 34 30 2c 35 |t 1.. B=|{A,{40,5|
|00002610| 30 2c 36 30 7d 2c 41 2b | 31 7d 20 20 20 2d 2d 20 |0,60},A+|1} -- |
|00002620| 4d 75 6c 74 69 64 69 6d | 65 6e 73 69 6f 6e 61 6c |Multidim|ensional|
|00002630| 20 61 72 72 61 79 2e 0d | 20 42 3a 7b 7b 31 30 2e | array..| B:{{10.|
|00002640| 30 2c 32 30 2e 30 2c 33 | 30 2e 30 7d 2c 7b 34 30 |0,20.0,3|0.0},{40|
|00002650| 2e 30 2c 35 30 2e 30 2c | 36 30 2e 30 7d 2c 7b 31 |.0,50.0,|60.0},{1|
|00002660| 31 2e 30 2c 32 31 2e 30 | 2c 33 31 2e 30 7d 7d 0d |1.0,21.0|,31.0}}.|
|00002670| 20 42 5b 31 5d 3a 7b 31 | 30 2e 30 2c 32 30 2e 30 | B[1]:{1|0.0,20.0|
|00002680| 2c 33 30 2e 30 7d 0d 20 | 42 5b 31 5d 5b 32 5d 3a |,30.0}. |B[1][2]:|
|00002690| 32 30 2e 30 0d 20 42 5b | 31 2c 32 5d 3a 32 30 2e |20.0. B[|1,2]:20.|
|000026a0| 30 3b 20 20 20 20 20 20 | 20 20 2d 2d 20 42 6f 74 |0; | -- Bot|
|000026b0| 68 20 66 6f 72 6d 73 20 | 6f 66 20 69 6e 64 65 78 |h forms |of index|
|000026c0| 69 6e 67 20 61 72 65 20 | 61 6c 6c 6f 77 65 64 0d |ing are |allowed.|
|000026d0| 0d 20 41 5b 32 3a 33 5d | 3a 7b 32 30 2e 30 2c 33 |. A[2:3]|:{20.0,3|
|000026e0| 30 2e 30 7d 3b 20 2d 2d | 20 5b 6c 6f 3a 68 69 5d |0.0}; --| [lo:hi]|
|000026f0| 20 73 65 6c 65 63 74 73 | 20 61 20 73 75 62 20 61 | selects| a sub a|
|00002700| 72 72 61 79 2e 0d 20 41 | 5b 32 3a 33 5d 5b 32 3a |rray.. A|[2:3][2:|
|00002710| 32 5d 3a 7b 33 30 2e 30 | 7d 3b 20 2d 2d 20 63 6f |2]:{30.0|}; -- co|
|00002720| 6e 73 65 63 75 74 69 76 | 65 20 73 65 6c 65 63 74 |nsecutiv|e select|
|00002730| 69 6f 6e 73 20 6f 70 65 | 72 61 74 65 20 6f 6e 20 |ions ope|rate on |
|00002740| 74 68 65 20 73 61 6d 65 | 20 64 69 6d 65 6e 73 69 |the same| dimensi|
|00002750| 6f 6e 0d 20 41 5b 3a 32 | 5d 3a 7b 31 30 2e 30 2c |on. A[:2|]:{10.0,|
|00002760| 32 30 2e 30 7d 3b 20 20 | 2d 2d 20 6c 6f 20 61 6e |20.0}; |-- lo an|
|00002770| 64 2f 6f 72 20 68 69 20 | 6d 61 79 20 62 65 20 6f |d/or hi |may be o|
|00002780| 6d 69 74 74 65 64 2e 0d | 20 42 5b 32 3a 5d 3a 7b |mitted..| B[2:]:{|
|00002790| 7b 34 30 2e 30 2c 35 30 | 2e 30 2c 36 30 2e 30 7d |{40.0,50|.0,60.0}|
|000027a0| 2c 7b 31 31 2e 30 2c 32 | 31 2e 30 2c 33 31 2e 30 |,{11.0,2|1.0,31.0|
|000027b0| 7d 7d 0d 0d 20 51 5b 69 | 5d 3d 69 2a 31 31 20 20 |}}.. Q[i|]=i*11 |
|000027c0| 2d 2d 41 72 72 61 79 73 | 20 63 61 6e 20 62 65 20 |--Arrays| can be |
|000027d0| 64 65 66 69 6e 65 64 20 | 69 6e 20 74 65 72 6d 73 |defined |in terms|
|000027e0| 20 6f 66 20 74 68 65 69 | 72 20 69 6e 64 65 78 20 | of thei|r index |
|000027f0| 76 61 6c 75 65 73 2e 0d | 20 51 5b 32 5d 3a 32 32 |values..| Q[2]:22|
|00002800| 2e 30 0d 0d 2d 2d 64 69 | 6d 5b 5d 20 69 73 20 75 |.0..--di|m[] is u|
|00002810| 73 65 64 20 74 6f 20 73 | 65 74 20 74 68 65 20 6e |sed to s|et the n|
|00002820| 75 6d 62 65 72 20 6f 66 | 20 65 6c 65 6d 65 6e 74 |umber of| element|
|00002830| 73 20 66 6f 72 20 61 6e | 20 61 72 72 61 79 20 64 |s for an| array d|
|00002840| 65 66 69 6e 69 74 69 6f | 6e 2e 20 49 66 20 74 68 |efinitio|n. If th|
|00002850| 65 20 65 78 70 72 65 73 | 73 69 6f 6e 20 66 6f 72 |e expres|sion for|
|00002860| 20 6e 75 6d 62 65 72 20 | 6f 66 20 65 6c 65 6d 65 | number |of eleme|
|00002870| 6e 74 73 20 69 73 20 75 | 6e 6b 6e 6f 77 6e 20 6f |nts is u|nknown o|
|00002880| 72 20 3c 20 30 2c 20 74 | 68 61 74 20 64 69 6d 65 |r < 0, t|hat dime|
|00002890| 6e 73 69 6f 6e 20 62 65 | 63 6f 6d 65 73 20 69 6e |nsion be|comes in|
|000028a0| 66 69 6e 69 74 65 2e 20 | 64 69 6d 5b 30 5d 20 69 |finite. |dim[0] i|
|000028b0| 73 20 65 71 75 69 76 61 | 6c 65 6e 74 20 74 6f 20 |s equiva|lent to |
|000028c0| 64 69 6d 5b 31 5d 2e 0d | 20 49 5b 69 2c 6a 5d 20 |dim[1]..| I[i,j] |
|000028d0| 3d 20 31 20 77 68 65 6e | 20 69 3d 6a 2c 30 20 6f |= 1 when| i=j,0 o|
|000028e0| 74 68 65 72 77 69 73 65 | 20 20 20 64 69 6d 5b 33 |therwise| dim[3|
|000028f0| 2c 33 5d 0d 20 49 3a 7b | 7b 31 2e 30 2c 30 2e 30 |,3]. I:{|{1.0,0.0|
|00002900| 2c 30 2e 30 7d 2c 7b 30 | 2e 30 2c 31 2e 30 2c 30 |,0.0},{0|.0,1.0,0|
|00002910| 2e 30 7d 2c 7b 30 2e 30 | 2c 30 2e 30 2c 31 2e 30 |.0},{0.0|,0.0,1.0|
|00002920| 7d 7d 0d 0d 2d 2d 41 72 | 72 61 79 73 20 6d 61 79 |}}..--Ar|rays may|
|00002930| 20 62 65 20 75 73 65 64 | 20 66 72 65 65 6c 79 20 | be used| freely |
|00002940| 69 6e 20 65 78 70 72 65 | 73 73 69 6f 6e 73 2e 20 |in expre|ssions. |
|00002950| 4f 70 65 72 61 74 69 6f | 6e 73 20 61 72 65 20 70 |Operatio|ns are p|
|00002960| 65 72 66 6f 72 6d 65 64 | 20 6f 6e 20 65 61 63 68 |erformed| on each|
|00002970| 20 65 6c 65 6d 65 6e 74 | 2e 20 53 63 61 6c 61 72 | element|. Scalar|
|00002980| 73 20 61 72 65 20 65 78 | 74 65 6e 64 65 64 20 74 |s are ex|tended t|
|00002990| 6f 20 63 6f 6e 74 61 69 | 6e 20 61 73 20 6d 61 6e |o contai|n as man|
|000029a0| 79 20 65 6c 65 6d 65 6e | 74 73 20 61 73 20 6e 65 |y elemen|ts as ne|
|000029b0| 65 64 65 64 2e 0d 20 41 | 2b 51 3a 7b 32 31 2e 30 |eded.. A|+Q:{21.0|
|000029c0| 2c 34 32 2e 30 2c 36 33 | 2e 30 7d 0d 20 32 2b 41 |,42.0,63|.0}. 2+A|
|000029d0| 3a 7b 31 32 2e 30 2c 32 | 32 2e 30 2c 33 32 2e 30 |:{12.0,2|2.0,32.0|
|000029e0| 7d 0d 20 6c 6f 67 28 41 | 29 3a 7b 31 2e 30 2c 31 |}. log(A|):{1.0,1|
|000029f0| 2e 33 2c 31 2e 35 7d 0d | 20 41 2a 51 3a 7b 31 31 |.3,1.5}.| A*Q:{11|
|00002a00| 30 2e 30 2c 34 34 30 2e | 30 2c 39 39 30 2e 30 7d |0.0,440.|0,990.0}|
|00002a10| 3b 20 2d 2d 4e 6f 74 65 | 3a 20 74 68 69 73 20 69 |; --Note|: this i|
|00002a20| 73 20 6e 6f 74 20 6d 61 | 74 72 69 78 20 6d 75 6c |s not ma|trix mul|
|00002a30| 74 69 70 6c 79 0d 2d 2d | 20 51 5b 41 5d 3a 3f 20 |tiply.--| Q[A]:? |
|00002a40| 41 5b 5d 3f 3b 20 20 20 | 20 20 20 20 20 20 20 20 |A[]?; | |
|00002a50| 2d 2d 41 72 72 61 79 73 | 20 6d 61 79 20 6e 6f 74 |--Arrays| may not|
|00002a60| 20 62 65 20 75 73 65 64 | 20 61 73 20 69 6e 64 65 | be used| as inde|
|00002a70| 78 20 76 61 6c 75 65 73 | 2e 0d 0d 2d 2d 20 46 6f |x values|...-- Fo|
|00002a80| 72 20 6c 61 72 67 65 20 | 61 72 72 61 79 73 20 6f |r large |arrays o|
|00002a90| 6e 6c 79 20 74 68 65 20 | 66 69 72 73 74 20 66 65 |nly the |first fe|
|00002aa0| 77 20 65 6c 65 6d 65 6e | 74 73 20 69 6e 20 65 61 |w elemen|ts in ea|
|00002ab0| 63 68 20 64 69 6d 65 6e | 73 69 6f 6e 20 61 72 65 |ch dimen|sion are|
|00002ac0| 20 70 72 69 6e 74 65 64 | 20 66 6f 6c 6c 6f 77 65 | printed| followe|
|00002ad0| 64 20 62 79 20 2e 2e 2e | 20 74 6f 20 69 6e 64 69 |d by ...| to indi|
|00002ae0| 63 61 74 65 20 74 68 61 | 74 20 74 68 65 72 65 20 |cate tha|t there |
|00002af0| 61 72 65 20 6d 6f 72 65 | 20 65 6c 65 6d 65 6e 74 |are more| element|
|00002b00| 73 2e 0d 20 51 3a 7b 31 | 31 2e 30 2c 32 32 2e 30 |s.. Q:{1|1.0,22.0|
|00002b10| 2c 33 33 2e 30 2c 2e 2e | 2e 7d 0d 2d 2d 55 73 65 |,33.0,..|.}.--Use|
|00002b20| 20 74 61 62 6c 65 20 74 | 6f 20 6f 75 74 70 75 74 | table t|o output|
|00002b30| 20 6d 65 64 69 75 6d 20 | 73 69 7a 65 64 20 31 44 | medium |sized 1D|
|00002b40| 20 6f 72 20 32 44 20 61 | 72 72 61 79 73 2e 0d 20 | or 2D a|rrays.. |
|00002b50| 74 61 62 6c 65 20 42 0d | 20 20 20 20 20 20 20 31 |table B.| 1|
|00002b60| 30 2e 30 20 20 20 20 20 | 20 20 32 30 2e 30 20 20 |0.0 | 20.0 |
|00002b70| 20 20 20 20 20 33 30 2e | 30 0d 20 20 20 20 20 20 | 30.|0. |
|00002b80| 20 34 30 2e 30 20 20 20 | 20 20 20 20 35 30 2e 30 | 40.0 | 50.0|
|00002b90| 20 20 20 20 20 20 20 36 | 30 2e 30 0d 20 20 20 20 | 6|0.0. |
|00002ba0| 20 20 20 31 31 2e 30 20 | 20 20 20 20 20 20 32 31 | 11.0 | 21|
|00002bb0| 2e 30 20 20 20 20 20 20 | 20 33 31 2e 30 0d 0d 2d |.0 | 31.0..-|
|00002bc0| 2d 46 75 6e 63 74 69 6f | 6e 73 20 63 61 6e 20 75 |-Functio|ns can u|
|00002bd0| 73 65 20 69 6e 64 65 78 | 20 76 61 6c 75 65 73 0d |se index| values.|
|00002be0| 20 73 6b 69 70 28 7a 7a | 2c 62 79 29 5b 69 5d 20 | skip(zz|,by)[i] |
|00002bf0| 3d 20 7a 7a 5b 69 2a 62 | 79 5d 0d 20 73 6b 69 70 |= zz[i*b|y]. skip|
|00002c00| 28 51 2c 32 29 3a 7b 32 | 32 2e 30 2c 34 34 2e 30 |(Q,2):{2|2.0,44.0|
|00002c10| 2c 36 36 2e 30 2c 2e 2e | 2e 7d 0d 20 6d 75 6c 74 |,66.0,..|.}. mult|
|00002c20| 69 70 6c 79 28 41 2c 42 | 29 5b 69 2c 6a 5d 20 3d |iply(A,B|)[i,j] =|
|00002c30| 20 73 75 6d 28 41 5b 69 | 2c 6b 5d 2a 42 5b 6b 2c | sum(A[i|,k]*B[k,|
|00002c40| 6a 5d 2c 6b 2c 31 2c 63 | 6f 75 6e 74 28 42 29 29 |j],k,1,c|ount(B))|
|00002c50| 20 64 69 6d 5b 63 6f 75 | 6e 74 28 41 29 2c 63 6f | dim[cou|nt(A),co|
|00002c60| 75 6e 74 28 42 5b 31 5d | 29 5d 0d 20 6d 75 6c 74 |unt(B[1]|)]. mult|
|00002c70| 69 70 6c 79 28 7b 41 7d | 2c 49 29 3a 7b 7b 31 30 |iply({A}|,I):{{10|
|00002c80| 2e 30 2c 32 30 2e 30 2c | 33 30 2e 30 7d 7d 0d 0d |.0,20.0,|30.0}}..|
|00002c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 42 75 69 6c 74 2d |--------|- Built-|
|00002ca0| 69 6e 20 66 75 6e 63 74 | 69 6f 6e 73 20 66 6f 72 |in funct|ions for|
|00002cb0| 20 61 72 72 61 79 73 0d | 20 63 6f 75 6e 74 28 41 | arrays.| count(A|
|00002cc0| 29 3a 33 2e 30 3b 20 20 | 2d 2d 20 63 6f 75 6e 74 |):3.0; |-- count|
|00002cd0| 28 29 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 6e |() retur|ns the n|
|00002ce0| 75 6d 62 65 72 20 6f 66 | 20 61 72 72 61 79 20 65 |umber of| array e|
|00002cf0| 6c 65 6d 65 6e 74 73 0d | 20 20 63 6f 75 6e 74 28 |lements.| count(|
|00002d00| 42 29 3a 33 2e 30 3b 20 | 20 20 20 20 2d 2d 20 65 |B):3.0; | -- e|
|00002d10| 6c 65 6d 65 6e 74 73 20 | 69 6e 20 31 73 74 20 64 |lements |in 1st d|
|00002d20| 69 6d 65 6e 73 69 6f 6e | 0d 20 20 63 6f 75 6e 74 |imension|. count|
|00002d30| 28 34 32 29 3a 30 2e 30 | 3b 20 20 20 20 2d 2d 20 |(42):0.0|; -- |
|00002d40| 73 63 61 6c 61 72 0d 20 | 20 63 6f 75 6e 74 28 51 |scalar. | count(Q|
|00002d50| 29 3a 3f 3b 20 20 20 20 | 20 20 20 2d 2d 20 69 6e |):?; | -- in|
|00002d60| 66 69 6e 69 74 65 20 61 | 72 72 61 79 0d 0d 20 64 |finite a|rray.. d|
|00002d70| 65 74 28 42 29 3a 30 2e | 30 3b 20 20 2d 2d 20 63 |et(B):0.|0; -- c|
|00002d80| 61 6c 63 75 6c 61 74 65 | 73 20 74 68 65 20 64 65 |alculate|s the de|
|00002d90| 74 65 72 6d 69 6e 61 6e | 74 20 6f 66 20 61 20 73 |terminan|t of a s|
|00002da0| 71 75 61 72 65 20 6d 61 | 74 72 69 78 0d 0d 2d 2d |quare ma|trix..--|
|00002db0| 2d 2d 2d 2d 2d 2d 2d 20 | 44 61 74 61 20 46 69 6c |------- |Data Fil|
|00002dc0| 65 73 0d 2d 2d 20 72 65 | 61 64 28 22 66 69 6c 65 |es.-- re|ad("file|
|00002dd0| 6e 61 6d 65 22 29 20 72 | 65 74 75 72 6e 73 20 61 |name") r|eturns a|
|00002de0| 6e 20 61 72 72 61 79 20 | 6f 66 20 76 61 6c 75 65 |n array |of value|
|00002df0| 73 20 72 65 61 64 20 66 | 72 6f 6d 20 74 68 65 20 |s read f|rom the |
|00002e00| 6e 61 6d 65 64 20 64 61 | 74 61 20 66 69 6c 65 2e |named da|ta file.|
|00002e10| 20 44 6f 75 62 6c 65 20 | 71 75 6f 74 65 73 20 61 | Double |quotes a|
|00002e20| 72 65 20 6e 65 65 64 65 | 64 20 69 66 20 74 68 65 |re neede|d if the|
|00002e30| 20 66 69 6c 65 6e 61 6d | 65 20 63 6f 6e 74 61 69 | filenam|e contai|
|00002e40| 6e 73 20 62 6c 61 6e 6b | 73 20 6f 72 20 70 75 6e |ns blank|s or pun|
|00002e50| 63 74 75 61 74 69 6f 6e | 2e 20 54 68 65 20 64 61 |ctuation|. The da|
|00002e60| 74 61 20 66 69 6c 65 20 | 69 73 20 61 73 73 75 6d |ta file |is assum|
|00002e70| 65 64 20 74 6f 20 62 65 | 20 69 6e 20 74 68 65 20 |ed to be| in the |
|00002e80| 73 61 6d 65 20 66 6f 6c | 64 65 72 20 61 73 20 74 |same fol|der as t|
|00002e90| 68 65 20 73 6f 75 72 63 | 65 20 64 6f 63 75 6d 65 |he sourc|e docume|
|00002ea0| 6e 74 2e 20 4d 61 63 20 | 73 74 79 6c 65 20 70 61 |nt. Mac |style pa|
|00002eb0| 74 68 20 6e 61 6d 65 73 | 20 73 75 63 68 20 61 73 |th names| such as|
|00002ec0| 20 22 48 61 72 64 20 44 | 69 73 6b 3a 44 61 74 61 | "Hard D|isk:Data|
|00002ed0| 46 6f 6c 64 65 72 3a 66 | 69 6c 65 34 37 22 20 61 |Folder:f|ile47" a|
|00002ee0| 72 65 20 61 6c 6c 6f 77 | 65 64 2e 0d 2d 2d 20 77 |re allow|ed..-- w|
|00002ef0| 72 69 74 65 28 22 66 69 | 6c 65 6e 61 6d 65 22 2c |rite("fi|lename",|
|00002f00| 61 72 72 61 79 29 20 20 | 77 72 69 74 65 73 20 74 |array) |writes t|
|00002f10| 68 65 20 65 6c 65 6d 65 | 6e 74 73 20 6f 66 20 74 |he eleme|nts of t|
|00002f20| 68 65 20 31 44 20 6f 72 | 20 32 44 20 61 72 72 61 |he 1D or| 2D arra|
|00002f30| 79 20 74 6f 20 74 68 65 | 20 6e 61 6d 65 64 20 66 |y to the| named f|
|00002f40| 69 6c 65 2e 0d 2d 2d 20 | 53 65 65 20 22 44 61 74 |ile..-- |See "Dat|
|00002f50| 61 66 69 6c 65 73 22 20 | 66 6f 72 20 6d 6f 72 65 |afiles" |for more|
|00002f60| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0d 0d 0d | informa|tion....|
|00002f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 49 6d 61 67 65 20 |--------|- Image |
|00002f80| 64 69 73 70 6c 61 79 0d | 2d 2d 20 54 68 65 20 22 |display.|-- The "|
|00002f90| 69 6d 61 67 65 22 20 63 | 6f 6d 6d 61 6e 64 20 63 |image" c|ommand c|
|00002fa0| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 64 69 |an be us|ed to di|
|00002fb0| 73 70 6c 61 79 20 61 20 | 32 44 20 61 72 72 61 79 |splay a |2D array|
|00002fc0| 2e 20 54 68 65 20 65 6e | 74 69 72 65 20 61 72 72 |. The en|tire arr|
|00002fd0| 61 79 20 69 73 20 64 69 | 73 70 6c 61 79 65 64 20 |ay is di|splayed |
|00002fe0| 61 6e 64 20 66 69 6c 6c | 73 20 74 68 65 20 70 6c |and fill|s the pl|
|00002ff0| 6f 74 20 61 72 65 61 20 | 72 65 67 61 72 64 6c 65 |ot area |regardle|
|00003000| 73 73 20 6f 66 20 74 68 | 65 20 76 61 6c 75 65 73 |ss of th|e values|
|00003010| 20 6f 66 20 58 6d 69 6e | 2c 20 58 6d 61 78 2c 20 | of Xmin|, Xmax, |
|00003020| 59 6d 69 6e 2c 20 6f 72 | 20 59 6d 61 78 2e 20 53 |Ymin, or| Ymax. S|
|00003030| 63 61 6c 65 20 69 73 20 | 63 6f 6e 74 72 6f 6c 6c |cale is |controll|
|00003040| 65 64 20 62 79 20 73 70 | 65 63 69 61 6c 20 76 61 |ed by sp|ecial va|
|00003050| 72 69 61 62 6c 65 73 20 | 22 5a 6d 69 6e 22 20 61 |riables |"Zmin" a|
|00003060| 6e 64 20 22 5a 6d 61 78 | 22 2e 20 49 66 20 5a 6d |nd "Zmax|". If Zm|
|00003070| 69 6e 20 61 6e 64 2f 6f | 72 20 5a 6d 61 78 20 61 |in and/o|r Zmax a|
|00003080| 72 65 20 6e 6f 74 20 73 | 70 65 63 69 66 69 65 64 |re not s|pecified|
|00003090| 20 4d 61 74 68 50 61 64 | 20 77 69 6c 6c 20 75 73 | MathPad| will us|
|000030a0| 65 20 5a 6c 6f 20 61 6e | 64 2f 6f 72 20 5a 68 69 |e Zlo an|d/or Zhi|
|000030b0| 20 66 72 6f 6d 20 74 68 | 65 20 70 72 65 76 69 6f | from th|e previo|
|000030c0| 75 73 20 65 76 61 6c 75 | 61 74 69 6f 6e 2e 20 44 |us evalu|ation. D|
|000030d0| 69 73 70 6c 61 79 20 74 | 79 70 65 20 69 73 20 63 |isplay t|ype is c|
|000030e0| 6f 6e 74 72 6f 6c 6c 65 | 64 20 62 79 20 74 68 65 |ontrolle|d by the|
|000030f0| 20 49 6d 61 67 65 2e 2e | 2e 20 6d 65 6e 75 20 69 | Image..|. menu i|
|00003100| 74 65 6d 2e 20 46 6f 72 | 20 6d 6f 72 65 20 69 6e |tem. For| more in|
|00003110| 66 6f 72 6d 61 74 69 6f | 6e 20 73 65 65 20 74 68 |formatio|n see th|
|00003120| 65 20 66 69 6c 65 20 22 | 49 6d 61 67 65 73 22 0d |e file "|Images".|
|00003130| 0d 20 20 61 72 72 5b 69 | 2c 6a 5d 20 3d 20 69 2b |. arr[i|,j] = i+|
|00003140| 6a 20 20 64 69 6d 5b 31 | 30 2c 31 30 5d 0d 20 20 |j dim[1|0,10]. |
|00003150| 5a 6d 69 6e 3d 32 3b 20 | 5a 6d 61 78 3d 32 30 0d |Zmin=2; |Zmax=20.|
|00003160| 20 20 69 6d 61 67 65 20 | 61 72 72 0d 0d 2d 2d 2d | image |arr..---|
|00003170| 2d 2d 2d 2d 2d 2d 20 41 | 73 73 69 67 6e 6d 65 6e |------ A|ssignmen|
|00003180| 74 73 0d 2d 2d 20 54 68 | 65 20 61 73 73 69 67 6e |ts.-- Th|e assign|
|00003190| 6d 65 6e 74 20 6f 70 65 | 72 61 74 6f 72 20 3a 3d |ment ope|rator :=|
|000031a0| 20 65 76 61 6c 75 61 74 | 65 73 20 74 68 65 20 72 | evaluat|es the r|
|000031b0| 69 67 68 74 20 68 61 6e | 64 20 73 69 64 65 20 65 |ight han|d side e|
|000031c0| 78 70 72 65 73 73 69 6f | 6e 20 61 6e 64 20 72 65 |xpressio|n and re|
|000031d0| 70 6c 61 63 65 73 20 61 | 6e 79 20 70 72 65 76 69 |places a|ny previ|
|000031e0| 6f 75 73 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 6f |ous defi|nition o|
|000031f0| 66 20 74 68 65 20 6c 65 | 66 74 20 68 61 6e 64 20 |f the le|ft hand |
|00003200| 76 61 72 69 61 62 6c 65 | 20 77 69 74 68 20 74 68 |variable| with th|
|00003210| 65 20 72 65 73 75 6c 74 | 2e 20 41 63 63 65 73 73 |e result|. Access|
|00003220| 69 6e 67 20 61 6e 20 61 | 73 73 69 67 6e 65 64 20 |ing an a|ssigned |
|00003230| 76 61 72 69 61 62 6c 65 | 20 67 69 76 65 73 20 69 |variable| gives i|
|00003240| 74 73 20 63 75 72 72 65 | 6e 74 20 76 61 6c 75 65 |ts curre|nt value|
|00003250| 20 61 6e 64 20 64 6f 65 | 73 20 6e 6f 74 20 72 65 | and doe|s not re|
|00003260| 65 76 61 6c 75 61 74 65 | 20 74 68 65 20 65 78 70 |evaluate| the exp|
|00003270| 72 65 73 73 69 6f 6e 2e | 20 41 73 73 69 67 6e 65 |ression.| Assigne|
|00003280| 64 20 76 61 72 69 61 62 | 6c 65 73 20 64 6f 20 6e |d variab|les do n|
|00003290| 6f 74 20 6e 65 63 65 73 | 73 61 72 69 6c 79 20 68 |ot neces|sarily h|
|000032a0| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 76 61 6c |ave the |same val|
|000032b0| 75 65 20 65 76 65 72 79 | 77 68 65 72 65 20 69 6e |ue every|where in|
|000032c0| 20 74 68 65 20 74 65 78 | 74 2e 20 54 68 69 73 20 | the tex|t. This |
|000032d0| 64 69 66 66 65 72 73 20 | 66 72 6f 6d 20 3d 20 77 |differs |from = w|
|000032e0| 68 69 63 68 20 67 69 76 | 65 73 20 61 20 73 69 6e |hich giv|es a sin|
|000032f0| 67 6c 65 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 6f |gle defi|nition o|
|00003300| 66 20 68 6f 77 20 74 6f | 20 63 61 6c 63 75 6c 61 |f how to| calcula|
|00003310| 74 65 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |te the v|alue of |
|00003320| 61 20 76 61 72 69 61 62 | 6c 65 2e 20 0d 0d 20 20 |a variab|le. .. |
|00003330| 61 61 3a 3d 33 3a 0d 20 | 20 61 61 3a 33 2e 30 0d |aa:=3:. | aa:3.0.|
|00003340| 20 20 61 61 3a 3d 61 61 | 2b 32 3a 0d 20 20 61 61 | aa:=aa|+2:. aa|
|00003350| 3a 35 2e 30 0d 20 20 61 | 61 3a 3d 7b 31 2c 32 2c |:5.0. a|a:={1,2,|
|00003360| 61 61 7d 3a 0d 20 20 61 | 61 3a 7b 31 2e 30 2c 32 |aa}:. a|a:{1.0,2|
|00003370| 2e 30 2c 35 2e 30 7d 0d | 20 20 61 61 5b 32 5d 3a |.0,5.0}.| aa[2]:|
|00003380| 3d 37 2e 36 3a 0d 20 20 | 61 61 3a 7b 31 2e 30 2c |=7.6:. |aa:{1.0,|
|00003390| 37 2e 36 2c 35 2e 30 7d | 0d 0d 2d 2d 20 41 73 73 |7.6,5.0}|..-- Ass|
|000033a0| 69 67 6e 6d 65 6e 74 73 | 20 63 61 6e 20 6f 6e 6c |ignments| can onl|
|000033b0| 79 20 62 65 20 64 6f 6e | 65 20 74 6f 20 73 69 6d |y be don|e to sim|
|000033c0| 70 6c 65 20 67 6c 6f 62 | 61 6c 20 76 61 72 69 61 |ple glob|al varia|
|000033d0| 62 6c 65 73 2e 0d 2d 2d | 20 45 6e 74 69 72 65 20 |bles..--| Entire |
|000033e0| 61 72 72 61 79 73 20 6d | 61 79 20 62 65 20 61 73 |arrays m|ay be as|
|000033f0| 73 69 67 6e 65 64 20 28 | 69 66 20 74 68 65 79 20 |signed (|if they |
|00003400| 61 72 65 20 66 69 6e 69 | 74 65 29 2e 0d 2d 2d 20 |are fini|te)..-- |
|00003410| 41 73 73 69 67 6e 6d 65 | 6e 74 73 20 74 6f 20 61 |Assignme|nts to a|
|00003420| 72 72 61 79 20 65 6c 65 | 6d 65 6e 74 73 20 61 72 |rray ele|ments ar|
|00003430| 65 20 70 65 72 6d 69 74 | 74 65 64 20 69 6e 20 72 |e permit|ted in r|
|00003440| 65 73 74 72 69 63 74 65 | 64 20 63 61 73 65 73 2e |estricte|d cases.|
|00003450| 20 41 20 73 69 6e 67 6c | 65 20 76 61 6c 75 65 20 | A singl|e value |
|00003460| 63 61 6e 20 62 65 20 61 | 73 73 69 67 6e 65 64 20 |can be a|ssigned |
|00003470| 74 6f 20 61 6e 20 65 6c | 65 6d 65 6e 74 20 6f 66 |to an el|ement of|
|00003480| 20 61 6e 20 61 72 72 61 | 79 20 74 68 61 74 20 68 | an arra|y that h|
|00003490| 61 73 20 70 72 65 76 69 | 6f 75 73 6c 79 20 62 65 |as previ|ously be|
|000034a0| 65 6e 20 69 6e 69 74 69 | 61 6c 69 7a 65 64 20 62 |en initi|alized b|
|000034b0| 79 20 61 73 73 69 67 6e | 6d 65 6e 74 2e 0d 2d 2d |y assign|ment..--|
|000034c0| 20 54 68 65 20 72 65 73 | 75 6c 74 20 6f 66 20 74 | The res|ult of t|
|000034d0| 68 65 20 3a 3d 20 6f 70 | 65 72 61 74 69 6f 6e 20 |he := op|eration |
|000034e0| 69 74 73 65 6c 66 20 69 | 73 20 61 6c 77 61 79 73 |itself i|s always|
|000034f0| 20 75 6e 6b 6e 6f 77 6e | 2e 20 49 66 20 79 6f 75 | unknown|. If you|
|00003500| 20 77 69 73 68 20 74 6f | 20 61 63 63 65 73 73 20 | wish to| access |
|00003510| 74 68 65 20 76 61 6c 75 | 65 20 79 6f 75 20 6d 75 |the valu|e you mu|
|00003520| 73 74 20 75 73 65 20 74 | 68 65 20 76 61 72 69 61 |st use t|he varia|
|00003530| 62 6c 65 20 6e 61 6d 65 | 2e 20 54 68 69 73 20 69 |ble name|. This i|
|00003540| 73 20 64 6f 6e 65 20 73 | 6f 20 74 68 61 74 20 6d |s done s|o that m|
|00003550| 75 6c 74 69 70 6c 65 20 | 61 73 73 69 67 6e 6d 65 |ultiple |assignme|
|00003560| 6e 74 73 20 63 61 6e 20 | 62 65 20 70 65 72 66 6f |nts can |be perfo|
|00003570| 72 6d 65 64 20 75 73 69 | 6e 67 20 63 6f 6d 6d 61 |rmed usi|ng comma|
|00003580| 20 73 65 70 61 72 61 74 | 65 64 20 6c 69 73 74 73 | separat|ed lists|
|00003590| 2e 0d 2d 2d 20 49 6e 20 | 63 61 73 65 73 20 69 6e |..-- In |cases in|
|000035a0| 76 6f 6c 76 69 6e 67 20 | 61 73 73 69 67 6e 6d 65 |volving |assignme|
|000035b0| 6e 74 73 20 69 74 20 69 | 73 20 73 6f 6d 65 74 69 |nts it i|s someti|
|000035c0| 6d 65 73 20 64 65 73 69 | 72 61 62 6c 65 20 74 6f |mes desi|rable to|
|000035d0| 20 68 61 76 65 20 65 76 | 61 6c 75 61 74 69 6f 6e | have ev|aluation|
|000035e0| 20 6f 66 20 61 20 73 65 | 71 75 65 6e 63 65 20 63 | of a se|quence c|
|000035f0| 6f 6e 74 69 6e 75 65 20 | 65 76 65 6e 20 69 66 20 |ontinue |even if |
|00003600| 61 20 74 72 75 65 20 22 | 77 68 65 6e 22 20 63 6c |a true "|when" cl|
|00003610| 61 75 73 65 20 69 73 20 | 65 6e 63 6f 75 6e 74 65 |ause is |encounte|
|00003620| 72 65 64 2e 20 49 6e 20 | 74 68 65 73 65 20 63 61 |red. In |these ca|
|00003630| 73 65 73 20 61 20 64 6f | 75 62 6c 65 20 63 6f 6d |ses a do|uble com|
|00003640| 6d 61 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |ma can b|e used t|
|00003650| 6f 20 73 70 65 63 69 66 | 79 20 74 68 61 74 20 65 |o specif|y that e|
|00003660| 76 61 6c 75 61 74 69 6f | 6e 20 73 68 6f 75 6c 64 |valuatio|n should|
|00003670| 20 63 6f 6e 74 69 6e 75 | 65 20 72 65 67 61 72 64 | continu|e regard|
|00003680| 6c 65 73 73 20 6f 66 20 | 74 68 65 20 70 72 65 76 |less of |the prev|
|00003690| 69 6f 75 73 20 63 6c 61 | 75 73 65 2e 0d 0d 61 61 |ious cla|use...aa|
|000036a0| 20 77 68 65 6e 20 31 3d | 31 2c 34 32 3a 7b 31 2e | when 1=|1,42:{1.|
|000036b0| 30 2c 37 2e 36 2c 35 2e | 30 7d 0d 7a 7a 20 77 68 |0,7.6,5.|0}.zz wh|
|000036c0| 65 6e 20 31 3d 31 2c 2c | 34 32 3a 34 32 2e 30 0d |en 1=1,,|42:42.0.|
|000036d0| 0d 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 49 74 65 |..------|---- Ite|
|000036e0| 72 61 74 69 6f 6e 0d 2d | 2d 20 54 68 65 20 27 77 |ration.-|- The 'w|
|000036f0| 68 69 6c 65 27 20 6f 70 | 65 72 61 74 6f 72 20 63 |hile' op|erator c|
|00003700| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 65 76 |an be us|ed to ev|
|00003710| 61 6c 75 61 74 65 20 61 | 6e 20 65 78 70 72 65 73 |aluate a|n expres|
|00003720| 73 69 6f 6e 20 72 65 70 | 65 61 74 65 64 6c 79 2e |sion rep|eatedly.|
|00003730| 20 54 68 65 20 63 6f 6e | 64 69 74 69 6f 6e 20 69 | The con|dition i|
|00003740| 73 20 63 68 65 63 6b 65 | 64 20 62 65 66 6f 72 65 |s checke|d before|
|00003750| 20 65 61 63 68 20 65 76 | 61 6c 75 61 74 69 6f 6e | each ev|aluation|
|00003760| 2e 20 4e 6f 74 65 3a 20 | 69 20 61 6e 64 20 6b 20 |. Note: |i and k |
|00003770| 61 72 65 20 67 6c 6f 62 | 61 6c 2e 0d 0d 66 61 63 |are glob|al...fac|
|00003780| 74 6f 72 69 61 6c 28 6e | 29 20 3d 20 69 3a 3d 31 |torial(n|) = i:=1|
|00003790| 2c 6d 3a 3d 31 2c 28 69 | 3a 3d 69 2b 31 2c 6d 3a |,m:=1,(i|:=i+1,m:|
|000037a0| 3d 6d 2a 69 29 20 77 68 | 69 6c 65 20 69 3c 6e 2c |=m*i) wh|ile i<n,|
|000037b0| 20 6d 0d 66 61 63 74 6f | 72 69 61 6c 28 31 30 30 | m.facto|rial(100|
|000037c0| 29 3a 39 2e 33 65 2b 31 | 35 37 0d 0d 2d 2d 20 53 |):9.3e+1|57..-- S|
|000037d0| 65 65 20 74 68 65 20 66 | 69 6c 65 20 22 50 72 6f |ee the f|ile "Pro|
|000037e0| 67 72 61 6d 6d 69 6e 67 | 22 20 66 6f 72 20 6d 6f |gramming|" for mo|
|000037f0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |re infor|mation o|
|00003800| 6e 20 61 73 73 69 67 6e | 6d 65 6e 74 73 20 61 6e |n assign|ments an|
|00003810| 64 20 69 74 65 72 61 74 | 69 6f 6e 2e 0d 0d 2d 2d |d iterat|ion...--|
|00003820| 2d 2d 2d 2d 2d 2d 2d 2d | 20 49 6e 63 6c 75 64 65 |--------| Include|
|00003830| 20 66 69 6c 65 73 0d 2d | 2d 20 44 65 66 69 6e 69 | files.-|- Defini|
|00003840| 74 69 6f 6e 73 20 69 6e | 20 6f 6e 65 20 66 69 6c |tions in| one fil|
|00003850| 65 20 63 61 6e 20 62 65 | 20 73 68 61 72 65 64 20 |e can be| shared |
|00003860| 62 79 20 6f 74 68 65 72 | 20 66 69 6c 65 73 2e 20 |by other| files. |
|00003870| 41 20 64 6f 63 75 6d 65 | 6e 74 20 63 6f 6e 74 61 |A docume|nt conta|
|00003880| 69 6e 69 6e 67 20 74 68 | 65 20 63 6f 6d 6d 61 6e |ining th|e comman|
|00003890| 64 20 20 69 6e 63 6c 75 | 64 65 20 22 70 61 74 68 |d inclu|de "path|
|000038a0| 6e 61 6d 65 22 20 20 77 | 69 6c 6c 20 6f 70 65 6e |name" w|ill open|
|000038b0| 20 61 6e 64 20 72 65 61 | 64 20 64 65 66 69 6e 69 | and rea|d defini|
|000038c0| 74 69 6f 6e 73 20 66 72 | 6f 6d 20 74 68 65 20 73 |tions fr|om the s|
|000038d0| 70 65 63 69 66 69 65 64 | 20 66 69 6c 65 2e 20 54 |pecified| file. T|
|000038e0| 68 65 20 66 6f 6c 64 65 | 72 20 6f 66 20 74 68 65 |he folde|r of the|
|000038f0| 20 73 6f 75 72 63 65 20 | 64 6f 63 75 6d 65 6e 74 | source |document|
|00003900| 20 77 69 6c 6c 20 62 65 | 20 73 65 61 72 63 68 65 | will be| searche|
|00003910| 64 20 66 69 72 73 74 20 | 61 6e 64 20 74 68 65 6e |d first |and then|
|00003920| 20 74 68 65 20 66 6f 6c | 64 65 72 20 63 6f 6e 74 | the fol|der cont|
|00003930| 61 69 6e 69 6e 67 20 74 | 68 65 20 4d 61 74 68 50 |aining t|he MathP|
|00003940| 61 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2e 20 |ad appli|cation. |
|00003950| 46 75 6c 6c 20 6f 72 20 | 72 65 6c 61 74 69 76 65 |Full or |relative|
|00003960| 20 70 61 74 68 20 6e 61 | 6d 65 73 20 61 72 65 20 | path na|mes are |
|00003970| 61 6c 6c 6f 77 65 64 2e | 20 59 6f 75 20 6d 61 79 |allowed.| You may|
|00003980| 20 77 61 6e 74 20 74 6f | 20 6d 61 6b 65 20 61 20 | want to| make a |
|00003990| 66 6f 6c 64 65 72 20 63 | 6f 6e 74 61 69 6e 69 6e |folder c|ontainin|
|000039a0| 67 20 79 6f 75 72 20 66 | 61 76 6f 72 69 74 65 20 |g your f|avorite |
|000039b0| 69 6e 63 6c 75 64 65 20 | 66 69 6c 65 73 20 61 6e |include |files an|
|000039c0| 64 20 70 75 74 20 69 74 | 20 69 6e 20 4d 61 74 68 |d put it| in Math|
|000039d0| 50 61 64 27 73 20 66 6f | 6c 64 65 72 2e 20 54 68 |Pad's fo|lder. Th|
|000039e0| 65 6e 20 61 6e 79 20 64 | 6f 63 75 6d 65 6e 74 20 |en any d|ocument |
|000039f0| 63 61 6e 20 61 63 63 65 | 73 73 20 74 68 65 6d 20 |can acce|ss them |
|00003a00| 77 69 74 68 20 61 20 73 | 68 6f 72 74 20 72 65 6c |with a s|hort rel|
|00003a10| 61 74 69 76 65 20 70 61 | 74 68 20 6e 61 6d 65 2e |ative pa|th name.|
|00003a20| 0d 0d 2d 2d 20 41 20 77 | 69 6e 64 6f 77 20 69 73 |..-- A w|indow is|
|00003a30| 20 6f 70 65 6e 65 64 20 | 66 6f 72 20 65 61 63 68 | opened |for each|
|00003a40| 20 69 6e 63 6c 75 64 65 | 64 20 66 69 6c 65 2e 20 | include|d file. |
|00003a50| 54 68 69 73 20 66 69 6c | 65 20 63 61 6e 20 62 65 |This fil|e can be|
|00003a60| 20 76 69 65 77 65 64 20 | 61 6e 64 20 65 64 69 74 | viewed |and edit|
|00003a70| 65 64 20 6c 69 6b 65 20 | 61 6e 79 20 6f 74 68 65 |ed like |any othe|
|00003a80| 72 20 4d 61 74 68 50 61 | 64 20 64 6f 63 75 6d 65 |r MathPa|d docume|
|00003a90| 6e 74 2e 20 41 6e 79 20 | 63 68 61 6e 67 65 73 20 |nt. Any |changes |
|00003aa0| 6d 61 64 65 20 77 69 6c | 6c 20 62 65 20 73 65 65 |made wil|l be see|
|00003ab0| 6e 20 62 79 20 74 68 65 | 20 70 61 72 65 6e 74 20 |n by the| parent |
|00003ac0| 64 6f 63 75 6d 65 6e 74 | 20 77 68 65 6e 20 74 68 |document| when th|
|00003ad0| 65 20 70 61 72 65 6e 74 | 20 69 73 20 72 65 65 76 |e parent| is reev|
|00003ae0| 61 6c 75 61 74 65 64 2e | 20 49 6e 63 6c 75 64 65 |aluated.| Include|
|00003af0| 20 66 69 6c 65 73 20 73 | 68 6f 75 6c 64 20 63 6f | files s|hould co|
|00003b00| 6e 74 61 69 6e 20 6f 6e | 6c 79 20 64 65 66 69 6e |ntain on|ly defin|
|00003b10| 69 74 69 6f 6e 73 2e 20 | 54 68 65 79 20 63 61 6e |itions. |They can|
|00003b20| 20 63 6f 6e 74 61 69 6e | 20 6f 74 68 65 72 20 69 | contain| other i|
|00003b30| 6e 63 6c 75 64 65 20 63 | 6f 6d 6d 61 6e 64 73 2e |nclude c|ommands.|
|00003b40| 0d 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 45 78 74 |..------|---- Ext|
|00003b50| 65 72 6e 61 6c 6c 79 20 | 63 6f 6d 70 69 6c 65 64 |ernally |compiled|
|00003b60| 20 66 75 6e 63 74 69 6f | 6e 73 0d 2d 2d 20 4d 61 | functio|ns.-- Ma|
|00003b70| 74 68 50 61 64 20 58 46 | 75 6e 20 66 69 6c 65 73 |thPad XF|un files|
|00003b80| 20 70 6c 61 63 65 64 20 | 69 6e 20 74 68 65 20 73 | placed |in the s|
|00003b90| 61 6d 65 20 66 6f 6c 64 | 65 72 20 61 73 20 74 68 |ame fold|er as th|
|00003ba0| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 77 69 |e applic|ation wi|
|00003bb0| 6c 6c 20 62 65 20 61 64 | 64 65 64 20 74 6f 20 74 |ll be ad|ded to t|
|00003bc0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 6d 65 6e 75 |he funct|ion menu|
|00003bd0| 2e 20 54 68 69 73 20 61 | 6c 6c 6f 77 73 20 70 72 |. This a|llows pr|
|00003be0| 6f 67 72 61 6d 6d 65 72 | 73 20 74 6f 20 61 64 64 |ogrammer|s to add|
|00003bf0| 20 66 75 6e 63 74 69 6f | 6e 73 20 77 72 69 74 74 | functio|ns writt|
|00003c00| 65 6e 20 69 6e 20 43 20 | 61 6e 64 20 63 6f 6d 70 |en in C |and comp|
|00003c10| 69 6c 65 64 20 61 73 20 | 63 6f 64 65 20 72 65 73 |iled as |code res|
|00003c20| 6f 75 72 63 65 73 2e 20 | 49 74 65 6d 73 20 63 61 |ources. |Items ca|
|00003c30| 6e 20 61 6c 73 6f 20 62 | 65 20 61 64 64 65 64 20 |n also b|e added |
|00003c40| 74 6f 20 4d 61 74 68 50 | 61 64 27 73 20 48 65 6c |to MathP|ad's Hel|
|00003c50| 70 20 6d 65 6e 75 2e 20 | 53 65 65 20 74 68 65 20 |p menu. |See the |
|00003c60| 66 6f 6c 64 65 72 20 22 | 58 46 75 6e 73 22 20 66 |folder "|XFuns" f|
|00003c70| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|00003c80| 69 6f 6e 2e 0d 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ion...--|--------|
|00003c90| 20 54 65 63 68 6e 69 63 | 61 6c 20 44 65 74 61 69 | Technic|al Detai|
|00003ca0| 6c 73 0d 2d 2d 20 20 46 | 69 6c 65 20 66 6f 72 6d |ls.-- F|ile form|
|00003cb0| 61 74 0d 2d 2d 20 4d 61 | 74 68 50 61 64 20 64 6f |at.-- Ma|thPad do|
|00003cc0| 63 75 6d 65 6e 74 73 20 | 61 72 65 20 67 65 6e 65 |cuments |are gene|
|00003cd0| 72 69 63 20 54 45 58 54 | 20 66 69 6c 65 73 2e 20 |ric TEXT| files. |
|00003ce0| 4f 70 74 69 6f 6e 20 61 | 6e 64 20 70 6c 6f 74 20 |Option a|nd plot |
|00003cf0| 6c 61 62 65 6c 20 69 6e | 66 6f 72 6d 61 74 69 6f |label in|formatio|
|00003d00| 6e 20 69 73 20 73 74 6f | 72 65 64 20 69 6e 20 74 |n is sto|red in t|
|00003d10| 68 65 20 72 65 73 6f 75 | 72 63 65 20 66 6f 72 6b |he resou|rce fork|
|00003d20| 2e 20 54 68 65 20 72 65 | 73 6f 75 72 63 65 20 66 |. The re|source f|
|00003d30| 6f 72 6b 20 69 73 20 6e | 6f 74 20 6d 6f 64 69 66 |ork is n|ot modif|
|00003d40| 69 65 64 20 75 6e 74 69 | 6c 20 74 68 65 20 66 69 |ied unti|l the fi|
|00003d50| 6c 65 20 69 73 20 73 61 | 76 65 64 2e 20 54 45 58 |le is sa|ved. TEX|
|00003d60| 54 20 66 69 6c 65 73 20 | 63 72 65 61 74 65 64 20 |T files |created |
|00003d70| 62 79 20 6f 74 68 65 72 | 20 61 70 70 6c 69 63 61 |by other| applica|
|00003d80| 74 69 6f 6e 73 20 6d 61 | 79 20 62 65 20 6f 70 65 |tions ma|y be ope|
|00003d90| 6e 65 64 20 62 79 20 4d | 61 74 68 50 61 64 20 61 |ned by M|athPad a|
|00003da0| 6e 64 20 76 69 63 65 20 | 76 65 72 73 61 2e 20 4d |nd vice |versa. M|
|00003db0| 61 74 68 50 61 64 20 61 | 75 74 6f 6d 61 74 69 63 |athPad a|utomatic|
|00003dc0| 61 6c 6c 79 20 63 6f 6e | 76 65 72 74 73 20 6c 69 |ally con|verts li|
|00003dd0| 6e 65 20 74 65 72 6d 69 | 6e 61 74 6f 72 73 20 66 |ne termi|nators f|
|00003de0| 72 6f 6d 20 55 4e 49 58 | 20 6f 72 20 50 43 20 66 |rom UNIX| or PC f|
|00003df0| 69 6c 65 73 20 74 6f 20 | 4d 61 63 20 66 6f 72 6d |iles to |Mac form|
|00003e00| 61 74 20 77 68 65 6e 20 | 69 74 20 72 65 61 64 73 |at when |it reads|
|00003e10| 20 69 6e 20 61 20 64 6f | 63 75 6d 65 6e 74 2e 0d | in a do|cument..|
|00003e20| 2d 2d 20 44 6f 63 75 6d | 65 6e 74 73 20 61 72 65 |-- Docum|ents are|
|00003e30| 20 6c 69 6d 69 74 65 64 | 20 74 6f 20 61 20 6d 61 | limited| to a ma|
|00003e40| 78 69 6d 75 6d 20 73 69 | 7a 65 20 6f 66 20 33 30 |ximum si|ze of 30|
|00003e50| 4b 20 62 79 74 65 73 2e | 20 44 61 74 61 20 66 69 |K bytes.| Data fi|
|00003e60| 6c 65 73 20 63 61 6e 20 | 62 65 20 6c 61 72 67 65 |les can |be large|
|00003e70| 72 20 74 68 61 6e 20 33 | 30 4b 2e 20 53 65 65 20 |r than 3|0K. See |
|00003e80| 22 44 61 74 61 66 69 6c | 65 73 22 2e 0d 0d 2d 2d |"Datafil|es"...--|
|00003e90| 20 20 4d 65 6d 6f 72 79 | 20 75 73 61 67 65 0d 2d | Memory| usage.-|
|00003ea0| 2d 20 4d 61 74 68 50 61 | 64 27 73 20 6d 65 6d 6f |- MathPa|d's memo|
|00003eb0| 72 79 20 72 65 71 75 69 | 72 65 6d 65 6e 74 73 20 |ry requi|rements |
|00003ec0| 63 61 6e 20 76 61 72 79 | 20 77 69 64 65 6c 79 20 |can vary| widely |
|00003ed0| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 75 73 61 |dependin|g on usa|
|00003ee0| 67 65 2e 20 53 69 6d 70 | 6c 65 20 63 61 6c 63 75 |ge. Simp|le calcu|
|00003ef0| 6c 61 74 69 6f 6e 73 20 | 77 69 74 68 20 73 6d 61 |lations |with sma|
|00003f00| 6c 6c 20 64 6f 63 75 6d | 65 6e 74 73 20 75 73 65 |ll docum|ents use|
|00003f10| 20 76 65 72 79 20 6c 69 | 74 74 6c 65 20 6d 65 6d | very li|ttle mem|
|00003f20| 6f 72 79 2e 20 41 64 64 | 69 6e 67 20 58 46 75 6e |ory. Add|ing XFun|
|00003f30| 73 2c 20 61 73 73 69 67 | 6e 69 6e 67 20 6c 61 72 |s, assig|ning lar|
|00003f40| 67 65 20 61 72 72 61 79 | 73 2c 20 6f 70 65 6e 69 |ge array|s, openi|
|00003f50| 6e 67 20 73 65 76 65 72 | 61 6c 20 6c 61 72 67 65 |ng sever|al large|
|00003f60| 20 64 6f 63 75 6d 65 6e | 74 73 2c 20 63 6f 70 79 | documen|ts, copy|
|00003f70| 69 6e 67 20 6f 72 20 70 | 61 73 74 69 6e 67 20 63 |ing or p|asting c|
|00003f80| 6f 6d 70 6c 65 78 20 67 | 72 61 70 68 69 63 73 20 |omplex g|raphics |
|00003f90| 65 74 63 2e 20 63 61 6e | 20 69 6e 63 72 65 61 73 |etc. can| increas|
|00003fa0| 65 20 6d 65 6d 6f 72 79 | 20 72 65 71 75 69 72 65 |e memory| require|
|00003fb0| 6d 65 6e 74 73 20 63 6f | 6e 73 69 64 65 72 61 62 |ments co|nsiderab|
|00003fc0| 6c 79 2e 20 4d 61 74 68 | 50 61 64 20 61 74 74 65 |ly. Math|Pad atte|
|00003fd0| 6d 70 74 73 20 74 6f 20 | 77 61 72 6e 20 79 6f 75 |mpts to |warn you|
|00003fe0| 20 6f 66 20 6c 6f 77 20 | 6d 65 6d 6f 72 79 20 63 | of low |memory c|
|00003ff0| 6f 6e 64 69 74 69 6f 6e | 73 20 62 75 74 20 69 66 |ondition|s but if|
|00004000| 20 79 6f 75 20 66 69 6e | 64 20 74 68 61 74 20 79 | you fin|d that y|
|00004010| 6f 75 20 61 72 65 20 72 | 75 6e 6e 69 6e 67 20 6e |ou are r|unning n|
|00004020| 65 61 72 20 74 68 65 20 | 6c 69 6d 69 74 2c 20 69 |ear the |limit, i|
|00004030| 74 20 69 73 20 62 65 73 | 74 20 74 6f 20 75 73 65 |t is bes|t to use|
|00004040| 20 74 68 65 20 46 69 6e | 64 65 72 20 74 6f 20 69 | the Fin|der to i|
|00004050| 6e 63 72 65 61 73 65 20 | 74 68 65 20 73 69 7a 65 |ncrease |the size|
|00004060| 2e 0d 2d 2d 20 59 6f 75 | 20 63 61 6e 20 63 68 65 |..-- You| can che|
|00004070| 63 6b 20 6d 65 6d 6f 72 | 79 20 75 73 61 67 65 20 |ck memor|y usage |
|00004080| 77 69 74 68 20 74 68 65 | 20 41 62 6f 75 74 20 4d |with the| About M|
|00004090| 61 74 68 50 61 64 2e 2e | 2e 20 62 6f 78 2e 20 49 |athPad..|. box. I|
|000040a0| 66 20 74 68 65 20 75 6e | 75 73 65 64 20 73 70 61 |f the un|used spa|
|000040b0| 63 65 20 64 72 6f 70 73 | 20 62 65 6c 6f 77 20 31 |ce drops| below 1|
|000040c0| 30 4b 2c 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 69 |0K, you |should i|
|000040d0| 6e 63 72 65 61 73 65 20 | 4d 61 74 68 50 61 64 27 |ncrease |MathPad'|
|000040e0| 73 20 73 69 7a 65 20 61 | 6c 6c 6f 63 61 74 69 6f |s size a|llocatio|
|000040f0| 6e 2e 20 20 0d 2d 2d 20 | 44 61 74 61 20 66 69 6c |n. .-- |Data fil|
|00004100| 65 73 20 61 72 65 20 72 | 65 61 64 20 69 6e 74 6f |es are r|ead into|
|00004110| 20 74 65 6d 70 6f 72 61 | 72 79 20 6d 65 6d 6f 72 | tempora|ry memor|
|00004120| 79 2e 20 4c 61 72 67 65 | 20 64 61 74 61 20 66 69 |y. Large| data fi|
|00004130| 6c 65 73 20 63 61 6e 20 | 62 65 20 72 65 61 64 20 |les can |be read |
|00004140| 69 66 20 74 68 65 72 65 | 20 69 73 20 65 6e 6f 75 |if there| is enou|
|00004150| 67 68 20 73 79 73 74 65 | 6d 20 6d 65 6d 6f 72 79 |gh syste|m memory|
|00004160| 20 61 76 61 69 6c 61 62 | 6c 65 2e 20 49 6e 63 72 | availab|le. Incr|
|00004170| 65 61 73 69 6e 67 20 4d | 61 74 68 50 61 64 27 73 |easing M|athPad's|
|00004180| 20 73 69 7a 65 20 77 69 | 6c 6c 20 6e 6f 74 20 61 | size wi|ll not a|
|00004190| 6c 6c 6f 77 20 6c 61 72 | 67 65 72 20 64 61 74 61 |llow lar|ger data|
|000041a0| 20 66 69 6c 65 73 20 62 | 75 74 20 71 75 69 74 74 | files b|ut quitt|
|000041b0| 69 6e 67 20 6f 74 68 65 | 72 20 61 70 70 6c 69 63 |ing othe|r applic|
|000041c0| 61 74 69 6f 6e 73 20 77 | 69 6c 6c 2e 0d 2d 2d 20 |ations w|ill..-- |
|000041d0| 52 65 63 75 72 73 69 76 | 65 20 66 75 6e 63 74 69 |Recursiv|e functi|
|000041e0| 6f 6e 73 20 63 61 6e 20 | 72 65 71 75 69 72 65 20 |ons can |require |
|000041f0| 6c 61 72 67 65 20 61 6d | 6f 75 6e 74 73 20 6f 66 |large am|ounts of|
|00004200| 20 6d 65 6d 6f 72 79 20 | 62 75 74 20 69 6e 63 72 | memory |but incr|
|00004210| 65 61 73 69 6e 67 20 4d | 61 74 68 50 61 64 27 73 |easing M|athPad's|
|00004220| 20 73 69 7a 65 20 70 61 | 73 74 20 61 20 63 65 72 | size pa|st a cer|
|00004230| 74 61 69 6e 20 70 6f 69 | 6e 74 20 77 69 6c 6c 20 |tain poi|nt will |
|00004240| 6e 6f 74 20 61 6c 6c 6f | 77 20 64 65 65 70 65 72 |not allo|w deeper|
|00004250| 20 72 65 63 75 72 73 69 | 6f 6e 2e 20 54 68 69 73 | recursi|on. This|
|00004260| 20 69 73 20 62 65 63 61 | 75 73 65 20 65 76 61 6c | is beca|use eval|
|00004270| 75 61 74 69 6f 6e 20 6f | 66 20 72 65 63 75 72 73 |uation o|f recurs|
|00004280| 69 76 65 20 66 75 6e 63 | 74 69 6f 6e 73 20 61 6c |ive func|tions al|
|00004290| 73 6f 20 75 73 65 73 20 | 75 70 20 73 74 61 63 6b |so uses |up stack|
|000042a0| 20 73 70 61 63 65 20 77 | 68 69 63 68 20 68 61 73 | space w|hich has|
|000042b0| 20 61 20 66 69 78 65 64 | 20 61 6c 6c 6f 63 61 74 | a fixed| allocat|
|000042c0| 69 6f 6e 20 73 69 7a 65 | 2e 0d 0d 2d 2d 20 20 49 |ion size|...-- I|
|000042d0| 66 20 79 6f 75 20 77 61 | 6e 74 20 4d 61 74 68 50 |f you wa|nt MathP|
|000042e0| 61 64 20 74 6f 20 61 63 | 74 20 6c 69 6b 65 20 61 |ad to ac|t like a|
|000042f0| 20 64 65 73 6b 20 61 63 | 63 65 73 73 6f 72 79 2c | desk ac|cessory,|
|00004300| 20 74 75 72 6e 20 6f 6e | 20 74 68 65 20 22 53 61 | turn on| the "Sa|
|00004310| 76 65 20 61 6e 64 20 51 | 75 69 74 22 20 6f 70 74 |ve and Q|uit" opt|
|00004320| 69 6f 6e 20 76 69 61 20 | 74 68 65 20 4f 70 74 69 |ion via |the Opti|
|00004330| 6f 6e 73 2e 2e 2e 20 6d | 65 6e 75 20 61 6e 64 20 |ons... m|enu and |
|00004340| 73 61 76 65 20 61 20 64 | 6f 63 75 6d 65 6e 74 20 |save a d|ocument |
|00004350| 69 6e 20 74 68 65 20 41 | 70 70 6c 65 20 4d 65 6e |in the A|pple Men|
|00004360| 75 20 49 74 65 6d 73 20 | 66 6f 6c 64 65 72 2e 20 |u Items |folder. |
|00004370| 46 6f 72 20 64 6f 63 75 | 6d 65 6e 74 73 20 73 61 |For docu|ments sa|
|00004380| 76 65 64 20 77 69 74 68 | 20 74 68 69 73 20 6f 70 |ved with| this op|
|00004390| 74 69 6f 6e 20 6f 6e 2c | 20 63 6c 69 63 6b 69 6e |tion on,| clickin|
|000043a0| 67 20 74 68 65 20 77 69 | 6e 64 6f 77 27 73 20 63 |g the wi|ndow's c|
|000043b0| 6c 6f 73 65 20 62 6f 78 | 20 77 69 6c 6c 20 73 61 |lose box| will sa|
|000043c0| 76 65 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 74 |ve the c|urrent t|
|000043d0| 65 78 74 20 61 6e 64 20 | 71 75 69 74 20 74 68 65 |ext and |quit the|
|000043e0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2e 20 54 68 | applica|tion. Th|
|000043f0| 69 73 20 69 73 20 73 69 | 6d 69 6c 61 72 20 74 6f |is is si|milar to|
|00004400| 20 74 68 65 20 77 61 79 | 20 64 65 73 6b 20 61 63 | the way| desk ac|
|00004410| 63 65 73 73 6f 72 79 20 | 63 61 6c 63 75 6c 61 74 |cessory |calculat|
|00004420| 6f 72 73 20 6f 70 65 72 | 61 74 65 2e 20 54 68 65 |ors oper|ate. The|
|00004430| 20 6f 70 74 69 6f 6e 20 | 61 66 66 65 63 74 73 20 | option |affects |
|00004440| 6f 6e 6c 79 20 74 68 65 | 20 61 63 74 69 6f 6e 20 |only the| action |
|00004450| 6f 66 20 74 68 65 20 63 | 6c 6f 73 65 20 62 6f 78 |of the c|lose box|
|00004460| 2e 20 49 66 20 79 6f 75 | 20 63 68 6f 6f 73 65 20 |. If you| choose |
|00004470| 43 6c 6f 73 65 20 66 72 | 6f 6d 20 74 68 65 20 46 |Close fr|om the F|
|00004480| 69 6c 65 20 6d 65 6e 75 | 2c 20 74 68 65 20 64 6f |ile menu|, the do|
|00004490| 63 75 6d 65 6e 74 20 77 | 69 6c 6c 20 62 65 20 63 |cument w|ill be c|
|000044a0| 6c 6f 73 65 64 20 62 75 | 74 20 74 68 65 20 61 70 |losed bu|t the ap|
|000044b0| 70 6c 69 63 61 74 69 6f | 6e 20 77 69 6c 6c 20 73 |plicatio|n will s|
|000044c0| 74 61 79 20 61 63 74 69 | 76 65 2e 0d 2d 2d 20 49 |tay acti|ve..-- I|
|000044d0| 66 20 79 6f 75 20 77 61 | 6e 74 20 4d 61 74 68 50 |f you wa|nt MathP|
|000044e0| 61 64 27 73 20 63 6c 6f | 73 65 20 62 6f 78 20 74 |ad's clo|se box t|
|000044f0| 6f 20 61 63 74 20 6c 69 | 6b 65 20 6d 6f 73 74 20 |o act li|ke most |
|00004500| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2c 20 6c 65 |applicat|ions, le|
|00004510| 61 76 65 20 74 68 69 73 | 20 6f 70 74 69 6f 6e 20 |ave this| option |
|00004520| 6f 66 66 2e 0d 0d 2d 2d | 20 20 42 61 63 6b 67 72 |off...--| Backgr|
|00004530| 6f 75 6e 64 20 63 6f 6d | 70 75 74 61 74 69 6f 6e |ound com|putation|
|00004540| 0d 2d 2d 20 43 6c 69 63 | 6b 69 6e 67 20 69 6e 20 |.-- Clic|king in |
|00004550| 61 6e 6f 74 68 65 72 20 | 61 70 70 6c 69 63 61 74 |another |applicat|
|00004560| 69 6f 6e 27 73 20 77 69 | 6e 64 6f 77 20 6f 72 20 |ion's wi|ndow or |
|00004570| 74 68 65 20 64 65 73 6b | 74 6f 70 20 77 69 6c 6c |the desk|top will|
|00004580| 20 73 77 69 74 63 68 20 | 4d 61 74 68 50 61 64 20 | switch |MathPad |
|00004590| 74 6f 20 74 68 65 20 62 | 61 63 6b 67 72 6f 75 6e |to the b|ackgroun|
|000045a0| 64 20 65 76 65 6e 20 77 | 68 65 6e 20 69 74 20 69 |d even w|hen it i|
|000045b0| 73 20 62 75 73 79 20 77 | 69 74 68 20 61 20 63 6f |s busy w|ith a co|
|000045c0| 6d 70 75 74 61 74 69 6f | 6e 2e 20 4d 61 74 68 50 |mputatio|n. MathP|
|000045d0| 61 64 20 77 69 6c 6c 20 | 63 6f 6e 74 69 6e 75 65 |ad will |continue|
|000045e0| 20 63 6f 6d 70 75 74 61 | 74 69 6f 6e 20 69 6e 20 | computa|tion in |
|000045f0| 74 68 65 20 62 61 63 6b | 67 72 6f 75 6e 64 2e 0d |the back|ground..|
|00004600| 0d 2d 2d 20 20 49 6e 63 | 72 65 6d 65 6e 74 61 6c |.-- Inc|remental|
|00004610| 20 65 76 61 6c 75 61 74 | 69 6f 6e 0d 2d 2d 20 4d | evaluat|ion.-- M|
|00004620| 61 74 68 50 61 64 20 6e | 6f 72 6d 61 6c 6c 79 20 |athPad n|ormally |
|00004630| 65 76 61 6c 75 61 74 65 | 73 20 74 68 65 20 65 6e |evaluate|s the en|
|00004640| 74 69 72 65 20 64 6f 63 | 75 6d 65 6e 74 20 77 68 |tire doc|ument wh|
|00004650| 65 6e 20 74 68 65 20 65 | 6e 74 65 72 20 6b 65 79 |en the e|nter key|
|00004660| 20 69 73 20 70 72 65 73 | 73 65 64 2e 20 54 68 69 | is pres|sed. Thi|
|00004670| 73 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |s allows| you to |
|00004680| 65 64 69 74 20 61 6e 79 | 74 68 69 6e 67 20 61 6e |edit any|thing an|
|00004690| 79 77 68 65 72 65 20 69 | 6e 20 74 68 65 20 74 65 |ywhere i|n the te|
|000046a0| 78 74 20 61 6e 64 20 68 | 61 76 65 20 65 76 65 72 |xt and h|ave ever|
|000046b0| 79 74 68 69 6e 67 20 75 | 70 64 61 74 65 64 20 70 |ything u|pdated p|
|000046c0| 72 6f 70 65 72 6c 79 2e | 20 49 74 20 74 72 69 65 |roperly.| It trie|
|000046d0| 73 20 74 6f 20 74 61 6b | 65 20 61 64 76 61 6e 74 |s to tak|e advant|
|000046e0| 61 67 65 20 6f 66 20 74 | 68 65 20 66 61 63 74 20 |age of t|he fact |
|000046f0| 74 68 61 74 20 75 73 75 | 61 6c 6c 79 20 77 68 65 |that usu|ally whe|
|00004700| 6e 20 74 65 78 74 20 69 | 73 20 61 64 64 65 64 20 |n text i|s added |
|00004710| 61 74 20 74 68 65 20 76 | 65 72 79 20 65 6e 64 20 |at the v|ery end |
|00004720| 6f 66 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 20 |of the d|ocument |
|00004730| 6e 6f 20 63 68 61 6e 67 | 65 73 20 61 72 65 20 6e |no chang|es are n|
|00004740| 65 65 64 65 64 20 69 6e | 20 74 68 65 20 70 61 72 |eeded in| the par|
|00004750| 74 20 6f 66 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |t of the| documen|
|00004760| 74 20 74 68 61 74 20 68 | 61 73 20 61 6c 72 65 61 |t that h|as alrea|
|00004770| 64 79 20 62 65 65 6e 20 | 65 76 61 6c 75 61 74 65 |dy been |evaluate|
|00004780| 64 2e 0d 2d 2d 20 4d 61 | 74 68 50 61 64 20 77 69 |d..-- Ma|thPad wi|
|00004790| 6c 6c 20 68 6f 6c 64 20 | 6f 66 66 20 6f 6e 20 72 |ll hold |off on r|
|000047a0| 65 65 76 61 6c 75 61 74 | 69 6e 67 20 74 65 78 74 |eevaluat|ing text|
|000047b0| 20 74 68 61 74 20 68 61 | 73 20 62 65 65 6e 20 73 | that ha|s been s|
|000047c0| 75 63 63 65 73 73 66 75 | 6c 6c 79 20 65 76 61 6c |uccessfu|lly eval|
|000047d0| 75 61 74 65 64 2e 20 41 | 6e 79 20 65 64 69 74 20 |uated. A|ny edit |
|000047e0| 6f 74 68 65 72 20 74 68 | 61 6e 20 61 74 20 74 68 |other th|an at th|
|000047f0| 65 20 76 65 72 79 20 65 | 6e 64 20 6f 66 20 74 68 |e very e|nd of th|
|00004800| 65 20 64 6f 63 75 6d 65 | 6e 74 20 77 69 6c 6c 20 |e docume|nt will |
|00004810| 63 61 75 73 65 20 74 68 | 65 20 65 6e 74 69 72 65 |cause th|e entire|
|00004820| 20 64 6f 63 75 6d 65 6e | 74 20 74 6f 20 62 65 20 | documen|t to be |
|00004830| 72 65 65 76 61 6c 75 61 | 74 65 64 20 6f 6e 20 74 |reevalua|ted on t|
|00004840| 68 65 20 6e 65 78 74 20 | 65 6e 74 65 72 2e 0d 2d |he next |enter..-|
|00004850| 2d 20 49 66 20 79 6f 75 | 20 77 69 73 68 20 74 6f |- If you| wish to|
|00004860| 20 66 6f 72 63 65 20 72 | 65 65 76 61 6c 75 61 74 | force r|eevaluat|
|00004870| 69 6f 6e 20 79 6f 75 20 | 63 61 6e 20 75 73 65 20 |ion you |can use |
|00004880| 63 6f 6d 6d 61 6e 64 20 | 52 20 69 6e 73 74 65 61 |command |R instea|
|00004890| 64 20 6f 66 20 65 6e 74 | 65 72 2e 20 4f 6e 65 20 |d of ent|er. One |
|000048a0| 72 65 61 73 6f 6e 20 66 | 6f 72 20 74 68 69 73 20 |reason f|or this |
|000048b0| 6d 69 67 68 74 20 62 65 | 20 69 66 20 79 6f 75 20 |might be| if you |
|000048c0| 70 6c 6f 74 20 73 6f 6d | 65 74 68 69 6e 67 20 75 |plot som|ething u|
|000048d0| 73 69 6e 67 20 61 75 74 | 6f 20 72 61 6e 67 69 6e |sing aut|o rangin|
|000048e0| 67 20 61 6e 64 20 74 68 | 65 6e 20 6c 61 74 65 72 |g and th|en later|
|000048f0| 20 61 64 64 20 73 70 65 | 63 69 66 69 63 61 74 69 | add spe|cificati|
|00004900| 6f 6e 73 20 66 6f 72 20 | 58 6d 69 6e 20 65 74 63 |ons for |Xmin etc|
|00004910| 2e 20 41 6c 73 6f 2c 20 | 69 66 20 79 6f 75 20 68 |. Also, |if you h|
|00004920| 69 74 20 65 6e 74 65 72 | 20 77 69 74 68 6f 75 74 |it enter| without|
|00004930| 20 63 68 61 6e 67 69 6e | 67 20 61 6e 79 74 68 69 | changin|g anythi|
|00004940| 6e 67 20 69 6e 20 74 68 | 65 20 66 69 6c 65 20 69 |ng in th|e file i|
|00004950| 74 20 77 69 6c 6c 20 72 | 65 65 76 61 6c 75 61 74 |t will r|eevaluat|
|00004960| 65 2e 0d 0d 2d 2d 20 20 | 4d 61 74 68 50 61 64 20 |e...-- |MathPad |
|00004970| 73 75 70 70 6f 72 74 73 | 20 6d 69 6e 69 6d 61 6c |supports| minimal|
|00004980| 20 41 70 70 6c 65 45 76 | 65 6e 74 73 20 73 6f 20 | AppleEv|ents so |
|00004990| 69 74 20 63 61 6e 20 62 | 65 20 63 6f 6e 74 72 6f |it can b|e contro|
|000049a0| 6c 6c 65 64 20 62 79 20 | 41 70 70 6c 65 53 63 72 |lled by |AppleScr|
|000049b0| 69 70 74 20 65 74 63 2e | 20 54 6f 20 70 72 6f 76 |ipt etc.| To prov|
|000049c0| 69 64 65 20 61 20 71 75 | 69 63 6b 20 61 6e 64 20 |ide a qu|ick and |
|000049d0| 64 69 72 74 79 20 6d 65 | 61 6e 73 20 6f 66 20 73 |dirty me|ans of s|
|000049e0| 63 72 69 70 74 69 6e 67 | 2c 20 74 68 65 20 50 72 |cripting|, the Pr|
|000049f0| 69 6e 74 44 6f 63 75 6d | 65 6e 74 73 20 65 76 65 |intDocum|ents eve|
|00004a00| 6e 74 20 77 69 6c 6c 20 | 6f 70 65 6e 20 74 68 65 |nt will |open the|
|00004a10| 20 64 6f 63 75 6d 65 6e | 74 2c 20 65 76 61 6c 75 | documen|t, evalu|
|00004a20| 61 74 65 20 69 74 20 61 | 6e 64 20 74 68 65 6e 20 |ate it a|nd then |
|00004a30| 70 72 69 6e 74 20 74 68 | 65 20 70 6c 6f 74 2e 20 |print th|e plot. |
|00004a40| 54 68 65 20 58 46 75 6e | 20 22 41 45 76 65 6e 74 |The XFun| "AEvent|
|00004a50| 73 22 20 68 61 64 20 63 | 61 6e 20 62 65 20 75 73 |s" had c|an be us|
|00004a60| 65 64 20 74 6f 20 70 72 | 6f 76 69 64 65 20 6d 6f |ed to pr|ovide mo|
|00004a70| 72 65 20 73 63 72 69 70 | 74 69 6e 67 20 61 62 69 |re scrip|ting abi|
|00004a80| 6c 69 74 79 2e 0d 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |lity...-|--------|
|00004a90| 20 20 44 69 73 74 72 69 | 62 75 74 69 6f 6e 0d 2d | Distri|bution.-|
|00004aa0| 2d 20 4d 61 74 68 50 61 | 64 20 69 73 20 63 6f 70 |- MathPa|d is cop|
|00004ab0| 79 72 69 67 68 74 20 31 | 39 39 33 2d 32 30 30 30 |yright 1|993-2000|
|00004ac0| 20 62 79 20 4d 61 72 6b | 20 57 69 64 68 6f 6c 6d | by Mark| Widholm|
|00004ad0| 2e 20 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 |. All ri|ghts res|
|00004ae0| 65 72 76 65 64 2e 0d 20 | 0d 2d 2d 20 4d 61 74 68 |erved.. |.-- Math|
|00004af0| 50 61 64 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |Pad can |be used |
|00004b00| 61 6e 64 20 64 69 73 74 | 72 69 62 75 74 65 64 20 |and dist|ributed |
|00004b10| 66 6f 72 20 66 72 65 65 | 2e 20 53 65 6c 6c 69 6e |for free|. Sellin|
|00004b20| 67 20 69 74 20 66 6f 72 | 20 70 72 6f 66 69 74 20 |g it for| profit |
|00004b30| 77 69 74 68 6f 75 74 20 | 6d 79 20 70 65 72 6d 69 |without |my permi|
|00004b40| 73 73 69 6f 6e 20 69 73 | 20 66 6f 72 62 69 64 64 |ssion is| forbidd|
|00004b50| 65 6e 2e 20 49 66 20 79 | 6f 75 20 77 69 73 68 20 |en. If y|ou wish |
|00004b60| 74 6f 20 73 65 6c 6c 20 | 61 6e 79 20 73 6f 66 74 |to sell |any soft|
|00004b70| 77 61 72 65 20 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |ware col|lection |
|00004b80| 6f 72 20 70 72 6f 64 75 | 63 74 20 62 75 6e 64 6c |or produ|ct bundl|
|00004b90| 65 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 4d 61 74 |e contai|ning Mat|
|00004ba0| 68 50 61 64 20 63 6f 6e | 74 61 63 74 20 6d 65 20 |hPad con|tact me |
|00004bb0| 66 6f 72 20 70 65 72 6d | 69 73 73 69 6f 6e 2e 0d |for perm|ission..|
|00004bc0| 0d 2d 2d 20 49 66 20 79 | 6f 75 20 75 73 65 20 4d |.-- If y|ou use M|
|00004bd0| 61 74 68 50 61 64 2c 20 | 73 65 6e 64 20 6d 65 20 |athPad, |send me |
|00004be0| 73 6f 6d 65 20 65 2d 6d | 61 69 6c 2e 20 49 20 63 |some e-m|ail. I c|
|00004bf0| 61 6e 20 6e 6f 74 69 66 | 79 20 79 6f 75 20 6f 66 |an notif|y you of|
|00004c00| 20 61 6e 79 20 6b 6e 6f | 77 6e 20 62 75 67 73 2c | any kno|wn bugs,|
|00004c10| 20 75 70 64 61 74 65 73 | 20 65 74 63 2e 0d 0d 2d | updates| etc...-|
|00004c20| 2d 20 53 65 6e 64 20 63 | 6f 6d 6d 65 6e 74 73 2c |- Send c|omments,|
|00004c30| 20 71 75 65 73 74 69 6f | 6e 73 2c 20 73 75 67 67 | questio|ns, sugg|
|00004c40| 65 73 74 69 6f 6e 73 20 | 61 6e 64 20 62 75 67 20 |estions |and bug |
|00004c50| 72 65 70 6f 72 74 73 20 | 74 6f 3a 0d 0d 2d 2d 20 |reports |to:..-- |
|00004c60| 20 20 20 20 20 20 4d 61 | 72 6b 2e 57 69 64 68 6f | Ma|rk.Widho|
|00004c70| 6c 6d 40 55 4e 48 2e 65 | 64 75 0d 0d 2d 2d 20 4c |lm@UNH.e|du..-- L|
|00004c80| 65 74 20 6d 65 20 6b 6e | 6f 77 20 69 66 20 79 6f |et me kn|ow if yo|
|00004c90| 75 20 61 72 65 20 69 6e | 74 65 72 65 73 74 65 64 |u are in|terested|
|00004ca0| 20 69 6e 20 73 65 65 69 | 6e 67 20 6d 6f 72 65 20 | in seei|ng more |
|00004cb0| 65 78 61 6d 70 6c 65 73 | 20 6f 72 20 69 66 20 79 |examples| or if y|
|00004cc0| 6f 75 20 68 61 76 65 20 | 61 20 4d 61 74 68 50 61 |ou have |a MathPa|
|00004cd0| 64 20 65 78 61 6d 70 6c | 65 20 74 68 61 74 20 6f |d exampl|e that o|
|00004ce0| 74 68 65 72 73 20 6d 69 | 67 68 74 20 62 65 20 69 |thers mi|ght be i|
|00004cf0| 6e 74 65 72 65 73 74 65 | 64 20 69 6e 20 73 65 65 |ntereste|d in see|
|00004d00| 69 6e 67 2e 20 43 68 65 | 63 6b 20 6f 75 74 20 74 |ing. Che|ck out t|
|00004d10| 68 65 20 4d 61 74 68 50 | 61 64 20 77 65 62 20 70 |he MathP|ad web p|
|00004d20| 61 67 65 20 20 68 74 74 | 70 3a 2f 2f 70 75 62 70 |age htt|p://pubp|
|00004d30| 61 67 65 73 2e 75 6e 68 | 2e 65 64 75 2f 7e 6d 77 |ages.unh|.edu/~mw|
|00004d40| 69 64 68 6f 6c 6d 2f 4d | 61 74 68 50 61 64 2f 20 |idholm/M|athPad/ |
|00004d50| 66 6f 72 20 6d 6f 72 65 | 20 65 78 61 6d 70 6c 65 |for more| example|
|00004d60| 73 20 61 6e 64 20 58 46 | 75 6e 73 2e 0d 0d 0d 0d |s and XF|uns.....|
|00004d70| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d80| 00 00 01 00 00 00 01 80 | 00 00 00 80 00 00 00 86 |........|........|
|00004d90| 00 9c 26 f8 12 50 00 55 | 27 07 12 51 00 07 26 f4 |..&..P.U|'..Q..&.|
|00004da0| 0d b8 00 51 28 00 12 08 | 3a 00 00 f9 01 4b 00 00 |...Q(...|:....K..|
|00004db0| 0b 4d 61 74 68 50 61 64 | 2e 64 6f 63 02 00 00 00 |.MathPad|.doc....|
|00004dc0| 54 45 58 54 4d 50 61 64 | 01 00 00 00 00 80 00 00 |TEXTMPad|........|
|00004dd0| 00 00 54 45 58 54 4d 50 | 61 64 01 00 00 00 00 80 |..TEXTMP|ad......|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 a8 a6 bc 32 00 00 | 4a 52 00 00 01 ca 00 1a |.....2..|JR......|
|00004e00| 28 00 12 0b 28 00 12 0c | 28 00 12 0d 28 00 12 0e |(...(...|(...(...|
|00004e10| 3a 00 01 4d 01 59 00 00 | 00 14 3b 00 12 0f 27 0c |:..M.Y..|..;...'.|
|00004e20| 12 55 00 7f 3a 00 01 5c | 01 69 00 00 00 12 3b 00 |.U..:..\|.i....;.|
|00004e30| 12 10 28 00 12 11 3a 00 | 01 6c 01 77 00 00 00 2e |..(...:.|.l.w....|
|00004e40| 3b 00 12 12 26 00 12 31 | 00 20 26 04 12 56 00 20 |;...&..1|. &..V. |
|00004e50| 16 00 12 43 04 4d 1b 4a | ff 00 27 07 12 57 00 07 |...C.M.J|..'..W..|
|00004e60| 28 00 12 13 3a 00 01 78 | 01 7d 00 00 00 14 3b 00 |(...:..x|.}....;.|
|00004e70| 11 ff 26 00 12 58 00 20 | 3a 00 01 7f 01 82 00 00 |..&..X. |:.......|
|00004e80| 00 00 00 20 02 00 03 01 | 00 02 3f f9 8e fa 35 12 |... ....|..?...5.|
|00004e90| 94 e9 c8 ae 01 f5 01 82 | 00 04 00 2b 01 20 01 25 |........|...+. .%|
|00004ea0| 00 d9 00 2b 00 00 00 18 | 3c a3 d7 0a 3f 73 33 33 |...+....|<...?s33|
|00004eb0| 00 81 00 0c 20 59 6d 61 | 78 3a 34 30 30 2e 30 00 |.... Yma|x:400.0.|
|00004ec0| 00 00 00 14 00 04 06 4d | 6f 6e 61 63 6f 01 39 06 |.......M|onaco.9.|
|00004ed0| 4d 6f 6e 61 63 6f 01 39 | 00 00 00 24 3f 00 00 00 |Monaco.9|...$?...|
|00004ee0| 3f 00 80 e8 00 00 00 00 | 3f 00 01 00 7f 80 00 00 |?.......|?.......|
|00004ef0| 00 00 00 00 ff c0 00 c0 | ff c0 00 00 00 00 80 e8 |........|........|
|00004f00| 00 00 01 00 00 00 01 80 | 00 00 00 80 00 00 00 86 |........|........|
|00004f10| 03 91 30 88 02 92 00 00 | 00 1c 00 6e 00 03 50 52 |..0.....|...n..PR|
|00004f20| 65 66 00 00 00 22 4c 42 | 4c 53 00 00 00 2e 53 54 |ef..."LB|LS....ST|
|00004f30| 52 23 00 00 00 3a 53 50 | 52 46 00 00 00 46 00 80 |R#...:SP|RF...F..|
|00004f40| ff ff 00 00 00 00 03 91 | 2f 90 00 80 00 00 00 00 |........|/.......|
|00004f50| 00 24 00 00 00 00 00 81 | 00 0c 00 00 00 40 03 92 |.$......|.....@..|
|00004f60| 25 a0 00 80 ff ff 00 00 | 00 58 03 92 25 d4 0b 70 |%.......|.X..%..p|
|00004f70| 6c 6f 74 20 6c 61 62 65 | 6c 73 0b 66 6f 6e 74 20 |lot labe|ls.font |
|00004f80| 26 20 73 69 7a 65 00 00 | 00 00 00 00 00 00 00 00 |& size..|........|
|00004f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+