home *** CD-ROM | disk | FTP | other *** search
/ Class of 2001 / ClassOf2001.iso / Scinotebook / scinoteb / help / EBVARIATIONS.TEX < prev    next >
LaTeX Document  |  1997-05-15  |  24.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
100% dexvert Texinfo Document (document/texInfo) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX 2e document text default
99% file LaTeX document text default
98% file TeX document text default
97% file LaTeX document, ASCII text, with CRLF line terminators default
100% TrID LaTeX 2e document (with rem) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/280 LaTeX (Master document) default
100% detectItEasy Format: Plain text[CRLF] default
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 20 54 68 69 73 20 | 64 6f 63 75 6d 65 6e 74 |%% This |document|
|00000010| 20 63 72 65 61 74 65 64 | 20 62 79 20 53 63 69 65 | created| by Scie|
|00000020| 6e 74 69 66 69 63 20 4e | 6f 74 65 62 6f 6f 6b 20 |ntific N|otebook |
|00000030| 28 52 29 20 56 65 72 73 | 69 6f 6e 20 33 2e 30 0d |(R) Vers|ion 3.0.|
|00000040| 0a 0d 0a 0d 0a 5c 64 6f | 63 75 6d 65 6e 74 63 6c |.....\do|cumentcl|
|00000050| 61 73 73 5b 31 32 70 74 | 2c 74 68 6d 73 61 5d 7b |ass[12pt|,thmsa]{|
|00000060| 61 72 74 69 63 6c 65 7d | 0d 0a 5c 75 73 65 70 61 |article}|..\usepa|
|00000070| 63 6b 61 67 65 7b 61 6d | 73 73 79 6d 62 7d 0d 0a |ckage{am|ssymb}..|
|00000080| 0d 0a 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |..%%%%%%|%%%%%%%%|
|00000090| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000000a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000000b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000000c0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000000d0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000000e0| 25 25 25 25 25 25 0d 0a | 5c 75 73 65 70 61 63 6b |%%%%%%..|\usepack|
|000000f0| 61 67 65 7b 73 77 32 30 | 6a 61 72 74 7d 0d 0a 0d |age{sw20|jart}...|
|00000100| 0a 25 54 43 49 44 41 54 | 41 7b 54 43 49 73 74 79 |.%TCIDAT|A{TCIsty|
|00000110| 6c 65 3d 61 72 74 69 63 | 6c 65 2f 61 72 74 34 2e |le=artic|le/art4.|
|00000120| 6c 61 74 2c 6a 61 72 74 | 2c 73 77 32 30 6a 61 72 |lat,jart|,sw20jar|
|00000130| 74 7d 0d 0a 0d 0a 25 54 | 43 49 44 41 54 41 7b 3c |t}....%T|CIDATA{<|
|00000140| 4d 45 54 41 20 4e 41 4d | 45 3d 22 56 69 65 77 53 |META NAM|E="ViewS|
|00000150| 65 74 74 69 6e 67 73 22 | 20 43 4f 4e 54 45 4e 54 |ettings"| CONTENT|
|00000160| 3d 22 32 39 22 3e 7d 0d | 0a 25 54 43 49 44 41 54 |="29">}.|.%TCIDAT|
|00000170| 41 7b 3c 4d 45 54 41 20 | 4e 41 4d 45 3d 22 47 72 |A{<META |NAME="Gr|
|00000180| 61 70 68 69 63 73 53 61 | 76 65 22 20 43 4f 4e 54 |aphicsSa|ve" CONT|
|00000190| 45 4e 54 3d 22 33 32 22 | 3e 7d 0d 0a 25 54 43 49 |ENT="32"|>}..%TCI|
|000001a0| 44 41 54 41 7b 3c 4d 45 | 54 41 20 4e 41 4d 45 3d |DATA{<ME|TA NAME=|
|000001b0| 22 54 69 74 6c 65 22 20 | 43 4f 4e 54 45 4e 54 3d |"Title" |CONTENT=|
|000001c0| 22 43 68 2e 20 32 3a 20 | 47 65 6e 65 72 61 74 69 |"Ch. 2: |Generati|
|000001d0| 6e 67 20 41 6c 67 6f 72 | 69 74 68 6d 69 63 20 56 |ng Algor|ithmic V|
|000001e0| 61 72 69 61 74 69 6f 6e | 73 22 3e 7d 0d 0a 25 54 |ariation|s">}..%T|
|000001f0| 43 49 44 41 54 41 7b 43 | 72 65 61 74 65 64 3d 4d |CIDATA{C|reated=M|
|00000200| 6f 6e 20 41 75 67 20 31 | 39 20 31 34 3a 35 32 3a |on Aug 1|9 14:52:|
|00000210| 32 34 20 31 39 39 36 7d | 0d 0a 25 54 43 49 44 41 |24 1996}|..%TCIDA|
|00000220| 54 41 7b 4c 61 73 74 52 | 65 76 69 73 65 64 3d 46 |TA{LastR|evised=F|
|00000230| 72 69 20 4d 61 72 20 32 | 38 20 31 39 3a 32 34 3a |ri Mar 2|8 19:24:|
|00000240| 32 34 20 31 39 39 37 7d | 0d 0a 25 54 43 49 44 41 |24 1997}|..%TCIDA|
|00000250| 54 41 7b 4c 61 6e 67 75 | 61 67 65 3d 41 6d 65 72 |TA{Langu|age=Amer|
|00000260| 69 63 61 6e 20 45 6e 67 | 6c 69 73 68 7d 0d 0a 25 |ican Eng|lish}..%|
|00000270| 54 43 49 44 41 54 41 7b | 43 53 54 46 69 6c 65 3d |TCIDATA{|CSTFile=|
|00000280| 42 6f 6f 6b 6c 65 74 2e | 63 73 74 7d 0d 0a 25 54 |Booklet.|cst}..%T|
|00000290| 43 49 44 41 54 41 7b 50 | 61 67 65 53 65 74 75 70 |CIDATA{P|ageSetup|
|000002a0| 3d 36 31 2c 36 31 2c 31 | 31 34 2c 31 31 34 2c 31 |=61,61,1|14,114,1|
|000002b0| 7d 0d 0a 25 54 43 49 44 | 41 54 41 7b 3c 4c 49 4e |}..%TCID|ATA{<LIN|
|000002c0| 4b 20 52 45 4c 3d 22 61 | 75 74 68 6f 72 22 20 48 |K REL="a|uthor" H|
|000002d0| 52 45 46 3d 22 45 42 66 | 72 6f 6e 74 2e 74 65 78 |REF="EBf|ront.tex|
|000002e0| 22 3e 7d 0d 0a 25 54 43 | 49 44 41 54 41 7b 3c 4c |">}..%TC|IDATA{<L|
|000002f0| 49 4e 4b 20 52 45 4c 3d | 22 63 6f 6e 74 65 6e 74 |INK REL=|"content|
|00000300| 73 22 20 48 52 45 46 3d | 22 45 42 63 6f 6e 74 65 |s" HREF=|"EBconte|
|00000310| 6e 74 73 2e 74 65 78 22 | 3e 7d 0d 0a 25 54 43 49 |nts.tex"|>}..%TCI|
|00000320| 44 41 54 41 7b 3c 4c 49 | 4e 4b 20 52 45 4c 3d 22 |DATA{<LI|NK REL="|
|00000330| 63 6f 70 79 72 69 67 68 | 74 22 20 48 52 45 46 3d |copyrigh|t" HREF=|
|00000340| 22 45 42 66 72 6f 6e 74 | 2e 74 65 78 22 3e 7d 0d |"EBfront|.tex">}.|
|00000350| 0a 25 54 43 49 44 41 54 | 41 7b 3c 4c 49 4e 4b 20 |.%TCIDAT|A{<LINK |
|00000360| 52 45 4c 3d 22 65 6e 64 | 22 20 48 52 45 46 3d 22 |REL="end|" HREF="|
|00000370| 45 42 49 6e 64 65 78 2e | 74 65 78 22 3e 7d 0d 0a |EBIndex.|tex">}..|
|00000380| 25 54 43 49 44 41 54 41 | 7b 3c 4c 49 4e 4b 20 52 |%TCIDATA|{<LINK R|
|00000390| 45 4c 3d 22 69 6e 64 65 | 78 22 20 48 52 45 46 3d |EL="inde|x" HREF=|
|000003a0| 22 45 42 49 6e 64 65 78 | 2e 74 65 78 22 3e 7d 0d |"EBIndex|.tex">}.|
|000003b0| 0a 25 54 43 49 44 41 54 | 41 7b 3c 4c 49 4e 4b 20 |.%TCIDAT|A{<LINK |
|000003c0| 52 45 4c 3d 22 6e 65 78 | 74 22 20 48 52 45 46 3d |REL="nex|t" HREF=|
|000003d0| 22 45 42 73 6f 75 72 63 | 65 2e 74 65 78 22 3e 7d |"EBsourc|e.tex">}|
|000003e0| 0d 0a 25 54 43 49 44 41 | 54 41 7b 3c 4c 49 4e 4b |..%TCIDA|TA{<LINK|
|000003f0| 20 52 45 4c 3d 22 70 61 | 72 65 6e 74 22 20 48 52 | REL="pa|rent" HR|
|00000400| 45 46 3d 22 45 42 63 6f | 6e 74 65 6e 74 73 2e 74 |EF="EBco|ntents.t|
|00000410| 65 78 22 3e 7d 0d 0a 25 | 54 43 49 44 41 54 41 7b |ex">}..%|TCIDATA{|
|00000420| 3c 4c 49 4e 4b 20 52 45 | 4c 3d 22 70 72 65 76 69 |<LINK RE|L="previ|
|00000430| 6f 75 73 22 20 48 52 45 | 46 3d 22 45 42 77 65 6c |ous" HRE|F="EBwel|
|00000440| 63 6f 6d 65 2e 74 65 78 | 22 3e 7d 0d 0a 25 54 43 |come.tex|">}..%TC|
|00000450| 49 44 41 54 41 7b 3c 4c | 49 4e 4b 20 52 45 4c 3d |IDATA{<L|INK REL=|
|00000460| 22 70 75 62 6c 69 73 68 | 65 72 22 20 48 52 45 46 |"publish|er" HREF|
|00000470| 3d 22 45 42 66 72 6f 6e | 74 2e 74 65 78 22 3e 7d |="EBfron|t.tex">}|
|00000480| 0d 0a 25 54 43 49 44 41 | 54 41 7b 3c 4c 49 4e 4b |..%TCIDA|TA{<LINK|
|00000490| 20 52 45 4c 3d 22 74 6f | 70 22 20 48 52 45 46 3d | REL="to|p" HREF=|
|000004a0| 22 45 42 63 6f 6e 74 65 | 6e 74 73 2e 74 65 78 22 |"EBconte|nts.tex"|
|000004b0| 3e 7d 0d 0a 25 54 43 49 | 44 41 54 41 7b 3c 4c 49 |>}..%TCI|DATA{<LI|
|000004c0| 4e 4b 20 52 45 4c 3d 22 | 74 72 61 64 65 6d 61 72 |NK REL="|trademar|
|000004d0| 6b 22 20 48 52 45 46 3d | 22 45 42 66 72 6f 6e 74 |k" HREF=|"EBfront|
|000004e0| 2e 74 65 78 22 3e 7d 0d | 0a 25 54 43 49 44 41 54 |.tex">}.|.%TCIDAT|
|000004f0| 41 7b 41 6c 6c 50 61 67 | 65 73 3d 0d 0a 25 48 3d |A{AllPag|es=..%H=|
|00000500| 37 38 0d 0a 25 46 3d 33 | 36 0d 0a 25 7d 0d 0a 0d |78..%F=3|6..%}...|
|00000510| 0a 0d 0a 5c 69 6e 70 75 | 74 7b 74 63 69 6c 61 74 |...\inpu|t{tcilat|
|00000520| 65 78 7d 0d 0a 5c 62 65 | 67 69 6e 7b 64 6f 63 75 |ex}..\be|gin{docu|
|00000530| 6d 65 6e 74 7d 0d 0a 0d | 0a 0d 0a 5c 73 75 62 73 |ment}...|...\subs|
|00000540| 65 63 74 69 6f 6e 7b 5c | 74 65 78 74 69 74 7b 43 |ection{\|textit{C|
|00000550| 68 61 70 74 65 72 20 32 | 20 5c 68 72 75 6c 65 66 |hapter 2| \hrulef|
|00000560| 69 6c 6c 20 7d 7d 0d 0a | 0d 0a 5c 71 75 61 64 0d |ill }}..|..\quad.|
|00000570| 0a 0d 0a 5c 73 65 63 74 | 69 6f 6e 7b 47 65 6e 65 |...\sect|ion{Gene|
|00000580| 72 61 74 69 6e 67 20 41 | 6c 67 6f 72 69 74 68 6d |rating A|lgorithm|
|00000590| 69 63 20 56 61 72 69 61 | 74 69 6f 6e 73 5c 6c 61 |ic Varia|tions\la|
|000005a0| 62 65 6c 25 0d 0a 7b 47 | 65 6e 65 72 61 74 69 6e |bel%..{G|eneratin|
|000005b0| 67 20 41 6c 67 6f 72 69 | 74 68 6d 69 63 20 56 61 |g Algori|thmic Va|
|000005c0| 72 69 61 74 69 6f 6e 73 | 7d 7d 0d 0a 0d 0a 54 68 |riations|}}....Th|
|000005d0| 65 20 70 6f 77 65 72 20 | 6f 66 20 74 68 65 20 45 |e power |of the E|
|000005e0| 78 61 6d 20 42 75 69 6c | 64 65 72 20 6c 69 65 73 |xam Buil|der lies|
|000005f0| 20 69 6e 20 61 6c 67 6f | 72 69 74 68 6d 69 63 20 | in algo|rithmic |
|00000600| 76 61 72 69 61 74 69 6f | 6e 2d 2d 2d 74 68 65 20 |variatio|n---the |
|00000610| 61 75 74 6f 6d 61 74 69 | 63 0d 0a 67 65 6e 65 72 |automati|c..gener|
|00000620| 61 74 69 6f 6e 20 6f 66 | 20 73 6c 69 67 68 74 6c |ation of| slightl|
|00000630| 79 20 64 69 66 66 65 72 | 69 6e 67 20 76 65 72 73 |y differ|ing vers|
|00000640| 69 6f 6e 73 20 6f 66 20 | 61 6e 20 65 78 61 6d 20 |ions of |an exam |
|00000650| 62 61 73 65 64 20 6f 6e | 20 61 20 73 69 6e 67 6c |based on| a singl|
|00000660| 65 20 73 65 74 0d 0a 6f | 66 20 61 6c 67 6f 72 69 |e set..o|f algori|
|00000670| 74 68 6d 69 63 20 69 6e | 73 74 72 75 63 74 69 6f |thmic in|structio|
|00000680| 6e 73 2e 20 57 69 74 68 | 20 74 68 65 20 45 78 61 |ns. With| the Exa|
|00000690| 6d 20 42 75 69 6c 64 65 | 72 2c 20 79 6f 75 20 63 |m Builde|r, you c|
|000006a0| 61 6e 20 62 75 69 6c 64 | 0d 0a 61 6c 67 6f 72 69 |an build|..algori|
|000006b0| 74 68 6d 69 63 20 76 61 | 72 69 61 74 69 6f 6e 73 |thmic va|riations|
|000006c0| 20 69 6e 74 6f 20 79 6f | 75 72 20 66 69 6c 65 20 | into yo|ur file |
|000006d0| 69 6e 20 73 65 76 65 72 | 61 6c 20 77 61 79 73 2e |in sever|al ways.|
|000006e0| 20 59 6f 75 20 63 61 6e | 0d 0a 0d 0a 5c 62 65 67 | You can|....\beg|
|000006f0| 69 6e 7b 69 74 65 6d 69 | 7a 65 7d 0d 0a 5c 69 74 |in{itemi|ze}..\it|
|00000700| 65 6d 20 20 43 72 65 61 | 74 65 20 71 75 65 73 74 |em Crea|te quest|
|00000710| 69 6f 6e 73 20 61 6e 64 | 20 61 6e 73 77 65 72 73 |ions and| answers|
|00000720| 20 75 73 69 6e 67 20 64 | 65 66 69 6e 69 74 69 6f | using d|efinitio|
|00000730| 6e 73 2c 20 72 61 6e 64 | 6f 6d 20 6e 75 6d 62 65 |ns, rand|om numbe|
|00000740| 72 0d 0a 66 75 6e 63 74 | 69 6f 6e 73 2c 20 63 6f |r..funct|ions, co|
|00000750| 6e 64 69 74 69 6f 6e 73 | 2c 20 61 6e 64 20 66 6f |nditions|, and fo|
|00000760| 72 6d 75 6c 61 73 2e 0d | 0a 0d 0a 46 6f 72 20 65 |rmulas..|...For e|
|00000770| 61 63 68 20 69 6e 73 74 | 61 6e 63 65 20 6f 66 20 |ach inst|ance of |
|00000780| 74 68 65 20 65 78 61 6d | 2c 20 74 68 65 20 45 78 |the exam|, the Ex|
|00000790| 61 6d 20 42 75 69 6c 64 | 65 72 5c 20 61 75 74 6f |am Build|er\ auto|
|000007a0| 6d 61 74 69 63 61 6c 6c | 79 20 76 61 72 69 65 73 |maticall|y varies|
|000007b0| 20 74 68 65 0d 0a 63 6f | 6e 74 65 6e 74 20 6f 66 | the..co|ntent of|
|000007c0| 20 71 75 65 73 74 69 6f | 6e 20 73 74 61 74 65 6d | questio|n statem|
|000007d0| 65 6e 74 73 20 61 6e 64 | 20 6d 75 6c 74 69 70 6c |ents and| multipl|
|000007e0| 65 2d 63 68 6f 69 63 65 | 20 61 6e 73 77 65 72 73 |e-choice| answers|
|000007f0| 20 74 68 61 74 20 61 72 | 65 20 73 74 61 74 65 64 | that ar|e stated|
|00000800| 0d 0a 77 69 74 68 20 61 | 6c 67 6f 72 69 74 68 6d |..with a|lgorithm|
|00000810| 73 2e 0d 0a 0d 0a 5c 69 | 74 65 6d 20 20 43 68 61 |s.....\i|tem Cha|
|00000820| 6e 67 65 20 74 68 65 20 | 6f 72 64 65 72 20 6f 66 |nge the |order of|
|00000830| 20 74 68 65 20 65 6c 65 | 6d 65 6e 74 73 20 6f 6e | the ele|ments on|
|00000840| 20 74 68 65 20 65 78 61 | 6d 2e 0d 0a 0d 0a 46 6f | the exa|m.....Fo|
|00000850| 72 20 65 61 63 68 20 69 | 6e 73 74 61 6e 63 65 20 |r each i|nstance |
|00000860| 6f 66 20 74 68 65 20 65 | 78 61 6d 2c 20 74 68 65 |of the e|xam, the|
|00000870| 20 45 78 61 6d 20 42 75 | 69 6c 64 65 72 20 76 61 | Exam Bu|ilder va|
|00000880| 72 69 65 73 20 74 68 65 | 20 6f 72 64 65 72 20 6f |ries the| order o|
|00000890| 66 20 74 68 65 0d 0a 71 | 75 65 73 74 69 6f 6e 73 |f the..q|uestions|
|000008a0| 5c 20 61 6e 64 20 65 76 | 65 6e 20 76 61 72 69 65 |\ and ev|en varie|
|000008b0| 73 20 74 68 65 20 6f 72 | 64 65 72 20 6f 66 20 74 |s the or|der of t|
|000008c0| 68 65 20 69 74 65 6d 73 | 20 69 6e 20 6d 75 6c 74 |he items| in mult|
|000008d0| 69 70 6c 65 2d 63 68 6f | 69 63 65 20 61 6e 73 77 |iple-cho|ice answ|
|000008e0| 65 72 0d 0a 6c 69 73 74 | 73 20 77 68 65 6e 20 79 |er..list|s when y|
|000008f0| 6f 75 20 73 70 65 63 69 | 66 79 20 74 68 65 69 72 |ou speci|fy their|
|00000900| 20 70 65 72 6d 75 74 61 | 74 69 6f 6e 2e 20 5c 68 | permuta|tion. \h|
|00000910| 79 70 65 72 72 65 66 7b | 43 68 61 70 74 65 72 20 |yperref{|Chapter |
|00000920| 34 7d 7b 7d 7b 7d 7b 25 | 0d 0a 45 42 66 72 6f 6e |4}{}{}{%|..EBfron|
|00000930| 74 73 65 63 74 69 6f 6e | 2e 74 65 78 7d 20 65 78 |tsection|.tex} ex|
|00000940| 70 6c 61 69 6e 73 20 6d | 6f 72 65 20 61 62 6f 75 |plains m|ore abou|
|00000950| 74 20 70 65 72 6d 75 74 | 69 6e 67 20 65 78 61 6d |t permut|ing exam|
|00000960| 20 65 6c 65 6d 65 6e 74 | 73 2e 0d 0a 0d 0a 5c 69 | element|s.....\i|
|00000970| 74 65 6d 20 20 50 72 6f | 76 69 64 65 20 73 65 76 |tem Pro|vide sev|
|00000980| 65 72 61 6c 20 76 61 72 | 69 61 6e 74 73 20 66 6f |eral var|iants fo|
|00000990| 72 20 65 61 63 68 20 71 | 75 65 73 74 69 6f 6e 2e |r each q|uestion.|
|000009a0| 0d 0a 0d 0a 46 6f 72 20 | 65 61 63 68 20 69 6e 73 |....For |each ins|
|000009b0| 74 61 6e 63 65 20 6f 66 | 20 74 68 65 20 65 78 61 |tance of| the exa|
|000009c0| 6d 2c 20 74 68 65 20 45 | 78 61 6d 20 42 75 69 6c |m, the E|xam Buil|
|000009d0| 64 65 72 20 72 61 6e 64 | 6f 6d 6c 79 20 73 65 6c |der rand|omly sel|
|000009e0| 65 63 74 73 20 61 20 64 | 69 66 66 65 72 65 6e 74 |ects a d|ifferent|
|000009f0| 0d 0a 76 61 72 69 61 6e | 74 20 6f 72 20 73 65 74 |..varian|t or set|
|00000a00| 20 6f 66 20 76 61 72 69 | 61 6e 74 73 2e 20 5c 68 | of vari|ants. \h|
|00000a10| 79 70 65 72 72 65 66 7b | 43 68 61 70 74 65 72 20 |yperref{|Chapter |
|00000a20| 35 7d 7b 7d 7b 7d 7b 45 | 42 71 75 65 73 74 69 6f |5}{}{}{E|Bquestio|
|00000a30| 6e 2e 74 65 78 7d 0d 0a | 65 78 70 6c 61 69 6e 73 |n.tex}..|explains|
|00000a40| 20 68 6f 77 20 74 6f 20 | 75 73 65 20 71 75 65 73 | how to |use ques|
|00000a50| 74 69 6f 6e 20 76 61 72 | 69 61 6e 74 73 2e 0d 0a |tion var|iants...|
|00000a60| 5c 65 6e 64 7b 69 74 65 | 6d 69 7a 65 7d 0d 0a 0d |\end{ite|mize}...|
|00000a70| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 7b 55 73 69 |.\subsec|tion{Usi|
|00000a80| 6e 67 20 64 65 66 69 6e | 69 74 69 6f 6e 73 5c 6c |ng defin|itions\l|
|00000a90| 61 62 65 6c 7b 55 73 69 | 6e 67 20 64 65 66 69 6e |abel{Usi|ng defin|
|00000aa0| 69 74 69 6f 6e 73 7d 7d | 0d 0a 0d 0a 49 6e 73 74 |itions}}|....Inst|
|00000ab0| 65 61 64 20 6f 66 20 77 | 72 69 74 69 6e 67 20 6f |ead of w|riting o|
|00000ac0| 75 74 20 65 61 63 68 20 | 76 61 72 69 61 74 69 6f |ut each |variatio|
|00000ad0| 6e 20 6f 66 20 61 20 71 | 75 65 73 74 69 6f 6e 20 |n of a q|uestion |
|00000ae0| 61 6e 64 20 69 74 73 20 | 6d 75 6c 74 69 70 6c 65 |and its |multiple|
|00000af0| 2d 63 68 6f 69 63 65 0d | 0a 61 6e 73 77 65 72 20 |-choice.|.answer |
|00000b00| 6c 69 73 74 2c 20 79 6f | 75 20 63 61 6e 20 76 61 |list, yo|u can va|
|00000b10| 72 79 20 74 68 65 20 71 | 75 65 73 74 69 6f 6e 73 |ry the q|uestions|
|00000b20| 20 61 6e 64 20 61 6e 73 | 77 65 72 73 20 62 79 20 | and ans|wers by |
|00000b30| 73 74 61 74 69 6e 67 20 | 74 68 65 6d 20 77 69 74 |stating |them wit|
|00000b40| 68 0d 0a 76 61 72 69 61 | 62 6c 65 73 20 77 68 6f |h..varia|bles who|
|00000b50| 73 65 20 76 61 6c 75 65 | 73 20 61 72 65 20 61 73 |se value|s are as|
|00000b60| 73 69 67 6e 65 64 20 61 | 6c 67 6f 72 69 74 68 6d |signed a|lgorithm|
|00000b70| 69 63 61 6c 6c 79 2e 20 | 59 6f 75 20 63 61 6e 20 |ically. |You can |
|00000b80| 64 65 66 69 6e 65 0d 0a | 76 61 72 69 61 62 6c 65 |define..|variable|
|00000b90| 73 20 67 6c 6f 62 61 6c | 6c 79 20 66 6f 72 20 61 |s global|ly for a|
|00000ba0| 6e 20 65 6e 74 69 72 65 | 20 65 78 61 6d 2c 20 6f |n entire| exam, o|
|00000bb0| 72 20 6c 6f 63 61 6c 6c | 79 20 66 6f 72 20 61 20 |r locall|y for a |
|00000bc0| 73 69 6e 67 6c 65 20 71 | 75 65 73 74 69 6f 6e 20 |single q|uestion |
|00000bd0| 6f 72 0d 0a 71 75 65 73 | 74 69 6f 6e 20 76 61 72 |or..ques|tion var|
|00000be0| 69 61 6e 74 2e 20 49 66 | 20 79 6f 75 20 64 65 66 |iant. If| you def|
|00000bf0| 69 6e 65 20 76 61 72 69 | 61 62 6c 65 73 20 6c 6f |ine vari|ables lo|
|00000c00| 63 61 6c 6c 79 2c 20 79 | 6f 75 20 63 61 6e 20 75 |cally, y|ou can u|
|00000c10| 73 65 20 74 68 65 20 73 | 61 6d 65 0d 0a 6c 65 74 |se the s|ame..let|
|00000c20| 74 65 72 73 20 74 6f 20 | 6d 65 61 6e 20 64 69 66 |ters to |mean dif|
|00000c30| 66 65 72 65 6e 74 20 74 | 68 69 6e 67 73 20 69 6e |ferent t|hings in|
|00000c40| 20 64 69 66 66 65 72 65 | 6e 74 20 71 75 65 73 74 | differe|nt quest|
|00000c50| 69 6f 6e 73 2e 0d 0a 0d | 0a 57 69 74 68 20 74 68 |ions....|.With th|
|00000c60| 65 20 45 78 61 6d 20 42 | 75 69 6c 64 65 72 2c 20 |e Exam B|uilder, |
|00000c70| 79 6f 75 20 63 61 6e 20 | 61 73 73 69 67 6e 20 76 |you can |assign v|
|00000c80| 61 6c 75 65 73 20 74 6f | 20 76 61 72 69 61 62 6c |alues to| variabl|
|00000c90| 65 73 20 77 69 74 68 20 | 74 77 6f 20 74 79 70 65 |es with |two type|
|00000ca0| 73 20 6f 66 0d 0a 64 65 | 66 69 6e 69 74 69 6f 6e |s of..de|finition|
|00000cb0| 73 2e 20 5c 65 6d 70 68 | 7b 44 65 6c 61 79 65 64 |s. \emph|{Delayed|
|00000cc0| 20 7d 64 65 66 69 6e 69 | 74 69 6f 6e 73 2c 20 77 | }defini|tions, w|
|00000cd0| 68 69 63 68 20 61 72 65 | 20 64 65 66 69 6e 65 64 |hich are| defined|
|00000ce0| 20 75 73 69 6e 67 20 74 | 68 65 20 73 79 6d 62 6f | using t|he symbo|
|00000cf0| 6c 20 24 25 0d 0a 3d 24 | 2c 20 61 72 65 20 72 65 |l $%..=$|, are re|
|00000d00| 2d 65 76 61 6c 75 61 74 | 65 64 20 65 76 65 72 79 |-evaluat|ed every|
|00000d10| 20 74 69 6d 65 20 74 68 | 65 20 76 61 72 69 61 62 | time th|e variab|
|00000d20| 6c 65 20 69 73 20 75 73 | 65 64 20 69 6e 20 74 68 |le is us|ed in th|
|00000d30| 65 20 67 65 6e 65 72 61 | 74 65 64 20 65 78 61 6d |e genera|ted exam|
|00000d40| 2e 20 0d 0a 5c 65 6d 70 | 68 7b 49 6d 6d 65 64 69 |. ..\emp|h{Immedi|
|00000d50| 61 74 65 20 7d 64 65 66 | 69 6e 69 74 69 6f 6e 73 |ate }def|initions|
|00000d60| 2c 20 77 68 69 63 68 20 | 61 72 65 20 64 65 66 69 |, which |are defi|
|00000d70| 6e 65 64 20 75 73 69 6e | 67 20 74 68 65 20 73 79 |ned usin|g the sy|
|00000d80| 6d 62 6f 6c 20 24 3a 3d | 24 2c 20 61 72 65 0d 0a |mbol $:=|$, are..|
|00000d90| 65 76 61 6c 75 61 74 65 | 64 20 6f 6e 6c 79 20 6f |evaluate|d only o|
|00000da0| 6e 63 65 2c 20 77 68 65 | 6e 20 74 68 65 20 65 78 |nce, whe|n the ex|
|00000db0| 61 6d 20 66 69 6c 65 20 | 69 73 20 67 65 6e 65 72 |am file |is gener|
|00000dc0| 61 74 65 64 2e 20 57 65 | 20 72 65 63 6f 6d 6d 65 |ated. We| recomme|
|00000dd0| 6e 64 20 74 68 61 74 20 | 69 6e 0d 0a 6d 6f 73 74 |nd that |in..most|
|00000de0| 20 63 61 73 65 73 20 79 | 6f 75 20 75 73 65 20 69 | cases y|ou use i|
|00000df0| 6d 6d 65 64 69 61 74 65 | 20 64 65 66 69 6e 69 74 |mmediate| definit|
|00000e00| 69 6f 6e 73 2e 0d 0a 0d | 0a 55 6e 64 65 72 73 74 |ions....|.Underst|
|00000e10| 61 6e 64 69 6e 67 20 74 | 68 65 20 64 69 66 66 65 |anding t|he diffe|
|00000e20| 72 65 6e 63 65 20 62 65 | 74 77 65 65 6e 20 74 68 |rence be|tween th|
|00000e30| 65 20 74 77 6f 20 74 79 | 70 65 73 20 6f 66 20 64 |e two ty|pes of d|
|00000e40| 65 66 69 6e 69 74 69 6f | 6e 73 20 69 73 0d 0a 69 |efinitio|ns is..i|
|00000e50| 6d 70 6f 72 74 61 6e 74 | 2e 20 46 6f 72 20 65 78 |mportant|. For ex|
|00000e60| 61 6d 70 6c 65 2c 20 69 | 66 20 79 6f 75 20 73 65 |ample, i|f you se|
|00000e70| 74 20 75 70 20 61 20 71 | 75 65 73 74 69 6f 6e 20 |t up a q|uestion |
|00000e80| 75 73 69 6e 67 20 74 68 | 65 20 69 6d 6d 65 64 69 |using th|e immedi|
|00000e90| 61 74 65 0d 0a 64 65 66 | 69 6e 69 74 69 6f 6e 20 |ate..def|inition |
|00000ea0| 24 61 3a 3d 5b 24 73 6f | 6d 65 20 72 61 6e 64 6f |$a:=[$so|me rando|
|00000eb0| 6d 20 6e 75 6d 62 65 72 | 20 65 78 70 72 65 73 73 |m number| express|
|00000ec0| 69 6f 6e 24 5d 24 2c 20 | 74 68 65 20 45 78 61 6d |ion$]$, |the Exam|
|00000ed0| 20 42 75 69 6c 64 65 72 | 20 77 69 6c 6c 20 75 73 | Builder| will us|
|00000ee0| 65 0d 0a 74 68 65 20 65 | 78 70 72 65 73 73 69 6f |e..the e|xpressio|
|00000ef0| 6e 20 74 6f 20 64 65 66 | 69 6e 65 20 24 61 24 20 |n to def|ine $a$ |
|00000f00| 61 73 20 61 20 72 61 6e | 64 6f 6d 20 6e 75 6d 62 |as a ran|dom numb|
|00000f10| 65 72 2e 20 54 68 65 20 | 64 65 66 69 6e 69 74 69 |er. The |definiti|
|00000f20| 6f 6e 20 6f 63 63 75 72 | 73 20 6f 6e 63 65 2c 0d |on occur|s once,.|
|00000f30| 0a 77 68 65 6e 20 61 6e | 20 65 78 61 6d 20 66 69 |.when an| exam fi|
|00000f40| 6c 65 20 69 73 20 67 65 | 6e 65 72 61 74 65 64 2e |le is ge|nerated.|
|00000f50| 20 45 76 65 72 79 20 74 | 69 6d 65 20 74 68 65 20 | Every t|ime the |
|00000f60| 76 61 72 69 61 62 6c 65 | 20 24 61 24 20 69 73 20 |variable| $a$ is |
|00000f70| 65 76 61 6c 75 61 74 65 | 64 20 62 79 0d 0a 74 68 |evaluate|d by..th|
|00000f80| 65 20 45 78 61 6d 20 42 | 75 69 6c 64 65 72 2c 20 |e Exam B|uilder, |
|00000f90| 69 74 73 20 76 61 6c 75 | 65 20 69 73 20 74 68 65 |its valu|e is the|
|00000fa0| 20 73 61 6d 65 2e 20 54 | 68 65 20 76 61 6c 75 65 | same. T|he value|
|00000fb0| 20 6f 66 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 | of the |variable|
|00000fc0| 20 77 69 6c 6c 0d 0a 63 | 68 61 6e 67 65 20 6f 6e | will..c|hange on|
|00000fd0| 6c 79 20 69 66 20 79 6f | 75 20 67 65 6e 65 72 61 |ly if yo|u genera|
|00000fe0| 74 65 20 61 20 6e 65 77 | 20 65 78 61 6d 2c 20 61 |te a new| exam, a|
|00000ff0| 74 20 77 68 69 63 68 20 | 74 69 6d 65 20 74 68 65 |t which |time the|
|00001000| 20 45 78 61 6d 20 42 75 | 69 6c 64 65 72 20 77 69 | Exam Bu|ilder wi|
|00001010| 6c 6c 0d 0a 67 65 6e 65 | 72 61 74 65 20 61 20 6e |ll..gene|rate a n|
|00001020| 65 77 20 72 61 6e 64 6f | 6d 20 76 61 6c 75 65 20 |ew rando|m value |
|00001030| 66 6f 72 20 24 61 24 2e | 0d 0a 0d 0a 4f 6e 20 74 |for $a$.|....On t|
|00001040| 68 65 20 6f 74 68 65 72 | 20 68 61 6e 64 2c 20 69 |he other| hand, i|
|00001050| 66 20 79 6f 75 20 73 65 | 74 20 75 70 20 61 20 71 |f you se|t up a q|
|00001060| 75 65 73 74 69 6f 6e 20 | 75 73 69 6e 67 20 74 68 |uestion |using th|
|00001070| 65 20 64 65 6c 61 79 65 | 64 20 64 65 66 69 6e 69 |e delaye|d defini|
|00001080| 74 69 6f 6e 20 24 25 0d | 0a 61 3d 5b 20 24 73 6f |tion $%.|.a=[ $so|
|00001090| 6d 65 20 72 61 6e 64 6f | 6d 20 6e 75 6d 62 65 72 |me rando|m number|
|000010a0| 20 65 78 70 72 65 73 73 | 69 6f 6e 24 5d 24 2c 5c | express|ion$]$,\|
|000010b0| 76 73 70 61 63 65 7b 31 | 70 74 7d 74 68 65 20 45 |vspace{1|pt}the E|
|000010c0| 78 61 6d 20 42 75 69 6c | 64 65 72 20 77 69 6c 6c |xam Buil|der will|
|000010d0| 0d 0a 64 65 66 69 6e 65 | 20 24 61 20 24 20 61 73 |..define| $a $ as|
|000010e0| 20 74 68 65 20 72 61 6e | 64 6f 6d 20 6e 75 6d 62 | the ran|dom numb|
|000010f0| 65 72 20 65 78 70 72 65 | 73 73 69 6f 6e 20 69 74 |er expre|ssion it|
|00001100| 73 65 6c 66 2e 20 54 68 | 65 20 45 78 61 6d 20 42 |self. Th|e Exam B|
|00001110| 75 69 6c 64 65 72 20 77 | 69 6c 6c 0d 0a 72 65 2d |uilder w|ill..re-|
|00001120| 65 76 61 6c 75 61 74 65 | 20 74 68 65 20 65 78 70 |evaluate| the exp|
|00001130| 72 65 73 73 69 6f 6e 20 | 61 6e 64 20 67 65 6e 65 |ression |and gene|
|00001140| 72 61 74 65 20 61 20 6e | 65 77 20 76 61 6c 75 65 |rate a n|ew value|
|00001150| 20 65 76 65 72 79 20 74 | 69 6d 65 20 69 74 20 65 | every t|ime it e|
|00001160| 6e 63 6f 75 6e 74 65 72 | 73 0d 0a 74 68 65 20 76 |ncounter|s..the v|
|00001170| 61 72 69 61 62 6c 65 20 | 24 61 24 20 69 6e 20 74 |ariable |$a$ in t|
|00001180| 68 65 20 71 75 65 73 74 | 69 6f 6e 2e 20 54 68 65 |he quest|ion. The|
|00001190| 72 65 66 6f 72 65 2c 20 | 69 74 27 73 20 70 6f 73 |refore, |it's pos|
|000011a0| 73 69 62 6c 65 20 66 6f | 72 20 74 68 65 20 76 61 |sible fo|r the va|
|000011b0| 72 69 61 62 6c 65 0d 0a | 74 6f 20 68 61 76 65 20 |riable..|to have |
|000011c0| 64 69 66 66 65 72 65 6e | 74 20 76 61 6c 75 65 73 |differen|t values|
|000011d0| 20 61 74 20 64 69 66 66 | 65 72 65 6e 74 20 70 6f | at diff|erent po|
|000011e0| 69 6e 74 73 20 69 6e 20 | 74 68 65 20 73 61 6d 65 |ints in |the same|
|000011f0| 20 71 75 65 73 74 69 6f | 6e 2e 0d 0a 0d 0a 42 65 | questio|n.....Be|
|00001200| 63 61 75 73 65 20 74 68 | 65 20 45 78 61 6d 20 42 |cause th|e Exam B|
|00001210| 75 69 6c 64 65 72 20 63 | 72 65 61 74 65 73 20 64 |uilder c|reates d|
|00001220| 65 66 69 6e 69 74 69 6f | 6e 73 20 61 75 74 6f 6d |efinitio|ns autom|
|00001230| 61 74 69 63 61 6c 6c 79 | 2c 20 79 6f 75 20 6d 75 |atically|, you mu|
|00001240| 73 74 20 6e 6f 74 0d 0a | 70 72 6f 76 69 64 65 20 |st not..|provide |
|00001250| 65 78 70 6c 69 63 69 74 | 20 4d 61 70 6c 65 20 64 |explicit| Maple d|
|00001260| 65 66 69 6e 69 74 69 6f | 6e 73 20 66 6f 72 20 76 |efinitio|ns for v|
|00001270| 61 72 69 61 62 6c 65 73 | 2c 20 61 73 20 79 6f 75 |ariables|, as you|
|00001280| 20 6f 72 64 69 6e 61 72 | 69 6c 79 20 64 6f 20 77 | ordinar|ily do w|
|00001290| 68 65 6e 0d 0a 79 6f 75 | 20 63 72 65 61 74 65 20 |hen..you| create |
|000012a0| 6d 61 74 68 65 6d 61 74 | 69 63 73 20 69 6e 20 5c |mathemat|ics in \|
|000012b0| 74 65 78 74 69 74 7b 53 | 63 69 65 6e 74 69 66 69 |textit{S|cientifi|
|000012c0| 63 20 4e 6f 74 65 62 6f | 6f 6b 2e 20 7d 59 6f 75 |c Notebo|ok. }You|
|000012d0| 20 6d 75 73 74 20 6e 6f | 74 20 75 73 65 0d 0a 74 | must no|t use..t|
|000012e0| 68 65 5c 20 4d 61 70 6c | 65 20 4e 65 77 20 44 65 |he\ Mapl|e New De|
|000012f0| 66 69 6e 69 74 69 6f 6e | 20 63 6f 6d 6d 61 6e 64 |finition| command|
|00001300| 20 74 6f 20 63 72 65 61 | 74 65 20 71 75 65 73 74 | to crea|te quest|
|00001310| 69 6f 6e 73 20 69 6e 20 | 45 78 61 6d 20 42 75 69 |ions in |Exam Bui|
|00001320| 6c 64 65 72 20 73 6f 75 | 72 63 65 0d 0a 66 69 6c |lder sou|rce..fil|
|00001330| 65 73 2e 0d 0a 0d 0a 5c | 73 75 62 70 61 72 61 67 |es.....\|subparag|
|00001340| 72 61 70 68 7b 5c 6e 6f | 69 6e 64 65 6e 74 20 24 |raph{\no|indent $|
|00001350| 5c 62 6c 61 63 6b 74 72 | 69 61 6e 67 6c 65 72 69 |\blacktr|iangleri|
|00001360| 67 68 74 20 24 5c 71 75 | 61 64 20 5c 74 65 78 74 |ght $\qu|ad \text|
|00001370| 62 66 7b 54 6f 20 65 6e | 74 65 72 20 61 0d 0a 64 |bf{To en|ter a..d|
|00001380| 65 66 69 6e 69 74 69 6f | 6e 5c 6c 61 62 65 6c 7b |efinitio|n\label{|
|00001390| 45 6e 74 65 72 69 6e 67 | 20 61 20 64 65 66 69 6e |Entering| a defin|
|000013a0| 69 74 69 6f 6e 7d 7d 7d | 0d 0a 0d 0a 45 61 63 68 |ition}}}|....Each|
|000013b0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6d 75 73 74 | definit|ion must|
|000013c0| 20 62 65 20 69 6e 63 6c | 75 64 65 64 20 6f 6e 20 | be incl|uded on |
|000013d0| 69 74 73 20 6f 77 6e 20 | 6c 69 6e 65 20 69 6e 20 |its own |line in |
|000013e0| 74 68 65 20 53 65 74 75 | 70 20 73 65 63 74 69 6f |the Setu|p sectio|
|000013f0| 6e 20 66 6f 72 0d 0a 74 | 68 65 20 65 78 61 6d 20 |n for..t|he exam |
|00001400| 6f 72 20 66 6f 72 20 61 | 6e 20 69 6e 64 69 76 69 |or for a|n indivi|
|00001410| 64 75 61 6c 20 71 75 65 | 73 74 69 6f 6e 2e 20 5c |dual que|stion. \|
|00001420| 68 79 70 65 72 72 65 66 | 7b 43 68 61 70 74 65 72 |hyperref|{Chapter|
|00001430| 20 34 7d 7b 7d 7b 7d 7b | 25 0d 0a 45 42 66 72 6f | 4}{}{}{|%..EBfro|
|00001440| 6e 74 73 65 63 74 69 6f | 6e 2e 74 65 78 7d 20 61 |ntsectio|n.tex} a|
|00001450| 6e 64 20 5c 68 79 70 65 | 72 72 65 66 7b 43 68 61 |nd \hype|rref{Cha|
|00001460| 70 74 65 72 20 35 7d 7b | 7d 7b 7d 7b 45 42 71 75 |pter 5}{|}{}{EBqu|
|00001470| 65 73 74 69 6f 6e 2e 74 | 65 78 7d 20 63 6f 6e 74 |estion.t|ex} cont|
|00001480| 61 69 6e 0d 0a 6d 6f 72 | 65 20 69 6e 66 6f 72 6d |ain..mor|e inform|
|00001490| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 63 72 65 61 |ation ab|out crea|
|000014a0| 74 69 6e 67 20 53 65 74 | 75 70 20 73 65 63 74 69 |ting Set|up secti|
|000014b0| 6f 6e 73 2e 0d 0a 0d 0a | 5c 62 65 67 69 6e 7b 65 |ons.....|\begin{e|
|000014c0| 6e 75 6d 65 72 61 74 65 | 7d 0d 0a 5c 69 74 65 6d |numerate|}..\item|
|000014d0| 20 20 53 74 61 72 74 20 | 61 20 6e 65 77 20 70 61 | Start |a new pa|
|000014e0| 72 61 67 72 61 70 68 20 | 69 6e 73 69 64 65 20 61 |ragraph |inside a|
|000014f0| 20 53 65 74 75 70 20 73 | 65 63 74 69 6f 6e 2e 0d | Setup s|ection..|
|00001500| 0a 0d 0a 5c 69 74 65 6d | 20 20 57 69 74 68 20 74 |...\item| With t|
|00001510| 68 65 20 69 6e 73 65 72 | 74 69 6f 6e 20 70 6f 69 |he inser|tion poi|
|00001520| 6e 74 20 69 6e 20 6d 61 | 74 68 65 6d 61 74 69 63 |nt in ma|thematic|
|00001530| 73 2c 20 65 6e 74 65 72 | 20 74 68 65 20 64 65 66 |s, enter| the def|
|00001540| 69 6e 69 74 69 6f 6e 20 | 66 6f 72 20 74 68 65 0d |inition |for the.|
|00001550| 0a 76 61 72 69 61 62 6c | 65 2e 5c 6d 65 64 73 6b |.variabl|e.\medsk|
|00001560| 69 70 0d 0a 5c 65 6e 64 | 7b 65 6e 75 6d 65 72 61 |ip..\end|{enumera|
|00001570| 74 65 7d 0d 0a 0d 0a 5c | 6e 6f 69 6e 64 65 6e 74 |te}....\|noindent|
|00001580| 20 5c 46 52 41 4d 45 7b | 69 74 62 70 46 7d 7b 34 | \FRAME{|itbpF}{4|
|00001590| 33 2e 31 32 35 70 74 7d | 7b 31 38 2e 35 70 74 7d |3.125pt}|{18.5pt}|
|000015a0| 7b 34 70 74 7d 7b 7d 7b | 7d 7b 65 78 33 2e 77 6d |{4pt}{}{|}{ex3.wm|
|000015b0| 66 7d 7b 5c 73 70 65 63 | 69 61 6c 25 0d 0a 7b 6c |f}{\spec|ial%..{l|
|000015c0| 61 6e 67 75 61 67 65 20 | 22 53 63 69 65 6e 74 69 |anguage |"Scienti|
|000015d0| 66 69 63 20 57 6f 72 64 | 22 3b 74 79 70 65 20 22 |fic Word|";type "|
|000015e0| 47 52 41 50 48 49 43 22 | 3b 6d 61 69 6e 74 61 69 |GRAPHIC"|;maintai|
|000015f0| 6e 2d 61 73 70 65 63 74 | 2d 72 61 74 69 6f 0d 0a |n-aspect|-ratio..|
|00001600| 54 52 55 45 3b 64 69 73 | 70 6c 61 79 20 22 50 49 |TRUE;dis|play "PI|
|00001610| 43 54 22 3b 76 61 6c 69 | 64 5f 66 69 6c 65 20 22 |CT";vali|d_file "|
|00001620| 46 22 3b 77 69 64 74 68 | 20 34 33 2e 31 32 35 70 |F";width| 43.125p|
|00001630| 74 3b 68 65 69 67 68 74 | 20 31 38 2e 35 70 74 3b |t;height| 18.5pt;|
|00001640| 64 65 70 74 68 0d 0a 34 | 70 74 3b 6f 72 69 67 69 |depth..4|pt;origi|
|00001650| 6e 61 6c 2d 77 69 64 74 | 68 20 34 38 2e 38 37 35 |nal-widt|h 48.875|
|00001660| 70 74 3b 6f 72 69 67 69 | 6e 61 6c 2d 68 65 69 67 |pt;origi|nal-heig|
|00001670| 68 74 20 31 39 2e 35 36 | 32 35 70 74 3b 63 72 6f |ht 19.56|25pt;cro|
|00001680| 70 6c 65 66 74 20 22 30 | 22 3b 63 72 6f 70 74 6f |pleft "0|";cropto|
|00001690| 70 0d 0a 22 31 22 3b 63 | 72 6f 70 72 69 67 68 74 |p.."1";c|ropright|
|000016a0| 20 22 31 22 3b 63 72 6f | 70 62 6f 74 74 6f 6d 20 | "1";cro|pbottom |
|000016b0| 22 30 22 3b 66 69 6c 65 | 6e 61 6d 65 20 27 45 78 |"0";file|name 'Ex|
|000016c0| 33 2e 77 6d 66 27 3b 66 | 69 6c 65 2d 70 72 6f 70 |3.wmf';f|ile-prop|
|000016d0| 65 72 74 69 65 73 20 22 | 4e 50 45 55 22 3b 7d 7d |erties "|NPEU";}}|
|000016e0| 0d 0a 0d 0a 24 6d 3a 3d | 31 35 24 0d 0a 0d 0a 24 |....$m:=|15$....$|
|000016f0| 6e 3a 3d 33 32 24 0d 0a | 0d 0a 54 68 65 20 45 78 |n:=32$..|..The Ex|
|00001700| 61 6d 20 42 75 69 6c 64 | 65 72 20 77 69 6c 6c 20 |am Build|er will |
|00001710| 75 73 65 20 74 68 65 73 | 65 20 74 77 6f 20 69 6d |use thes|e two im|
|00001720| 6d 65 64 69 61 74 65 20 | 64 65 66 69 6e 69 74 69 |mediate |definiti|
|00001730| 6f 6e 73 20 74 6f 20 65 | 76 61 6c 75 61 74 65 20 |ons to e|valuate |
|00001740| 74 68 65 0d 0a 76 61 72 | 69 61 62 6c 65 73 20 24 |the..var|iables $|
|00001750| 6d 24 20 61 6e 64 20 24 | 6e 24 20 77 68 65 6e 20 |m$ and $|n$ when |
|00001760| 61 6e 20 69 6e 73 74 61 | 6e 63 65 20 6f 66 20 74 |an insta|nce of t|
|00001770| 68 65 20 65 78 61 6d 20 | 69 6e 20 77 68 69 63 68 |he exam |in which|
|00001780| 20 74 68 65 79 20 61 70 | 70 65 61 72 20 69 73 0d | they ap|pear is.|
|00001790| 0a 67 65 6e 65 72 61 74 | 65 64 2e 20 49 66 20 74 |.generat|ed. If t|
|000017a0| 68 65 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 61 |he defin|itions a|
|000017b0| 70 70 65 61 72 20 69 6e | 20 74 68 65 20 53 65 74 |ppear in| the Set|
|000017c0| 75 70 20 73 65 63 74 69 | 6f 6e 20 66 6f 72 20 74 |up secti|on for t|
|000017d0| 68 65 20 65 78 61 6d 2c | 20 74 68 65 0d 0a 76 61 |he exam,| the..va|
|000017e0| 6c 75 65 73 20 77 69 6c | 6c 20 61 70 70 6c 79 20 |lues wil|l apply |
|000017f0| 74 6f 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 73 |to the v|ariables|
|00001800| 20 24 6d 24 20 61 6e 64 | 20 24 6e 24 20 74 68 72 | $m$ and| $n$ thr|
|00001810| 6f 75 67 68 6f 75 74 20 | 74 68 65 20 65 78 61 6d |oughout |the exam|
|00001820| 2e 20 49 66 20 74 68 65 | 0d 0a 64 65 66 69 6e 69 |. If the|..defini|
|00001830| 74 69 6f 6e 73 20 61 70 | 70 65 61 72 20 69 6e 20 |tions ap|pear in |
|00001840| 74 68 65 20 53 65 74 75 | 70 20 73 65 63 74 69 6f |the Setu|p sectio|
|00001850| 6e 20 66 6f 72 20 61 20 | 71 75 65 73 74 69 6f 6e |n for a |question|
|00001860| 2c 20 74 68 65 79 20 77 | 69 6c 6c 20 61 70 70 6c |, they w|ill appl|
|00001870| 79 20 74 6f 0d 0a 74 68 | 65 20 76 61 72 69 61 62 |y to..th|e variab|
|00001880| 6c 65 73 20 24 6d 24 20 | 61 6e 64 20 24 6e 24 20 |les $m$ |and $n$ |
|00001890| 77 68 65 72 65 20 74 68 | 65 79 20 6f 63 63 75 72 |where th|ey occur|
|000018a0| 20 69 6e 20 74 68 65 20 | 71 75 65 73 74 69 6f 6e | in the |question|
|000018b0| 2e 0d 0a 0d 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |.....\su|bsection|
|000018c0| 7b 55 73 69 6e 67 20 72 | 61 6e 64 6f 6d 20 6e 75 |{Using r|andom nu|
|000018d0| 6d 62 65 72 20 66 75 6e | 63 74 69 6f 6e 73 5c 6c |mber fun|ctions\l|
|000018e0| 61 62 65 6c 25 0d 0a 7b | 55 73 69 6e 67 20 72 61 |abel%..{|Using ra|
|000018f0| 6e 64 6f 6d 20 6e 75 6d | 62 65 72 20 66 75 6e 63 |ndom num|ber func|
|00001900| 74 69 6f 6e 73 7d 7d 0d | 0a 0d 0a 44 65 66 69 6e |tions}}.|...Defin|
|00001910| 69 6e 67 20 76 61 72 69 | 61 62 6c 65 73 20 75 73 |ing vari|ables us|
|00001920| 69 6e 67 20 72 61 6e 64 | 6f 6d 20 6e 75 6d 62 65 |ing rand|om numbe|
|00001930| 72 73 20 69 73 20 74 68 | 65 20 62 61 73 69 73 20 |rs is th|e basis |
|00001940| 6f 66 20 63 72 65 61 74 | 69 6e 67 20 61 6c 67 6f |of creat|ing algo|
|00001950| 72 69 74 68 6d 69 63 0d | 0a 76 61 72 69 61 74 69 |rithmic.|.variati|
|00001960| 6f 6e 73 2e 20 54 68 65 | 20 62 61 73 69 63 20 5c |ons. The| basic \|
|00001970| 74 65 78 74 69 74 7b 53 | 63 69 65 6e 74 69 66 69 |textit{S|cientifi|
|00001980| 63 20 4e 6f 74 65 62 6f | 6f 6b 20 7d 72 61 6e 64 |c Notebo|ok }rand|
|00001990| 6f 6d 20 6e 75 6d 62 65 | 72 20 66 75 6e 63 74 69 |om numbe|r functi|
|000019a0| 6f 6e 20 69 73 0d 0a 63 | 61 6c 6c 65 64 20 5c 74 |on is..c|alled \t|
|000019b0| 65 78 74 62 66 7b 72 61 | 6e 64 2e 20 7d 57 68 65 |extbf{ra|nd. }Whe|
|000019c0| 6e 20 74 68 65 20 69 6e | 73 65 72 74 69 6f 6e 20 |n the in|sertion |
|000019d0| 70 6f 69 6e 74 20 69 73 | 20 69 6e 20 6d 61 74 68 |point is| in math|
|000019e0| 65 6d 61 74 69 63 73 20 | 61 6e 64 20 79 6f 75 0d |ematics |and you.|
|000019f0| 0a 74 79 70 65 20 74 68 | 65 20 66 75 6e 63 74 69 |.type th|e functi|
|00001a00| 6f 6e 20 6e 61 6d 65 2c | 20 5c 74 65 78 74 69 74 |on name,| \textit|
|00001a10| 7b 53 63 69 65 6e 74 69 | 66 69 63 20 4e 6f 74 65 |{Scienti|fic Note|
|00001a20| 62 6f 6f 6b 20 7d 61 75 | 74 6f 6d 61 74 69 63 61 |book }au|tomatica|
|00001a30| 6c 6c 79 0d 0a 72 65 63 | 6f 67 6e 69 7a 65 73 20 |lly..rec|ognizes |
|00001a40| 74 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 61 6e 64 |the func|tion and|
|00001a50| 20 64 69 73 70 6c 61 79 | 73 20 69 74 20 6f 6e 20 | display|s it on |
|00001a60| 79 6f 75 72 20 73 63 72 | 65 65 6e 20 69 6e 20 67 |your scr|een in g|
|00001a70| 72 61 79 20 6c 65 74 74 | 65 72 73 2e 0d 0a 28 4d |ray lett|ers...(M|
|00001a80| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ore info|rmation |
|00001a90| 61 62 6f 75 74 20 75 73 | 69 6e 67 20 6d 61 74 68 |about us|ing math|
|00001aa0| 65 6d 61 74 69 63 61 6c | 20 66 75 6e 63 74 69 6f |ematical| functio|
|00001ab0| 6e 73 20 69 6e 20 5c 74 | 65 78 74 69 74 7b 53 63 |ns in \t|extit{Sc|
|00001ac0| 69 65 6e 74 69 66 69 63 | 0d 0a 4e 6f 74 65 62 6f |ientific|..Notebo|
|00001ad0| 6f 6b 20 7d 69 73 20 61 | 76 61 69 6c 61 62 6c 65 |ok }is a|vailable|
|00001ae0| 20 6f 6e 6c 69 6e 65 20 | 76 69 61 20 74 68 65 20 | online |via the |
|00001af0| 5c 68 79 70 65 72 72 65 | 66 7b 48 65 6c 70 20 43 |\hyperre|f{Help C|
|00001b00| 6f 6e 74 65 6e 74 73 7d | 7b 7d 7b 7d 7b 25 0d 0a |ontents}|{}{}{%..|
|00001b10| 43 6f 6e 74 65 6e 74 73 | 2e 74 65 78 7d 2e 29 20 |Contents|.tex}.) |
|00001b20| 59 6f 75 20 63 61 6e 20 | 63 6f 6d 62 69 6e 65 20 |You can |combine |
|00001b30| 72 61 6e 64 6f 6d 20 6e | 75 6d 62 65 72 20 66 75 |random n|umber fu|
|00001b40| 6e 63 74 69 6f 6e 73 20 | 77 69 74 68 20 64 65 66 |nctions |with def|
|00001b50| 69 6e 69 74 69 6f 6e 73 | 20 74 6f 0d 0a 67 61 69 |initions| to..gai|
|00001b60| 6e 20 61 20 70 6f 77 65 | 72 66 75 6c 20 61 6c 67 |n a powe|rful alg|
|00001b70| 6f 72 69 74 68 6d 69 63 | 20 74 6f 6f 6c 2e 0d 0a |orithmic| tool...|
|00001b80| 0d 0a 54 68 65 20 24 5c | 66 75 6e 63 7b 72 61 6e |..The $\|func{ran|
|00001b90| 64 7d 24 20 66 75 6e 63 | 74 69 6f 6e 20 68 61 73 |d}$ func|tion has|
|00001ba0| 20 66 6f 75 72 20 66 6f | 72 6d 73 3a 5c 6d 65 64 | four fo|rms:\med|
|00001bb0| 73 6b 69 70 0d 0a 0d 0a | 5c 62 65 67 69 6e 7b 69 |skip....|\begin{i|
|00001bc0| 74 65 6d 69 7a 65 7d 0d | 0a 5c 69 74 65 6d 20 20 |temize}.|.\item |
|00001bd0| 54 68 65 20 66 6f 72 6d | 20 24 5c 66 75 6e 63 7b |The form| $\func{|
|00001be0| 72 61 6e 64 7d 28 29 24 | 2d 2d 2d 77 69 74 68 20 |rand}()$|---with |
|00001bf0| 6e 6f 20 61 72 67 75 6d | 65 6e 74 2d 2d 2d 70 72 |no argum|ent---pr|
|00001c00| 6f 64 75 63 65 73 20 61 | 20 72 61 6e 64 6f 6d 0d |oduces a| random.|
|00001c10| 0a 69 6e 74 65 67 65 72 | 20 66 72 6f 6d 20 61 20 |.integer| from a |
|00001c20| 6c 61 72 67 65 20 72 61 | 6e 67 65 2e 5c 6d 65 64 |large ra|nge.\med|
|00001c30| 73 6b 69 70 0d 0a 0d 0a | 5c 46 52 41 4d 45 7b 69 |skip....|\FRAME{i|
|00001c40| 74 62 70 46 7d 7b 34 33 | 2e 31 32 35 70 74 7d 7b |tbpF}{43|.125pt}{|
|00001c50| 31 38 2e 35 70 74 7d 7b | 34 70 74 7d 7b 7d 7b 7d |18.5pt}{|4pt}{}{}|
|00001c60| 7b 65 78 33 2e 77 6d 66 | 7d 7b 5c 73 70 65 63 69 |{ex3.wmf|}{\speci|
|00001c70| 61 6c 7b 6c 61 6e 67 75 | 61 67 65 0d 0a 22 53 63 |al{langu|age.."Sc|
|00001c80| 69 65 6e 74 69 66 69 63 | 20 57 6f 72 64 22 3b 74 |ientific| Word";t|
|00001c90| 79 70 65 20 22 47 52 41 | 50 48 49 43 22 3b 6d 61 |ype "GRA|PHIC";ma|
|00001ca0| 69 6e 74 61 69 6e 2d 61 | 73 70 65 63 74 2d 72 61 |intain-a|spect-ra|
|00001cb0| 74 69 6f 20 54 52 55 45 | 3b 64 69 73 70 6c 61 79 |tio TRUE|;display|
|00001cc0| 0d 0a 22 50 49 43 54 22 | 3b 76 61 6c 69 64 5f 66 |.."PICT"|;valid_f|
|00001cd0| 69 6c 65 20 22 46 22 3b | 77 69 64 74 68 20 34 33 |ile "F";|width 43|
|00001ce0| 2e 31 32 35 70 74 3b 68 | 65 69 67 68 74 20 31 38 |.125pt;h|eight 18|
|00001cf0| 2e 35 70 74 3b 64 65 70 | 74 68 20 34 70 74 3b 6f |.5pt;dep|th 4pt;o|
|00001d00| 72 69 67 69 6e 61 6c 2d | 77 69 64 74 68 0d 0a 34 |riginal-|width..4|
|00001d10| 38 2e 38 37 35 70 74 3b | 6f 72 69 67 69 6e 61 6c |8.875pt;|original|
|00001d20| 2d 68 65 69 67 68 74 20 | 31 39 2e 35 36 32 35 70 |-height |19.5625p|
|00001d30| 74 3b 63 72 6f 70 6c 65 | 66 74 20 22 30 22 3b 63 |t;crople|ft "0";c|
|00001d40| 72 6f 70 74 6f 70 20 22 | 31 22 3b 63 72 6f 70 72 |roptop "|1";cropr|
|00001d50| 69 67 68 74 0d 0a 22 31 | 22 3b 63 72 6f 70 62 6f |ight.."1|";cropbo|
|00001d60| 74 74 6f 6d 20 22 30 22 | 3b 66 69 6c 65 6e 61 6d |ttom "0"|;filenam|
|00001d70| 65 20 27 45 78 33 2e 77 | 6d 66 27 3b 66 69 6c 65 |e 'Ex3.w|mf';file|
|00001d80| 2d 70 72 6f 70 65 72 74 | 69 65 73 20 22 4e 50 45 |-propert|ies "NPE|
|00001d90| 55 22 3b 7d 7d 24 5c 66 | 75 6e 63 7b 72 61 6e 64 |U";}}$\f|unc{rand|
|00001da0| 7d 25 0d 0a 28 29 20 24 | 20 6d 69 67 68 74 20 79 |}%..() $| might y|
|00001db0| 69 65 6c 64 20 61 20 6e | 75 6d 62 65 72 20 73 75 |ield a n|umber su|
|00001dc0| 63 68 20 61 73 20 24 34 | 32 37 34 31 39 36 36 39 |ch as $4|27419669|
|00001dd0| 30 38 31 24 2c 20 24 33 | 32 31 31 31 30 36 39 33 |081$, $3|21110693|
|00001de0| 32 37 30 24 2c 20 6f 72 | 20 24 25 0d 0a 33 34 33 |270$, or| $%..343|
|00001df0| 36 33 33 30 37 33 36 39 | 37 24 2e 5c 62 69 67 73 |63307369|7$.\bigs|
|00001e00| 6b 69 70 0d 0a 0d 0a 5c | 69 74 65 6d 20 20 54 68 |kip....\|item Th|
|00001e10| 65 20 66 6f 72 6d 20 24 | 5c 6c 69 6d 66 75 6e 63 |e form $|\limfunc|
|00001e20| 7b 72 61 6e 64 7d 28 6e | 29 24 2c 20 77 68 65 72 |{rand}(n|)$, wher|
|00001e30| 65 20 24 6e 24 20 61 73 | 20 61 20 73 69 6e 67 6c |e $n$ as| a singl|
|00001e40| 65 20 70 6f 73 69 74 69 | 76 65 20 69 6e 74 65 67 |e positi|ve integ|
|00001e50| 65 72 2c 0d 0a 70 72 6f | 64 75 63 65 73 20 61 20 |er,..pro|duces a |
|00001e60| 72 61 6e 64 6f 6d 20 69 | 6e 74 65 67 65 72 20 62 |random i|nteger b|
|00001e70| 65 74 77 65 65 6e 20 24 | 30 24 20 61 6e 64 20 24 |etween $|0$ and $|
|00001e80| 6e 2d 31 2e 5c 6d 65 64 | 73 6b 69 70 20 24 0d 0a |n-1.\med|skip $..|
|00001e90| 0d 0a 5c 46 52 41 4d 45 | 7b 69 74 62 70 46 7d 7b |..\FRAME|{itbpF}{|
|00001ea0| 34 33 2e 31 32 35 70 74 | 7d 7b 31 38 2e 35 70 74 |43.125pt|}{18.5pt|
|00001eb0| 7d 7b 34 70 74 7d 7b 7d | 7b 7d 7b 65 78 33 2e 77 |}{4pt}{}|{}{ex3.w|
|00001ec0| 6d 66 7d 7b 5c 73 70 65 | 63 69 61 6c 7b 6c 61 6e |mf}{\spe|cial{lan|
|00001ed0| 67 75 61 67 65 0d 0a 22 | 53 63 69 65 6e 74 69 66 |guage.."|Scientif|
|00001ee0| 69 63 20 57 6f 72 64 22 | 3b 74 79 70 65 20 22 47 |ic Word"|;type "G|
|00001ef0| 52 41 50 48 49 43 22 3b | 6d 61 69 6e 74 61 69 6e |RAPHIC";|maintain|
|00001f00| 2d 61 73 70 65 63 74 2d | 72 61 74 69 6f 20 54 52 |-aspect-|ratio TR|
|00001f10| 55 45 3b 64 69 73 70 6c | 61 79 0d 0a 22 50 49 43 |UE;displ|ay.."PIC|
|00001f20| 54 22 3b 76 61 6c 69 64 | 5f 66 69 6c 65 20 22 46 |T";valid|_file "F|
|00001f30| 22 3b 77 69 64 74 68 20 | 34 33 2e 31 32 35 70 74 |";width |43.125pt|
|00001f40| 3b 68 65 69 67 68 74 20 | 31 38 2e 35 70 74 3b 64 |;height |18.5pt;d|
|00001f50| 65 70 74 68 20 34 70 74 | 3b 6f 72 69 67 69 6e 61 |epth 4pt|;origina|
|00001f60| 6c 2d 77 69 64 74 68 0d | 0a 34 38 2e 38 37 35 70 |l-width.|.48.875p|
|00001f70| 74 3b 6f 72 69 67 69 6e | 61 6c 2d 68 65 69 67 68 |t;origin|al-heigh|
|00001f80| 74 20 31 39 2e 35 36 32 | 35 70 74 3b 63 72 6f 70 |t 19.562|5pt;crop|
|00001f90| 6c 65 66 74 20 22 30 22 | 3b 63 72 6f 70 74 6f 70 |left "0"|;croptop|
|00001fa0| 20 22 31 22 3b 63 72 6f | 70 72 69 67 68 74 0d 0a | "1";cro|pright..|
|00001fb0| 22 31 22 3b 63 72 6f 70 | 62 6f 74 74 6f 6d 20 22 |"1";crop|bottom "|
|00001fc0| 30 22 3b 66 69 6c 65 6e | 61 6d 65 20 27 45 78 33 |0";filen|ame 'Ex3|
|00001fd0| 2e 77 6d 66 27 3b 66 69 | 6c 65 2d 70 72 6f 70 65 |.wmf';fi|le-prope|
|00001fe0| 72 74 69 65 73 20 22 4e | 50 45 55 22 3b 7d 7d 24 |rties "N|PEU";}}$|
|00001ff0| 5c 66 75 6e 63 7b 72 61 | 6e 64 7d 25 0d 0a 28 31 |\func{ra|nd}%..(1|
|00002000| 30 29 24 20 70 72 6f 64 | 75 63 65 73 20 6f 6e 65 |0)$ prod|uces one|
|00002010| 20 6f 66 20 74 68 65 73 | 65 20 6e 75 6d 62 65 72 | of thes|e number|
|00002020| 73 3a 20 24 31 2c 24 20 | 24 32 2c 24 20 24 33 2c |s: $1,$ |$2,$ $3,|
|00002030| 24 20 24 34 2c 24 20 24 | 35 2c 24 20 24 36 2c 24 |$ $4,$ $|5,$ $6,$|
|00002040| 20 24 37 2c 24 20 24 38 | 2c 24 0d 0a 6f 72 20 24 | $7,$ $8|,$..or $|
|00002050| 39 24 2e 5c 62 69 67 73 | 6b 69 70 0d 0a 0d 0a 5c |9$.\bigs|kip....\|
|00002060| 69 74 65 6d 20 20 54 68 | 65 20 66 6f 72 6d 20 24 |item Th|e form $|
|00002070| 5c 6c 69 6d 66 75 6e 63 | 7b 72 61 6e 64 7d 28 6e |\limfunc|{rand}(n|
|00002080| 2c 6d 29 24 2c 20 77 68 | 65 72 65 20 24 6e 3c 6d |,m)$, wh|ere $n<m|
|00002090| 24 2c 20 70 72 6f 64 75 | 63 65 73 20 61 20 72 61 |$, produ|ces a ra|
|000020a0| 6e 64 6f 6d 0d 0a 69 6e | 74 65 67 65 72 20 62 65 |ndom..in|teger be|
|000020b0| 74 77 65 65 6e 20 24 6e | 24 20 61 6e 64 20 24 6d |tween $n|$ and $m|
|000020c0| 24 2c 20 69 6e 63 6c 75 | 73 69 76 65 2e 5c 6d 65 |$, inclu|sive.\me|
|000020d0| 64 73 6b 69 70 0d 0a 0d | 0a 5c 46 52 41 4d 45 7b |dskip...|.\FRAME{|
|000020e0| 69 74 62 70 46 7d 7b 34 | 33 2e 31 32 35 70 74 7d |itbpF}{4|3.125pt}|
|000020f0| 7b 31 38 2e 35 70 74 7d | 7b 34 70 74 7d 7b 7d 7b |{18.5pt}|{4pt}{}{|
|00002100| 7d 7b 65 78 33 2e 77 6d | 66 7d 7b 5c 73 70 65 63 |}{ex3.wm|f}{\spec|
|00002110| 69 61 6c 7b 6c 61 6e 67 | 75 61 67 65 0d 0a 22 53 |ial{lang|uage.."S|
|00002120| 63 69 65 6e 74 69 66 69 | 63 20 57 6f 72 64 22 3b |cientifi|c Word";|
|00002130| 74 79 70 65 20 22 47 52 | 41 50 48 49 43 22 3b 6d |type "GR|APHIC";m|
|00002140| 61 69 6e 74 61 69 6e 2d | 61 73 70 65 63 74 2d 72 |aintain-|aspect-r|
|00002150| 61 74 69 6f 20 54 52 55 | 45 3b 64 69 73 70 6c 61 |atio TRU|E;displa|
|00002160| 79 0d 0a 22 50 49 43 54 | 22 3b 76 61 6c 69 64 5f |y.."PICT|";valid_|
|00002170| 66 69 6c 65 20 22 46 22 | 3b 77 69 64 74 68 20 34 |file "F"|;width 4|
|00002180| 33 2e 31 32 35 70 74 3b | 68 65 69 67 68 74 20 31 |3.125pt;|height 1|
|00002190| 38 2e 35 70 74 3b 64 65 | 70 74 68 20 34 70 74 3b |8.5pt;de|pth 4pt;|
|000021a0| 6f 72 69 67 69 6e 61 6c | 2d 77 69 64 74 68 0d 0a |original|-width..|
|000021b0| 34 38 2e 38 37 35 70 74 | 3b 6f 72 69 67 69 6e 61 |48.875pt|;origina|
|000021c0| 6c 2d 68 65 69 67 68 74 | 20 31 39 2e 35 36 32 35 |l-height| 19.5625|
|000021d0| 70 74 3b 63 72 6f 70 6c | 65 66 74 20 22 30 22 3b |pt;cropl|eft "0";|
|000021e0| 63 72 6f 70 74 6f 70 20 | 22 31 22 3b 63 72 6f 70 |croptop |"1";crop|
|000021f0| 72 69 67 68 74 0d 0a 22 | 31 22 3b 63 72 6f 70 62 |right.."|1";cropb|
|00002200| 6f 74 74 6f 6d 20 22 30 | 22 3b 66 69 6c 65 6e 61 |ottom "0|";filena|
|00002210| 6d 65 20 27 45 78 33 2e | 77 6d 66 27 3b 66 69 6c |me 'Ex3.|wmf';fil|
|00002220| 65 2d 70 72 6f 70 65 72 | 74 69 65 73 20 22 4e 50 |e-proper|ties "NP|
|00002230| 45 55 22 3b 7d 7d 24 5c | 66 75 6e 63 7b 72 61 6e |EU";}}$\|func{ran|
|00002240| 64 7d 25 0d 0a 28 32 2c | 37 29 24 20 70 72 6f 64 |d}%..(2,|7)$ prod|
|00002250| 75 63 65 73 20 6f 6e 65 | 20 6f 66 20 74 68 65 73 |uces one| of thes|
|00002260| 65 20 6e 75 6d 62 65 72 | 73 3a 20 24 32 2c 24 20 |e number|s: $2,$ |
|00002270| 24 33 2c 24 20 24 34 2c | 24 20 24 35 2c 24 20 24 |$3,$ $4,|$ $5,$ $|
|00002280| 36 2c 24 20 6f 72 20 24 | 37 24 25 0d 0a 2e 5c 62 |6,$ or $|7$%...\b|
|00002290| 69 67 73 6b 69 70 0d 0a | 0d 0a 5c 69 74 65 6d 20 |igskip..|..\item |
|000022a0| 20 54 68 65 20 66 6f 72 | 6d 20 24 5c 6c 69 6d 66 | The for|m $\limf|
|000022b0| 75 6e 63 7b 72 61 6e 64 | 7d 28 5c 7b 24 73 6f 6d |unc{rand|}(\{$som|
|000022c0| 65 20 73 65 74 24 5c 7d | 29 24 20 70 72 6f 64 75 |e set$\}|)$ produ|
|000022d0| 63 65 73 20 61 6e 20 65 | 6c 65 6d 65 6e 74 0d 0a |ces an e|lement..|
|000022e0| 73 65 6c 65 63 74 65 64 | 20 61 74 20 72 61 6e 64 |selected| at rand|
|000022f0| 6f 6d 20 66 72 6f 6d 20 | 74 68 65 20 73 70 65 63 |om from |the spec|
|00002300| 69 66 69 65 64 20 73 65 | 74 2e 5c 6d 65 64 73 6b |ified se|t.\medsk|
|00002310| 69 70 0d 0a 0d 0a 5c 46 | 52 41 4d 45 7b 69 74 62 |ip....\F|RAME{itb|
|00002320| 70 46 7d 7b 34 33 2e 31 | 32 35 70 74 7d 7b 31 38 |pF}{43.1|25pt}{18|
|00002330| 2e 35 70 74 7d 7b 34 70 | 74 7d 7b 7d 7b 7d 7b 65 |.5pt}{4p|t}{}{}{e|
|00002340| 78 33 2e 77 6d 66 7d 7b | 5c 73 70 65 63 69 61 6c |x3.wmf}{|\special|
|00002350| 7b 6c 61 6e 67 75 61 67 | 65 0d 0a 22 53 63 69 65 |{languag|e.."Scie|
|00002360| 6e 74 69 66 69 63 20 57 | 6f 72 64 22 3b 74 79 70 |ntific W|ord";typ|
|00002370| 65 20 22 47 52 41 50 48 | 49 43 22 3b 6d 61 69 6e |e "GRAPH|IC";main|
|00002380| 74 61 69 6e 2d 61 73 70 | 65 63 74 2d 72 61 74 69 |tain-asp|ect-rati|
|00002390| 6f 20 54 52 55 45 3b 64 | 69 73 70 6c 61 79 0d 0a |o TRUE;d|isplay..|
|000023a0| 22 50 49 43 54 22 3b 76 | 61 6c 69 64 5f 66 69 6c |"PICT";v|alid_fil|
|000023b0| 65 20 22 46 22 3b 77 69 | 64 74 68 20 34 33 2e 31 |e "F";wi|dth 43.1|
|000023c0| 32 35 70 74 3b 68 65 69 | 67 68 74 20 31 38 2e 35 |25pt;hei|ght 18.5|
|000023d0| 70 74 3b 64 65 70 74 68 | 20 34 70 74 3b 6f 72 69 |pt;depth| 4pt;ori|
|000023e0| 67 69 6e 61 6c 2d 77 69 | 64 74 68 0d 0a 34 38 2e |ginal-wi|dth..48.|
|000023f0| 38 37 35 70 74 3b 6f 72 | 69 67 69 6e 61 6c 2d 68 |875pt;or|iginal-h|
|00002400| 65 69 67 68 74 20 31 39 | 2e 35 36 32 35 70 74 3b |eight 19|.5625pt;|
|00002410| 63 72 6f 70 6c 65 66 74 | 20 22 30 22 3b 63 72 6f |cropleft| "0";cro|
|00002420| 70 74 6f 70 20 22 31 22 | 3b 63 72 6f 70 72 69 67 |ptop "1"|;croprig|
|00002430| 68 74 0d 0a 22 31 22 3b | 63 72 6f 70 62 6f 74 74 |ht.."1";|cropbott|
|00002440| 6f 6d 20 22 30 22 3b 66 | 69 6c 65 6e 61 6d 65 20 |om "0";f|ilename |
|00002450| 27 45 78 33 2e 77 6d 66 | 27 3b 66 69 6c 65 2d 70 |'Ex3.wmf|';file-p|
|00002460| 72 6f 70 65 72 74 69 65 | 73 20 22 4e 50 45 55 22 |ropertie|s "NPEU"|
|00002470| 3b 7d 7d 24 5c 6c 69 6d | 66 75 6e 63 7b 72 61 6e |;}}$\lim|func{ran|
|00002480| 64 25 0d 0a 7d 28 5c 7b | 32 2c 34 2c 36 2c 38 5c |d%..}(\{|2,4,6,8\|
|00002490| 7d 29 24 20 70 72 6f 64 | 75 63 65 73 20 6f 6e 65 |})$ prod|uces one|
|000024a0| 20 6f 66 20 74 68 65 73 | 65 20 6e 75 6d 62 65 72 | of thes|e number|
|000024b0| 73 3a 20 24 32 2c 24 20 | 24 34 2c 24 20 24 36 2c |s: $2,$ |$4,$ $6,|
|000024c0| 24 20 6f 72 20 24 38 24 | 2e 5c 6d 65 64 73 6b 69 |$ or $8$|.\medski|
|000024d0| 70 0d 0a 0d 0a 54 68 69 | 73 20 66 6f 72 6d 20 6f |p....Thi|s form o|
|000024e0| 66 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 63 |f the fu|nction c|
|000024f0| 61 6e 20 61 6c 73 6f 20 | 62 65 20 75 73 65 64 20 |an also |be used |
|00002500| 77 69 74 68 20 65 78 70 | 72 65 73 73 69 6f 6e 73 |with exp|ressions|
|00002510| 2e 20 54 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 24 |. The fu|nction $|
|00002520| 25 0d 0a 5c 6c 69 6d 66 | 75 6e 63 7b 72 61 6e 64 |%..\limf|unc{rand|
|00002530| 7d 28 5c 7b 5c 73 69 6e | 20 78 2c 5c 63 6f 73 20 |}(\{\sin| x,\cos |
|00002540| 78 5c 7d 29 24 20 72 61 | 6e 64 6f 6d 6c 79 20 73 |x\})$ ra|ndomly s|
|00002550| 65 6c 65 63 74 73 20 65 | 69 74 68 65 72 20 24 5c |elects e|ither $\|
|00002560| 73 69 6e 20 78 24 20 6f | 72 20 24 5c 63 6f 73 0d |sin x$ o|r $\cos.|
|00002570| 0a 78 24 2e 5c 62 69 67 | 73 6b 69 70 0d 0a 5c 65 |.x$.\big|skip..\e|
|00002580| 6e 64 7b 69 74 65 6d 69 | 7a 65 7d 0d 0a 0d 0a 41 |nd{itemi|ze}....A|
|00002590| 6e 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 72 61 6e |n additi|onal ran|
|000025a0| 64 6f 6d 20 6e 75 6d 62 | 65 72 20 66 75 6e 63 74 |dom numb|er funct|
|000025b0| 69 6f 6e 2c 20 63 61 6c | 6c 65 64 20 5c 74 65 78 |ion, cal|led \tex|
|000025c0| 74 62 66 7b 72 61 6e 64 | 6d 61 74 7d 2c 20 70 72 |tbf{rand|mat}, pr|
|000025d0| 6f 64 75 63 65 73 0d 0a | 72 61 6e 64 6f 6d 20 6d |oduces..|random m|
|000025e0| 61 74 72 69 63 65 73 20 | 6f 66 20 76 61 72 69 6f |atrices |of vario|
|000025f0| 75 73 20 74 79 70 65 73 | 2e 20 54 68 65 20 66 75 |us types|. The fu|
|00002600| 6e 63 74 69 6f 6e 20 68 | 61 73 20 74 68 69 73 20 |nction h|as this |
|00002610| 66 6f 72 6d 3a 5c 6d 65 | 64 73 6b 69 70 20 5c 6c |form:\me|dskip \l|
|00002620| 61 62 65 6c 25 0d 0a 7b | 52 61 6e 64 6f 6d 20 6d |abel%..{|Random m|
|00002630| 61 74 72 69 78 20 66 75 | 6e 63 74 69 6f 6e 7d 0d |atrix fu|nction}.|
|00002640| 0a 0d 0a 5c 62 65 67 69 | 6e 7b 63 65 6e 74 65 72 |...\begi|n{center|
|00002650| 7d 0d 0a 24 5c 66 75 6e | 63 7b 72 61 6e 64 6d 61 |}..$\fun|c{randma|
|00002660| 74 7d 5c 6c 65 66 74 28 | 20 61 2c 62 2c 63 2c 5c |t}\left(| a,b,c,\|
|00002670| 6c 65 66 74 28 20 64 5c | 72 69 67 68 74 29 20 5c |left( d\|right) \|
|00002680| 72 69 67 68 74 29 20 24 | 0d 0a 5c 65 6e 64 7b 63 |right) $|..\end{c|
|00002690| 65 6e 74 65 72 7d 0d 0a | 0d 0a 77 68 65 72 65 0d |enter}..|..where.|
|000026a0| 0a 0d 0a 24 61 24 20 69 | 73 20 74 68 65 20 6e 75 |...$a$ i|s the nu|
|000026b0| 6d 62 65 72 20 6f 66 20 | 6d 61 74 72 69 78 20 72 |mber of |matrix r|
|000026c0| 6f 77 73 2c 0d 0a 0d 0a | 24 62 24 20 69 73 20 74 |ows,....|$b$ is t|
|000026d0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6d 61 74 |he numbe|r of mat|
|000026e0| 72 69 78 20 63 6f 6c 75 | 6d 6e 73 2c 0d 0a 0d 0a |rix colu|mns,....|
|000026f0| 24 63 24 20 69 73 20 74 | 68 65 20 6d 61 74 72 69 |$c$ is t|he matri|
|00002700| 78 20 74 79 70 65 2c 20 | 77 69 74 68 0d 0a 0d 0a |x type, |with....|
|00002710| 5c 71 71 75 61 64 20 31 | 20 3d 20 61 72 62 69 74 |\qquad 1| = arbit|
|00002720| 72 61 72 79 0d 0a 0d 0a | 5c 71 71 75 61 64 20 32 |rary....|\qquad 2|
|00002730| 20 3d 20 73 79 6d 6d 65 | 74 72 69 63 20 28 6d 75 | = symme|tric (mu|
|00002740| 73 74 20 62 65 20 73 71 | 75 61 72 65 29 0d 0a 0d |st be sq|uare)...|
|00002750| 0a 5c 71 71 75 61 64 20 | 33 20 3d 20 61 6e 74 69 |.\qquad |3 = anti|
|00002760| 73 79 6d 6d 65 74 72 69 | 63 20 28 6d 75 73 74 20 |symmetri|c (must |
|00002770| 62 65 20 73 71 75 61 72 | 65 29 0d 0a 0d 0a 5c 71 |be squar|e)....\q|
|00002780| 71 75 61 64 20 34 20 3d | 20 75 6e 69 6d 6f 64 75 |quad 4 =| unimodu|
|00002790| 6c 61 72 20 61 6e 64 0d | 0a 0d 0a 24 5c 6c 65 66 |lar and.|...$\lef|
|000027a0| 74 28 20 64 5c 72 69 67 | 68 74 29 20 24 20 69 73 |t( d\rig|ht) $ is|
|000027b0| 20 74 68 65 20 73 65 6c | 65 63 74 69 6f 6e 20 72 | the sel|ection r|
|000027c0| 61 6e 67 65 20 66 6f 72 | 20 74 68 65 20 76 61 6c |ange for| the val|
|000027d0| 75 65 73 20 69 6e 20 74 | 68 65 20 6d 61 74 72 69 |ues in t|he matri|
|000027e0| 78 3a 0d 0a 0d 0a 5c 71 | 71 75 61 64 20 54 68 65 |x:....\q|quad The|
|000027f0| 20 72 61 6e 67 65 20 24 | 28 6e 29 2c 24 20 77 69 | range $|(n),$ wi|
|00002800| 74 68 20 24 6e 24 20 61 | 73 20 61 20 73 69 6e 67 |th $n$ a|s a sing|
|00002810| 6c 65 20 70 6f 73 69 74 | 69 76 65 20 69 6e 74 65 |le posit|ive inte|
|00002820| 67 65 72 2c 20 70 72 6f | 64 75 63 65 73 0d 0a 6d |ger, pro|duces..m|
|00002830| 61 74 72 69 78 20 76 61 | 6c 75 65 73 20 62 65 74 |atrix va|lues bet|
|00002840| 77 65 65 6e 20 24 30 24 | 20 61 6e 64 20 24 6e 2d |ween $0$| and $n-|
|00002850| 31 2e 24 0d 0a 0d 0a 5c | 71 71 75 61 64 20 54 68 |1.$....\|qquad Th|
|00002860| 65 20 72 61 6e 67 65 20 | 24 28 6e 2c 6d 29 2c 24 |e range |$(n,m),$|
|00002870| 20 77 68 65 72 65 20 24 | 6e 3c 6d 24 2c 20 70 72 | where $|n<m$, pr|
|00002880| 6f 64 75 63 65 73 20 6d | 61 74 72 69 78 20 76 61 |oduces m|atrix va|
|00002890| 6c 75 65 73 20 62 65 74 | 77 65 65 6e 20 24 6e 24 |lues bet|ween $n$|
|000028a0| 0d 0a 61 6e 64 20 24 6d | 24 2c 20 69 6e 63 6c 75 |..and $m|$, inclu|
|000028b0| 73 69 76 65 2e 0d 0a 0d | 0a 5c 71 71 75 61 64 20 |sive....|.\qquad |
|000028c0| 54 68 65 20 72 61 6e 67 | 65 20 24 28 5c 7b 24 73 |The rang|e $(\{$s|
|000028d0| 6f 6d 65 20 73 65 74 24 | 5c 7d 29 24 20 70 72 6f |ome set$|\})$ pro|
|000028e0| 64 75 63 65 73 20 6d 61 | 74 72 69 78 20 76 61 6c |duces ma|trix val|
|000028f0| 75 65 73 20 73 65 6c 65 | 63 74 65 64 20 61 74 0d |ues sele|cted at.|
|00002900| 0a 72 61 6e 64 6f 6d 20 | 66 72 6f 6d 20 74 68 65 |.random |from the|
|00002910| 20 73 70 65 63 69 66 69 | 65 64 20 73 65 74 2e 5c | specifi|ed set.\|
|00002920| 6d 65 64 73 6b 69 70 0d | 0a 0d 0a 5c 6e 6f 69 6e |medskip.|...\noin|
|00002930| 64 65 6e 74 20 5c 46 52 | 41 4d 45 7b 69 74 62 70 |dent \FR|AME{itbp|
|00002940| 46 7d 7b 34 33 2e 31 32 | 35 70 74 7d 7b 31 38 2e |F}{43.12|5pt}{18.|
|00002950| 35 70 74 7d 7b 34 70 74 | 7d 7b 7d 7b 7d 7b 65 78 |5pt}{4pt|}{}{}{ex|
|00002960| 33 2e 77 6d 66 7d 7b 5c | 73 70 65 63 69 61 6c 25 |3.wmf}{\|special%|
|00002970| 0d 0a 7b 6c 61 6e 67 75 | 61 67 65 20 22 53 63 69 |..{langu|age "Sci|
|00002980| 65 6e 74 69 66 69 63 20 | 57 6f 72 64 22 3b 74 79 |entific |Word";ty|
|00002990| 70 65 20 22 47 52 41 50 | 48 49 43 22 3b 6d 61 69 |pe "GRAP|HIC";mai|
|000029a0| 6e 74 61 69 6e 2d 61 73 | 70 65 63 74 2d 72 61 74 |ntain-as|pect-rat|
|000029b0| 69 6f 0d 0a 54 52 55 45 | 3b 64 69 73 70 6c 61 79 |io..TRUE|;display|
|000029c0| 20 22 50 49 43 54 22 3b | 76 61 6c 69 64 5f 66 69 | "PICT";|valid_fi|
|000029d0| 6c 65 20 22 46 22 3b 77 | 69 64 74 68 20 34 33 2e |le "F";w|idth 43.|
|000029e0| 31 32 35 70 74 3b 68 65 | 69 67 68 74 20 31 38 2e |125pt;he|ight 18.|
|000029f0| 35 70 74 3b 64 65 70 74 | 68 0d 0a 34 70 74 3b 6f |5pt;dept|h..4pt;o|
|00002a00| 72 69 67 69 6e 61 6c 2d | 77 69 64 74 68 20 34 38 |riginal-|width 48|
|00002a10| 2e 38 37 35 70 74 3b 6f | 72 69 67 69 6e 61 6c 2d |.875pt;o|riginal-|
|00002a20| 68 65 69 67 68 74 20 31 | 39 2e 35 36 32 35 70 74 |height 1|9.5625pt|
|00002a30| 3b 63 72 6f 70 6c 65 66 | 74 20 22 30 22 3b 63 72 |;croplef|t "0";cr|
|00002a40| 6f 70 74 6f 70 0d 0a 22 | 31 22 3b 63 72 6f 70 72 |optop.."|1";cropr|
|00002a50| 69 67 68 74 20 22 31 22 | 3b 63 72 6f 70 62 6f 74 |ight "1"|;cropbot|
|00002a60| 74 6f 6d 20 22 30 22 3b | 66 69 6c 65 6e 61 6d 65 |tom "0";|filename|
|00002a70| 20 27 45 78 33 2e 77 6d | 66 27 3b 66 69 6c 65 2d | 'Ex3.wm|f';file-|
|00002a80| 70 72 6f 70 65 72 74 69 | 65 73 20 22 4e 50 45 55 |properti|es "NPEU|
|00002a90| 22 3b 7d 7d 25 0d 0a 54 | 68 65 20 66 75 6e 63 74 |";}}%..T|he funct|
|00002aa0| 69 6f 6e 20 24 5c 66 75 | 6e 63 7b 72 61 6e 64 6d |ion $\fu|nc{randm|
|00002ab0| 61 74 7d 5c 6c 65 66 74 | 28 20 34 2c 34 2c 31 2c |at}\left|( 4,4,1,|
|00002ac0| 5c 6c 65 66 74 28 20 31 | 2c 39 5c 72 69 67 68 74 |\left( 1|,9\right|
|00002ad0| 29 20 5c 72 69 67 68 74 | 29 20 24 0d 0a 70 72 6f |) \right|) $..pro|
|00002ae0| 64 75 63 65 73 20 61 20 | 34 24 5c 74 69 6d 65 73 |duces a |4$\times|
|00002af0| 20 24 34 20 61 72 62 69 | 74 72 61 72 79 20 6d 61 | $4 arbi|trary ma|
|00002b00| 74 72 69 78 20 77 68 6f | 73 65 20 76 61 6c 75 65 |trix who|se value|
|00002b10| 73 20 61 72 65 20 62 65 | 74 77 65 65 6e 20 31 20 |s are be|tween 1 |
|00002b20| 61 6e 64 20 39 2c 0d 0a | 69 6e 63 6c 75 73 69 76 |and 9,..|inclusiv|
|00002b30| 65 2e 20 48 65 72 65 27 | 73 20 61 6e 20 65 78 61 |e. Here'|s an exa|
|00002b40| 6d 70 6c 65 3a 0d 0a 0d | 0a 5c 62 65 67 69 6e 7b |mple:...|.\begin{|
|00002b50| 63 65 6e 74 65 72 7d 0d | 0a 24 5c 66 75 6e 63 7b |center}.|.$\func{|
|00002b60| 72 61 6e 64 6d 61 74 7d | 5c 6c 65 66 74 28 20 34 |randmat}|\left( 4|
|00002b70| 2c 34 2c 31 2c 5c 6c 65 | 66 74 28 20 31 2c 39 5c |,4,1,\le|ft( 1,9\|
|00002b80| 72 69 67 68 74 29 20 5c | 72 69 67 68 74 29 20 3d |right) \|right) =|
|00002b90| 5c 61 6c 6c 6f 77 62 72 | 65 61 6b 20 0d 0a 5c 62 |\allowbr|eak ..\b|
|00002ba0| 65 67 69 6e 7b 61 72 72 | 61 79 7d 7b 63 63 63 63 |egin{arr|ay}{cccc|
|00002bb0| 7d 0d 0a 37 20 26 20 38 | 20 26 20 38 20 26 20 34 |}..7 & 8| & 8 & 4|
|00002bc0| 20 5c 5c 20 0d 0a 31 20 | 26 20 33 20 26 20 34 20 | \\ ..1 |& 3 & 4 |
|00002bd0| 26 20 33 20 5c 5c 20 0d | 0a 34 20 26 20 34 20 26 |& 3 \\ .|.4 & 4 &|
|00002be0| 20 38 20 26 20 39 20 5c | 5c 20 0d 0a 34 20 26 20 | 8 & 9 \|\ ..4 & |
|00002bf0| 36 20 26 20 31 20 26 20 | 36 0d 0a 5c 65 6e 64 7b |6 & 1 & |6..\end{|
|00002c00| 61 72 72 61 79 7d 0d 0a | 5c 6d 65 64 73 6b 69 70 |array}..|\medskip|
|00002c10| 20 24 0d 0a 5c 65 6e 64 | 7b 63 65 6e 74 65 72 7d | $..\end|{center}|
|00002c20| 0d 0a 0d 0a 5c 73 75 62 | 70 61 72 61 67 72 61 70 |....\sub|paragrap|
|00002c30| 68 7b 5c 6e 6f 69 6e 64 | 65 6e 74 20 24 5c 62 6c |h{\noind|ent $\bl|
|00002c40| 61 63 6b 74 72 69 61 6e | 67 6c 65 72 69 67 68 74 |acktrian|gleright|
|00002c50| 20 24 5c 71 75 61 64 20 | 5c 74 65 78 74 62 66 7b | $\quad |\textbf{|
|00002c60| 54 6f 20 65 6e 74 65 72 | 20 61 0d 0a 72 61 6e 64 |To enter| a..rand|
|00002c70| 6f 6d 20 6e 75 6d 62 65 | 72 20 66 75 6e 63 74 69 |om numbe|r functi|
|00002c80| 6f 6e 7d 5c 70 72 6f 74 | 65 63 74 5c 76 73 70 61 |on}\prot|ect\vspa|
|00002c90| 63 65 7b 31 70 74 7d 5c | 6c 61 62 65 6c 25 0d 0a |ce{1pt}\|label%..|
|00002ca0| 7b 45 6e 74 65 72 69 6e | 67 20 61 20 72 61 6e 64 |{Enterin|g a rand|
|00002cb0| 6f 6d 20 6e 75 6d 62 65 | 72 20 66 75 6e 63 74 69 |om numbe|r functi|
|00002cc0| 6f 6e 7d 7d 0d 0a 0d 0a | 5c 62 65 67 69 6e 7b 65 |on}}....|\begin{e|
|00002cd0| 6e 75 6d 65 72 61 74 65 | 7d 0d 0a 5c 69 74 65 6d |numerate|}..\item|
|00002ce0| 20 20 57 69 74 68 20 74 | 68 65 20 69 6e 73 65 72 | With t|he inser|
|00002cf0| 74 69 6f 6e 20 70 6f 69 | 6e 74 20 69 6e 20 6d 61 |tion poi|nt in ma|
|00002d00| 74 68 65 6d 61 74 69 63 | 73 2c 20 74 79 70 65 20 |thematic|s, type |
|00002d10| 5c 74 65 78 74 62 66 7b | 72 61 6e 64 20 7d 5c 20 |\textbf{|rand }\ |
|00002d20| 74 6f 0d 0a 65 6e 74 65 | 72 20 61 20 72 61 6e 64 |to..ente|r a rand|
|00002d30| 6f 6d 20 6e 75 6d 62 65 | 72 20 66 75 6e 63 74 69 |om numbe|r functi|
|00002d40| 6f 6e 20 6f 72 20 5c 74 | 65 78 74 62 66 7b 72 61 |on or \t|extbf{ra|
|00002d50| 6e 64 6d 61 74 20 7d 74 | 6f 20 65 6e 74 65 72 20 |ndmat }t|o enter |
|00002d60| 61 20 72 61 6e 64 6f 6d | 20 6d 61 74 72 69 78 2e |a random| matrix.|
|00002d70| 0d 0a 0d 0a 4f 6e 20 79 | 6f 75 72 20 73 63 72 65 |....On y|our scre|
|00002d80| 65 6e 20 79 6f 75 20 73 | 65 65 20 24 5c 66 75 6e |en you s|ee $\fun|
|00002d90| 63 7b 72 61 6e 64 7d 24 | 20 6f 72 20 24 5c 66 75 |c{rand}$| or $\fu|
|00002da0| 6e 63 7b 72 61 6e 64 6d | 61 74 7d 24 2e 0d 0a 0d |nc{randm|at}$....|
|00002db0| 0a 5c 69 74 65 6d 20 20 | 43 6c 69 63 6b 20 5c 46 |.\item |Click \F|
|00002dc0| 52 41 4d 45 7b 69 74 62 | 70 46 7d 7b 31 36 2e 36 |RAME{itb|pF}{16.6|
|00002dd0| 38 37 35 70 74 7d 7b 31 | 36 70 74 7d 7b 32 70 74 |875pt}{1|6pt}{2pt|
|00002de0| 7d 7b 7d 7b 7d 7b 70 61 | 72 65 6e 73 2e 77 6d 66 |}{}{}{pa|rens.wmf|
|00002df0| 7d 7b 5c 73 70 65 63 69 | 61 6c 25 0d 0a 7b 6c 61 |}{\speci|al%..{la|
|00002e00| 6e 67 75 61 67 65 20 22 | 53 63 69 65 6e 74 69 66 |nguage "|Scientif|
|00002e10| 69 63 20 57 6f 72 64 22 | 3b 74 79 70 65 20 22 47 |ic Word"|;type "G|
|00002e20| 52 41 50 48 49 43 22 3b | 6d 61 69 6e 74 61 69 6e |RAPHIC";|maintain|
|00002e30| 2d 61 73 70 65 63 74 2d | 72 61 74 69 6f 0d 0a 54 |-aspect-|ratio..T|
|00002e40| 52 55 45 3b 64 69 73 70 | 6c 61 79 20 22 50 49 43 |RUE;disp|lay "PIC|
|00002e50| 54 22 3b 76 61 6c 69 64 | 5f 66 69 6c 65 20 22 46 |T";valid|_file "F|
|00002e60| 22 3b 77 69 64 74 68 20 | 31 36 2e 36 38 37 35 70 |";width |16.6875p|
|00002e70| 74 3b 68 65 69 67 68 74 | 20 31 36 70 74 3b 64 65 |t;height| 16pt;de|
|00002e80| 70 74 68 0d 0a 32 70 74 | 3b 6f 72 69 67 69 6e 61 |pth..2pt|;origina|
|00002e90| 6c 2d 77 69 64 74 68 20 | 31 37 2e 38 31 32 35 70 |l-width |17.8125p|
|00002ea0| 74 3b 6f 72 69 67 69 6e | 61 6c 2d 68 65 69 67 68 |t;origin|al-heigh|
|00002eb0| 74 20 31 36 2e 39 33 37 | 35 70 74 3b 63 72 6f 70 |t 16.937|5pt;crop|
|00002ec0| 6c 65 66 74 20 22 30 22 | 3b 63 72 6f 70 74 6f 70 |left "0"|;croptop|
|00002ed0| 0d 0a 22 31 22 3b 63 72 | 6f 70 72 69 67 68 74 20 |.."1";cr|opright |
|00002ee0| 22 31 22 3b 63 72 6f 70 | 62 6f 74 74 6f 6d 20 22 |"1";crop|bottom "|
|00002ef0| 30 22 3b 66 69 6c 65 6e | 61 6d 65 20 27 50 61 72 |0";filen|ame 'Par|
|00002f00| 65 6e 73 2e 77 6d 66 27 | 3b 66 69 6c 65 2d 70 72 |ens.wmf'|;file-pr|
|00002f10| 6f 70 65 72 74 69 65 73 | 0d 0a 22 58 4e 50 45 55 |operties|.."XNPEU|
|00002f20| 22 3b 7d 7d 2e 0d 0a 0d | 0a 5c 69 74 65 6d 20 20 |";}}....|.\item |
|00002f30| 43 6f 6d 70 6c 65 74 65 | 20 74 68 65 20 66 75 6e |Complete| the fun|
|00002f40| 63 74 69 6f 6e 20 61 72 | 67 75 6d 65 6e 74 2e 0d |ction ar|gument..|
|00002f50| 0a 5c 65 6e 64 7b 65 6e | 75 6d 65 72 61 74 65 7d |.\end{en|umerate}|
|00002f60| 0d 0a 0d 0a 59 6f 75 20 | 63 61 6e 20 61 6c 73 6f |....You |can also|
|00002f70| 20 65 6e 74 65 72 20 74 | 68 65 20 66 75 6e 63 74 | enter t|he funct|
|00002f80| 69 6f 6e 73 20 62 79 20 | 63 68 6f 6f 73 69 6e 67 |ions by |choosing|
|00002f90| 20 74 68 65 6d 20 66 72 | 6f 6d 20 74 68 65 20 70 | them fr|om the p|
|00002fa0| 6f 70 75 70 20 6c 69 73 | 74 20 69 6e 20 74 68 65 |opup lis|t in the|
|00002fb0| 0d 0a 46 72 61 67 6d 65 | 6e 74 73 20 74 6f 6f 6c |..Fragme|nts tool|
|00002fc0| 62 61 72 20 6f 72 20 75 | 73 69 6e 67 20 74 68 65 |bar or u|sing the|
|00002fd0| 20 49 6d 70 6f 72 74 20 | 46 72 61 67 6d 65 6e 74 | Import |Fragment|
|00002fe0| 20 63 6f 6d 6d 61 6e 64 | 20 6f 6e 20 74 68 65 20 | command| on the |
|00002ff0| 46 69 6c 65 20 6d 65 6e | 75 2e 0d 0a 0d 0a 5c 6e |File men|u.....\n|
|00003000| 6f 69 6e 64 65 6e 74 20 | 5c 46 52 41 4d 45 7b 69 |oindent |\FRAME{i|
|00003010| 74 62 70 46 7d 7b 34 33 | 2e 31 32 35 70 74 7d 7b |tbpF}{43|.125pt}{|
|00003020| 31 38 2e 35 70 74 7d 7b | 34 70 74 7d 7b 7d 7b 7d |18.5pt}{|4pt}{}{}|
|00003030| 7b 65 78 33 2e 77 6d 66 | 7d 7b 5c 73 70 65 63 69 |{ex3.wmf|}{\speci|
|00003040| 61 6c 25 0d 0a 7b 6c 61 | 6e 67 75 61 67 65 20 22 |al%..{la|nguage "|
|00003050| 53 63 69 65 6e 74 69 66 | 69 63 20 57 6f 72 64 22 |Scientif|ic Word"|
|00003060| 3b 74 79 70 65 20 22 47 | 52 41 50 48 49 43 22 3b |;type "G|RAPHIC";|
|00003070| 6d 61 69 6e 74 61 69 6e | 2d 61 73 70 65 63 74 2d |maintain|-aspect-|
|00003080| 72 61 74 69 6f 0d 0a 54 | 52 55 45 3b 64 69 73 70 |ratio..T|RUE;disp|
|00003090| 6c 61 79 20 22 50 49 43 | 54 22 3b 76 61 6c 69 64 |lay "PIC|T";valid|
|000030a0| 5f 66 69 6c 65 20 22 46 | 22 3b 77 69 64 74 68 20 |_file "F|";width |
|000030b0| 34 33 2e 31 32 35 70 74 | 3b 68 65 69 67 68 74 20 |43.125pt|;height |
|000030c0| 31 38 2e 35 70 74 3b 64 | 65 70 74 68 0d 0a 34 70 |18.5pt;d|epth..4p|
|000030d0| 74 3b 6f 72 69 67 69 6e | 61 6c 2d 77 69 64 74 68 |t;origin|al-width|
|000030e0| 20 34 38 2e 38 37 35 70 | 74 3b 6f 72 69 67 69 6e | 48.875p|t;origin|
|000030f0| 61 6c 2d 68 65 69 67 68 | 74 20 31 39 2e 35 36 32 |al-heigh|t 19.562|
|00003100| 35 70 74 3b 63 72 6f 70 | 6c 65 66 74 20 22 30 22 |5pt;crop|left "0"|
|00003110| 3b 63 72 6f 70 74 6f 70 | 0d 0a 22 31 22 3b 63 72 |;croptop|.."1";cr|
|00003120| 6f 70 72 69 67 68 74 20 | 22 31 22 3b 63 72 6f 70 |opright |"1";crop|
|00003130| 62 6f 74 74 6f 6d 20 22 | 30 22 3b 66 69 6c 65 6e |bottom "|0";filen|
|00003140| 61 6d 65 20 27 45 78 33 | 2e 77 6d 66 27 3b 66 69 |ame 'Ex3|.wmf';fi|
|00003150| 6c 65 2d 70 72 6f 70 65 | 72 74 69 65 73 20 22 4e |le-prope|rties "N|
|00003160| 50 45 55 22 3b 7d 7d 0d | 0a 0d 0a 24 61 3a 3d 5c |PEU";}}.|...$a:=\|
|00003170| 66 75 6e 63 7b 72 61 6e | 64 7d 28 32 2c 37 29 24 |func{ran|d}(2,7)$|
|00003180| 0d 0a 0d 0a 24 62 3a 3d | 5c 66 75 6e 63 7b 72 61 |....$b:=|\func{ra|
|00003190| 6e 64 7d 28 31 30 29 24 | 0d 0a 0d 0a 24 63 3a 3d |nd}(10)$|....$c:=|
|000031a0| 61 2b 62 24 0d 0a 0d 0a | 5c 6e 6f 69 6e 64 65 6e |a+b$....|\noinden|
|000031b0| 74 20 54 68 65 20 45 78 | 61 6d 20 42 75 69 6c 64 |t The Ex|am Build|
|000031c0| 65 72 20 77 69 6c 6c 20 | 75 73 65 20 74 68 65 20 |er will |use the |
|000031d0| 72 61 6e 64 6f 6d 20 6e | 75 6d 62 65 72 20 66 75 |random n|umber fu|
|000031e0| 6e 63 74 69 6f 6e 73 20 | 69 6e 20 74 68 65 73 65 |nctions |in these|
|000031f0| 0d 0a 69 6d 6d 65 64 69 | 61 74 65 20 64 65 66 69 |..immedi|ate defi|
|00003200| 6e 69 74 69 6f 6e 73 20 | 74 6f 20 67 65 6e 65 72 |nitions |to gener|
|00003210| 61 74 65 20 76 61 6c 75 | 65 73 20 66 6f 72 20 24 |ate valu|es for $|
|00003220| 61 24 20 61 6e 64 20 24 | 62 24 20 61 6e 64 20 74 |a$ and $|b$ and t|
|00003230| 6f 20 65 76 61 6c 75 61 | 74 65 20 24 63 24 0d 0a |o evalua|te $c$..|
|00003240| 65 61 63 68 20 74 69 6d | 65 20 61 6e 20 69 6e 73 |each tim|e an ins|
|00003250| 74 61 6e 63 65 20 6f 66 | 20 74 68 65 20 65 78 61 |tance of| the exa|
|00003260| 6d 20 69 73 20 67 65 6e | 65 72 61 74 65 64 20 66 |m is gen|erated f|
|00003270| 72 6f 6d 20 74 68 65 20 | 73 6f 75 72 63 65 20 66 |rom the |source f|
|00003280| 69 6c 65 2e 0d 0a 0d 0a | 5c 73 75 62 73 65 63 74 |ile.....|\subsect|
|00003290| 69 6f 6e 7b 55 73 69 6e | 67 20 63 6f 6e 64 69 74 |ion{Usin|g condit|
|000032a0| 69 6f 6e 73 5c 6c 61 62 | 65 6c 7b 55 73 69 6e 67 |ions\lab|el{Using|
|000032b0| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 7d 7d 0d 0a 0d | conditi|ons}}...|
|000032c0| 0a 49 66 20 79 6f 75 20 | 73 69 6d 70 6c 79 20 67 |.If you |simply g|
|000032d0| 65 6e 65 72 61 74 65 20 | 61 20 72 61 6e 64 6f 6d |enerate |a random|
|000032e0| 20 6e 75 6d 62 65 72 20 | 66 6f 72 20 75 73 65 20 | number |for use |
|000032f0| 69 6e 20 61 20 64 65 66 | 69 6e 69 74 69 6f 6e 2c |in a def|inition,|
|00003300| 20 74 68 65 20 72 65 73 | 75 6c 74 73 0d 0a 63 61 | the res|ults..ca|
|00003310| 6e 20 61 74 20 74 69 6d | 65 73 20 62 65 20 75 6e |n at tim|es be un|
|00003320| 70 72 65 64 69 63 74 61 | 62 6c 65 2c 20 62 75 74 |predicta|ble, but|
|00003330| 20 79 6f 75 20 63 61 6e | 20 70 72 65 76 65 6e 74 | you can| prevent|
|00003340| 20 73 75 63 68 20 72 65 | 73 75 6c 74 73 20 69 66 | such re|sults if|
|00003350| 20 79 6f 75 0d 0a 73 70 | 65 63 69 66 79 20 63 6f | you..sp|ecify co|
|00003360| 6e 64 69 74 69 6f 6e 73 | 20 74 68 61 74 20 72 61 |nditions| that ra|
|00003370| 6e 64 6f 6d 6c 79 20 64 | 65 66 69 6e 65 64 20 76 |ndomly d|efined v|
|00003380| 61 72 69 61 62 6c 65 73 | 20 6d 75 73 74 20 6d 65 |ariables| must me|
|00003390| 65 74 2e 20 46 6f 72 20 | 65 78 61 6d 70 6c 65 2c |et. For |example,|
|000033a0| 0d 0a 79 6f 75 20 6d 69 | 67 68 74 20 73 65 74 20 |..you mi|ght set |
|000033b0| 61 20 63 6f 6e 64 69 74 | 69 6f 6e 20 74 68 61 74 |a condit|ion that|
|000033c0| 20 70 72 65 76 65 6e 74 | 73 20 61 20 76 61 72 69 | prevent|s a vari|
|000033d0| 61 62 6c 65 20 66 72 6f | 6d 20 62 65 69 6e 67 20 |able fro|m being |
|000033e0| 64 65 66 69 6e 65 64 20 | 61 73 20 24 30 24 0d 0a |defined |as $0$..|
|000033f0| 6f 72 20 61 20 63 6f 6e | 64 69 74 69 6f 6e 20 74 |or a con|dition t|
|00003400| 68 61 74 20 70 72 65 76 | 65 6e 74 73 20 6f 6e 65 |hat prev|ents one|
|00003410| 20 76 61 72 69 61 62 6c | 65 20 66 72 6f 6d 20 62 | variabl|e from b|
|00003420| 65 69 6e 67 20 67 72 65 | 61 74 65 72 20 74 68 61 |eing gre|ater tha|
|00003430| 6e 20 61 6e 6f 74 68 65 | 72 2e 0d 0a 0d 0a 57 68 |n anothe|r.....Wh|
|00003440| 65 6e 20 79 6f 75 20 75 | 73 65 20 61 6c 67 6f 72 |en you u|se algor|
|00003450| 69 74 68 6d 73 20 74 6f | 20 73 74 61 74 65 20 6e |ithms to| state n|
|00003460| 6f 74 20 6f 6e 6c 79 20 | 61 20 71 75 65 73 74 69 |ot only |a questi|
|00003470| 6f 6e 20 62 75 74 20 61 | 6c 73 6f 20 69 74 73 0d |on but a|lso its.|
|00003480| 0a 6d 75 6c 74 69 70 6c | 65 2d 63 68 6f 69 63 65 |.multipl|e-choice|
|00003490| 20 61 6e 73 77 65 72 73 | 2c 20 79 6f 75 20 63 61 | answers|, you ca|
|000034a0| 6e 20 75 73 65 20 63 6f | 6e 64 69 74 69 6f 6e 73 |n use co|nditions|
|000034b0| 20 74 6f 20 70 72 65 76 | 65 6e 74 20 74 68 65 20 | to prev|ent the |
|000034c0| 72 61 6e 64 6f 6d 0d 0a | 67 65 6e 65 72 61 74 69 |random..|generati|
|000034d0| 6f 6e 20 6f 66 20 64 75 | 70 6c 69 63 61 74 65 20 |on of du|plicate |
|000034e0| 6f 72 20 75 6e 64 65 66 | 69 6e 65 64 20 61 6e 73 |or undef|ined ans|
|000034f0| 77 65 72 73 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |wers. Fo|r exampl|
|00003500| 65 2c 20 61 20 71 75 65 | 73 74 69 6f 6e 20 74 68 |e, a que|stion th|
|00003510| 61 74 0d 0a 69 6e 76 6f | 6c 76 65 73 20 74 77 6f |at..invo|lves two|
|00003520| 20 72 61 6e 64 6f 6d 6c | 79 20 67 65 6e 65 72 61 | randoml|y genera|
|00003530| 74 65 64 20 76 61 72 69 | 61 62 6c 65 73 20 24 61 |ted vari|ables $a|
|00003540| 24 20 61 6e 64 20 24 62 | 24 20 6d 69 67 68 74 20 |$ and $b|$ might |
|00003550| 68 61 76 65 20 61 73 20 | 70 6f 73 73 69 62 6c 65 |have as |possible|
|00003560| 0d 0a 6d 75 6c 74 69 70 | 6c 65 2d 63 68 6f 69 63 |..multip|le-choic|
|00003570| 65 20 61 6e 73 77 65 72 | 73 20 62 6f 74 68 20 24 |e answer|s both $|
|00003580| 5c 66 72 61 63 7b 61 7d | 7b 62 7d 24 20 61 6e 64 |\frac{a}|{b}$ and|
|00003590| 20 24 5c 66 72 61 63 7b | 62 7d 7b 61 7d 2e 24 20 | $\frac{|b}{a}.$ |
|000035a0| 49 66 20 74 68 65 0d 0a | 72 61 6e 64 6f 6d 6c 79 |If the..|randomly|
|000035b0| 20 67 65 6e 65 72 61 74 | 65 64 20 76 61 6c 75 65 | generat|ed value|
|000035c0| 73 20 66 6f 72 20 74 68 | 65 20 76 61 72 69 61 62 |s for th|e variab|
|000035d0| 6c 65 73 20 61 72 65 20 | 74 68 65 20 73 61 6d 65 |les are |the same|
|000035e0| 2c 20 74 68 65 73 65 20 | 61 6e 73 77 65 72 73 20 |, these |answers |
|000035f0| 77 69 6c 6c 0d 0a 62 65 | 20 69 64 65 6e 74 69 63 |will..be| identic|
|00003600| 61 6c 20 61 6e 64 20 77 | 69 6c 6c 20 70 72 65 73 |al and w|ill pres|
|00003610| 65 6e 74 20 61 20 63 6f | 6e 66 75 73 69 6e 67 20 |ent a co|nfusing |
|00003620| 63 68 6f 69 63 65 20 74 | 6f 20 74 68 65 20 73 74 |choice t|o the st|
|00003630| 75 64 65 6e 74 2e 20 59 | 6f 75 20 63 61 6e 0d 0a |udent. Y|ou can..|
|00003640| 61 76 6f 69 64 20 74 68 | 65 20 63 6f 6e 66 75 73 |avoid th|e confus|
|00003650| 69 6f 6e 20 62 79 20 73 | 65 74 74 69 6e 67 20 74 |ion by s|etting t|
|00003660| 68 65 20 63 6f 6e 64 69 | 74 69 6f 6e 20 74 68 61 |he condi|tion tha|
|00003670| 74 20 24 28 61 5c 6e 65 | 71 20 62 29 2e 24 20 59 |t $(a\ne|q b).$ Y|
|00003680| 6f 75 20 61 6c 73 6f 20 | 77 61 6e 74 0d 0a 74 6f |ou also |want..to|
|00003690| 20 61 76 6f 69 64 20 74 | 68 65 20 69 6c 6c 65 67 | avoid t|he illeg|
|000036a0| 61 6c 20 73 69 74 75 61 | 74 69 6f 6e 73 20 6f 66 |al situa|tions of|
|000036b0| 20 24 28 61 3d 30 29 24 | 20 61 6e 64 20 24 28 62 | $(a=0)$| and $(b|
|000036c0| 3d 30 29 24 2e 0d 0a 0d | 0a 4c 69 6b 65 20 74 68 |=0)$....|.Like th|
|000036d0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 74 6f |e defini|tions to|
|000036e0| 20 77 68 69 63 68 20 74 | 68 65 79 20 72 65 66 65 | which t|hey refe|
|000036f0| 72 2c 20 63 6f 6e 64 69 | 74 69 6f 6e 73 20 63 61 |r, condi|tions ca|
|00003700| 6e 20 61 66 66 65 63 74 | 20 61 6e 20 65 6e 74 69 |n affect| an enti|
|00003710| 72 65 0d 0a 65 78 61 6d | 20 6f 72 20 6a 75 73 74 |re..exam| or just|
|00003720| 20 61 20 73 69 6e 67 6c | 65 20 71 75 65 73 74 69 | a singl|e questi|
|00003730| 6f 6e 20 6f 72 20 71 75 | 65 73 74 69 6f 6e 20 76 |on or qu|estion v|
|00003740| 61 72 69 61 6e 74 2e 20 | 41 6c 73 6f 20 6c 69 6b |ariant. |Also lik|
|00003750| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 2c 0d 0a |e defini|tions,..|
|00003760| 65 61 63 68 20 63 6f 6e | 64 69 74 69 6f 6e 20 6d |each con|dition m|
|00003770| 75 73 74 20 62 65 20 73 | 74 61 74 65 64 20 6f 6e |ust be s|tated on|
|00003780| 20 69 74 73 20 6f 77 6e | 20 6c 69 6e 65 20 69 6e | its own| line in|
|00003790| 20 61 20 53 65 74 75 70 | 20 73 65 63 74 69 6f 6e | a Setup| section|
|000037a0| 2e 20 28 52 65 66 65 72 | 20 74 6f 20 0d 0a 5c 68 |. (Refer| to ..\h|
|000037b0| 79 70 65 72 72 65 66 7b | 43 68 61 70 74 65 72 20 |yperref{|Chapter |
|000037c0| 34 7d 7b 7d 7b 7d 7b 45 | 42 66 72 6f 6e 74 73 65 |4}{}{}{E|Bfrontse|
|000037d0| 63 74 69 6f 6e 2e 74 65 | 78 7d 20 61 6e 64 20 5c |ction.te|x} and \|
|000037e0| 68 79 70 65 72 72 65 66 | 7b 43 68 61 70 74 65 72 |hyperref|{Chapter|
|000037f0| 20 35 7d 7b 7d 7b 7d 7b | 25 0d 0a 45 42 71 75 65 | 5}{}{}{|%..EBque|
|00003800| 73 74 69 6f 6e 2e 74 65 | 78 7d 20 66 6f 72 20 6d |stion.te|x} for m|
|00003810| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ore info|rmation |
|00003820| 61 62 6f 75 74 20 63 72 | 65 61 74 69 6e 67 20 53 |about cr|eating S|
|00003830| 65 74 75 70 20 73 65 63 | 74 69 6f 6e 73 2e 29 0d |etup sec|tions.).|
|00003840| 0a 46 75 72 74 68 65 72 | 2c 20 65 61 63 68 20 63 |.Further|, each c|
|00003850| 6f 6e 64 69 74 69 6f 6e | 20 6d 75 73 74 20 66 6f |ondition| must fo|
|00003860| 6c 6c 6f 77 20 74 68 65 | 20 64 65 66 69 6e 69 74 |llow the| definit|
|00003870| 69 6f 6e 20 74 6f 20 77 | 68 69 63 68 20 69 74 20 |ion to w|hich it |
|00003880| 72 65 66 65 72 73 2e 20 | 59 6f 75 0d 0a 63 61 6e |refers. |You..can|
|00003890| 20 75 73 65 20 6c 6f 67 | 69 63 61 6c 20 61 6e 64 | use log|ical and|
|000038a0| 20 28 24 5c 77 65 64 67 | 65 20 24 29 5c 20 61 6e | ($\wedg|e $)\ an|
|000038b0| 64 20 6c 6f 67 69 63 61 | 6c 20 6f 72 20 28 24 5c |d logica|l or ($\|
|000038c0| 76 65 65 20 24 29 20 74 | 6f 20 63 6f 6d 62 69 6e |vee $) t|o combin|
|000038d0| 65 20 73 65 76 65 72 61 | 6c 0d 0a 63 6f 6e 64 69 |e severa|l..condi|
|000038e0| 74 69 6f 6e 73 20 69 6e | 20 61 20 73 69 6e 67 6c |tions in| a singl|
|000038f0| 65 20 73 74 61 74 65 6d | 65 6e 74 2e 0d 0a 0d 0a |e statem|ent.....|
|00003900| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 65 20 63 6f |Note tha|t the co|
|00003910| 6e 64 69 74 69 6f 6e 73 | 20 6d 75 73 74 20 62 65 |nditions| must be|
|00003920| 20 72 65 6c 61 74 69 76 | 65 6c 79 20 65 61 73 79 | relativ|ely easy|
|00003930| 20 74 6f 20 73 61 74 69 | 73 66 79 2e 20 49 66 20 | to sati|sfy. If |
|00003940| 61 66 74 65 72 0d 0a 73 | 65 76 65 72 61 6c 20 68 |after..s|everal h|
|00003950| 75 6e 64 72 65 64 20 61 | 74 74 65 6d 70 74 73 20 |undred a|ttempts |
|00003960| 74 68 65 20 45 78 61 6d | 20 42 75 69 6c 64 65 72 |the Exam| Builder|
|00003970| 20 63 61 6e 27 74 20 66 | 69 6e 64 20 61 20 72 61 | can't f|ind a ra|
|00003980| 6e 64 6f 6d 20 61 73 73 | 69 67 6e 6d 65 6e 74 20 |ndom ass|ignment |
|00003990| 74 6f 0d 0a 74 68 65 20 | 76 61 72 69 61 62 6c 65 |to..the |variable|
|000039a0| 73 20 74 68 61 74 20 73 | 61 74 69 73 66 69 65 73 |s that s|atisfies|
|000039b0| 20 74 68 65 20 63 6f 6e | 64 69 74 69 6f 6e 73 2c | the con|ditions,|
|000039c0| 20 69 74 20 72 65 74 75 | 72 6e 73 20 75 6e 64 65 | it retu|rns unde|
|000039d0| 66 69 6e 65 64 20 72 65 | 73 75 6c 74 73 2e 0d 0a |fined re|sults...|
|000039e0| 0d 0a 5c 73 75 62 70 61 | 72 61 67 72 61 70 68 7b |..\subpa|ragraph{|
|000039f0| 5c 6e 6f 69 6e 64 65 6e | 74 20 24 5c 62 6c 61 63 |\noinden|t $\blac|
|00003a00| 6b 74 72 69 61 6e 67 6c | 65 72 69 67 68 74 20 24 |ktriangl|eright $|
|00003a10| 5c 71 75 61 64 20 5c 74 | 65 78 74 62 66 7b 54 6f |\quad \t|extbf{To|
|00003a20| 20 65 6e 74 65 72 20 61 | 0d 0a 63 6f 6e 64 69 74 | enter a|..condit|
|00003a30| 69 6f 6e 5c 6c 61 62 65 | 6c 7b 45 6e 74 65 72 69 |ion\labe|l{Enteri|
|00003a40| 6e 67 20 61 20 63 6f 6e | 64 69 74 69 6f 6e 7d 7d |ng a con|dition}}|
|00003a50| 7d 0d 0a 0d 0a 5c 62 65 | 67 69 6e 7b 65 6e 75 6d |}....\be|gin{enum|
|00003a60| 65 72 61 74 65 7d 0d 0a | 5c 69 74 65 6d 20 20 53 |erate}..|\item S|
|00003a70| 74 61 72 74 20 61 20 6e | 65 77 20 70 61 72 61 67 |tart a n|ew parag|
|00003a80| 72 61 70 68 20 61 66 74 | 65 72 20 74 68 65 20 64 |raph aft|er the d|
|00003a90| 65 66 69 6e 69 74 69 6f | 6e 20 66 6f 72 20 77 68 |efinitio|n for wh|
|00003aa0| 69 63 68 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 0d |ich you |want to.|
|00003ab0| 0a 73 74 61 74 65 20 63 | 6f 6e 64 69 74 69 6f 6e |.state c|ondition|
|00003ac0| 73 2e 0d 0a 0d 0a 5c 69 | 74 65 6d 20 20 54 79 70 |s.....\i|tem Typ|
|00003ad0| 65 20 5c 74 65 78 74 73 | 66 7b 43 6f 6e 64 69 74 |e \texts|f{Condit|
|00003ae0| 69 6f 6e 3a 20 7d 61 6e | 64 20 74 68 65 6e 2c 20 |ion: }an|d then, |
|00003af0| 77 69 74 68 20 74 68 65 | 20 69 6e 73 65 72 74 69 |with the| inserti|
|00003b00| 6f 6e 20 70 6f 69 6e 74 | 20 69 6e 0d 0a 6d 61 74 |on point| in..mat|
|00003b10| 68 65 6d 61 74 69 63 73 | 2c 20 74 79 70 65 20 74 |hematics|, type t|
|00003b20| 68 65 20 63 6f 6e 64 69 | 74 69 6f 6e 20 74 68 65 |he condi|tion the|
|00003b30| 20 76 61 72 69 61 62 6c | 65 20 6d 75 73 74 20 6d | variabl|e must m|
|00003b40| 65 65 74 2e 0d 0a 0d 0a | 54 68 65 20 77 6f 72 64 |eet.....|The word|
|00003b50| 20 43 6f 6e 64 69 74 69 | 6f 6e 20 69 73 20 61 20 | Conditi|on is a |
|00003b60| 5c 65 6d 70 68 7b 6b 65 | 79 77 6f 72 64 2c 7d 20 |\emph{ke|yword,} |
|00003b70| 77 68 69 63 68 20 74 72 | 69 67 67 65 72 73 20 63 |which tr|iggers c|
|00003b80| 65 72 74 61 69 6e 20 65 | 66 66 65 63 74 73 20 77 |ertain e|ffects w|
|00003b90| 68 65 6e 0d 0a 74 68 65 | 20 45 78 61 6d 20 42 75 |hen..the| Exam Bu|
|00003ba0| 69 6c 64 65 72 20 67 65 | 6e 65 72 61 74 65 73 20 |ilder ge|nerates |
|00003bb0| 74 68 65 20 65 78 61 6d | 2e 20 5c 68 79 70 65 72 |the exam|. \hyper|
|00003bc0| 72 65 66 7b 43 68 61 70 | 74 65 72 20 33 7d 7b 7d |ref{Chap|ter 3}{}|
|00003bd0| 7b 7d 7b 45 42 73 6f 75 | 72 63 65 2e 74 65 78 7d |{}{EBsou|rce.tex}|
|00003be0| 0d 0a 65 78 70 6c 61 69 | 6e 73 20 6d 6f 72 65 20 |..explai|ns more |
|00003bf0| 61 62 6f 75 74 20 6b 65 | 79 77 6f 72 64 73 2e 0d |about ke|ywords..|
|00003c00| 0a 5c 65 6e 64 7b 65 6e | 75 6d 65 72 61 74 65 7d |.\end{en|umerate}|
|00003c10| 0d 0a 0d 0a 5c 6e 6f 69 | 6e 64 65 6e 74 20 5c 46 |....\noi|ndent \F|
|00003c20| 52 41 4d 45 7b 69 74 62 | 70 46 7d 7b 34 32 2e 38 |RAME{itb|pF}{42.8|
|00003c30| 37 35 70 74 7d 7b 31 38 | 2e 31 32 35 70 74 7d 7b |75pt}{18|.125pt}{|
|00003c40| 34 70 74 7d 7b 7d 7b 7d | 7b 65 78 33 2e 77 6d 66 |4pt}{}{}|{ex3.wmf|
|00003c50| 7d 7b 5c 73 70 65 63 69 | 61 6c 25 0d 0a 7b 6c 61 |}{\speci|al%..{la|
|00003c60| 6e 67 75 61 67 65 20 22 | 53 63 69 65 6e 74 69 66 |nguage "|Scientif|
|00003c70| 69 63 20 57 6f 72 64 22 | 3b 74 79 70 65 20 22 47 |ic Word"|;type "G|
|00003c80| 52 41 50 48 49 43 22 3b | 6d 61 69 6e 74 61 69 6e |RAPHIC";|maintain|
|00003c90| 2d 61 73 70 65 63 74 2d | 72 61 74 69 6f 0d 0a 54 |-aspect-|ratio..T|
|00003ca0| 52 55 45 3b 64 69 73 70 | 6c 61 79 20 22 50 49 43 |RUE;disp|lay "PIC|
|00003cb0| 54 22 3b 76 61 6c 69 64 | 5f 66 69 6c 65 20 22 46 |T";valid|_file "F|
|00003cc0| 22 3b 77 69 64 74 68 20 | 34 32 2e 38 37 35 70 74 |";width |42.875pt|
|00003cd0| 3b 68 65 69 67 68 74 20 | 31 38 2e 31 32 35 70 74 |;height |18.125pt|
|00003ce0| 3b 64 65 70 74 68 0d 0a | 34 70 74 3b 6f 72 69 67 |;depth..|4pt;orig|
|00003cf0| 69 6e 61 6c 2d 77 69 64 | 74 68 20 34 38 2e 38 37 |inal-wid|th 48.87|
|00003d00| 35 70 74 3b 6f 72 69 67 | 69 6e 61 6c 2d 68 65 69 |5pt;orig|inal-hei|
|00003d10| 67 68 74 20 31 39 2e 35 | 36 32 35 70 74 3b 63 72 |ght 19.5|625pt;cr|
|00003d20| 6f 70 6c 65 66 74 20 22 | 30 22 3b 63 72 6f 70 74 |opleft "|0";cropt|
|00003d30| 6f 70 0d 0a 22 31 22 3b | 63 72 6f 70 72 69 67 68 |op.."1";|croprigh|
|00003d40| 74 20 22 31 22 3b 63 72 | 6f 70 62 6f 74 74 6f 6d |t "1";cr|opbottom|
|00003d50| 20 22 30 22 3b 66 69 6c | 65 6e 61 6d 65 20 27 45 | "0";fil|ename 'E|
|00003d60| 78 33 2e 77 6d 66 27 3b | 66 69 6c 65 2d 70 72 6f |x3.wmf';|file-pro|
|00003d70| 70 65 72 74 69 65 73 20 | 22 4e 50 45 55 22 3b 7d |perties |"NPEU";}|
|00003d80| 7d 25 0d 0a 43 6f 6e 64 | 69 74 69 6f 6e 3a 20 24 |}%..Cond|ition: $|
|00003d90| 28 61 62 5c 6e 65 71 20 | 30 29 24 0d 0a 0d 0a 5c |(ab\neq |0)$....\|
|00003da0| 6e 6f 69 6e 64 65 6e 74 | 20 54 68 69 73 20 63 6f |noindent| This co|
|00003db0| 6e 64 69 74 69 6f 6e 20 | 73 70 65 63 69 66 69 65 |ndition |specifie|
|00003dc0| 73 20 74 68 61 74 20 6e | 65 69 74 68 65 72 20 24 |s that n|either $|
|00003dd0| 61 24 20 6e 6f 72 20 24 | 62 24 20 63 61 6e 20 65 |a$ nor $|b$ can e|
|00003de0| 71 75 61 6c 20 24 30 24 | 2e 0d 0a 54 68 65 20 45 |qual $0$|...The E|
|00003df0| 78 61 6d 20 42 75 69 6c | 64 65 72 20 77 69 6c 6c |xam Buil|der will|
|00003e00| 20 72 65 6a 65 63 74 20 | 61 20 72 61 6e 64 6f 6d | reject |a random|
|00003e10| 6c 79 20 67 65 6e 65 72 | 61 74 65 64 20 76 61 6c |ly gener|ated val|
|00003e20| 75 65 20 6f 66 20 24 30 | 24 20 66 6f 72 20 65 69 |ue of $0|$ for ei|
|00003e30| 74 68 65 72 0d 0a 76 61 | 72 69 61 62 6c 65 2e 0d |ther..va|riable..|
|00003e40| 0a 0d 0a 5c 6e 6f 69 6e | 64 65 6e 74 20 5c 46 52 |...\noin|dent \FR|
|00003e50| 41 4d 45 7b 69 74 62 70 | 46 7d 7b 34 32 2e 38 37 |AME{itbp|F}{42.87|
|00003e60| 35 70 74 7d 7b 31 38 2e | 31 32 35 70 74 7d 7b 34 |5pt}{18.|125pt}{4|
|00003e70| 70 74 7d 7b 7d 7b 7d 7b | 65 78 33 2e 77 6d 66 7d |pt}{}{}{|ex3.wmf}|
|00003e80| 7b 5c 73 70 65 63 69 61 | 6c 25 0d 0a 7b 6c 61 6e |{\specia|l%..{lan|
|00003e90| 67 75 61 67 65 20 22 53 | 63 69 65 6e 74 69 66 69 |guage "S|cientifi|
|00003ea0| 63 20 57 6f 72 64 22 3b | 74 79 70 65 20 22 47 52 |c Word";|type "GR|
|00003eb0| 41 50 48 49 43 22 3b 6d | 61 69 6e 74 61 69 6e 2d |APHIC";m|aintain-|
|00003ec0| 61 73 70 65 63 74 2d 72 | 61 74 69 6f 0d 0a 54 52 |aspect-r|atio..TR|
|00003ed0| 55 45 3b 64 69 73 70 6c | 61 79 20 22 50 49 43 54 |UE;displ|ay "PICT|
|00003ee0| 22 3b 76 61 6c 69 64 5f | 66 69 6c 65 20 22 46 22 |";valid_|file "F"|
|00003ef0| 3b 77 69 64 74 68 20 34 | 32 2e 38 37 35 70 74 3b |;width 4|2.875pt;|
|00003f00| 68 65 69 67 68 74 20 31 | 38 2e 31 32 35 70 74 3b |height 1|8.125pt;|
|00003f10| 64 65 70 74 68 0d 0a 34 | 70 74 3b 6f 72 69 67 69 |depth..4|pt;origi|
|00003f20| 6e 61 6c 2d 77 69 64 74 | 68 20 34 38 2e 38 37 35 |nal-widt|h 48.875|
|00003f30| 70 74 3b 6f 72 69 67 69 | 6e 61 6c 2d 68 65 69 67 |pt;origi|nal-heig|
|00003f40| 68 74 20 31 39 2e 35 36 | 32 35 70 74 3b 63 72 6f |ht 19.56|25pt;cro|
|00003f50| 70 6c 65 66 74 20 22 30 | 22 3b 63 72 6f 70 74 6f |pleft "0|";cropto|
|00003f60| 70 0d 0a 22 31 22 3b 63 | 72 6f 70 72 69 67 68 74 |p.."1";c|ropright|
|00003f70| 20 22 31 22 3b 63 72 6f | 70 62 6f 74 74 6f 6d 20 | "1";cro|pbottom |
|00003f80| 22 30 22 3b 66 69 6c 65 | 6e 61 6d 65 20 27 45 78 |"0";file|name 'Ex|
|00003f90| 33 2e 77 6d 66 27 3b 66 | 69 6c 65 2d 70 72 6f 70 |3.wmf';f|ile-prop|
|00003fa0| 65 72 74 69 65 73 20 22 | 4e 50 45 55 22 3b 7d 7d |erties "|NPEU";}}|
|00003fb0| 0d 0a 0d 0a 5c 6e 6f 69 | 6e 64 65 6e 74 20 54 68 |....\noi|ndent Th|
|00003fc0| 69 73 20 73 69 6d 70 6c | 65 20 65 78 61 6d 70 6c |is simpl|e exampl|
|00003fd0| 65 20 73 68 6f 77 73 20 | 68 6f 77 20 79 6f 75 20 |e shows |how you |
|00003fe0| 63 61 6e 20 63 6f 6d 62 | 69 6e 65 20 64 65 66 69 |can comb|ine defi|
|00003ff0| 6e 69 74 69 6f 6e 73 2c | 20 72 61 6e 64 6f 6d 0d |nitions,| random.|
|00004000| 0a 6e 75 6d 62 65 72 20 | 66 75 6e 63 74 69 6f 6e |.number |function|
|00004010| 73 2c 20 61 6e 64 20 63 | 6f 6e 64 69 74 69 6f 6e |s, and c|ondition|
|00004020| 73 20 74 6f 20 67 65 6e | 65 72 61 74 65 20 73 75 |s to gen|erate su|
|00004030| 69 74 61 62 6c 65 20 76 | 61 72 69 61 62 6c 65 20 |itable v|ariable |
|00004040| 76 61 6c 75 65 73 20 66 | 6f 72 0d 0a 79 6f 75 72 |values f|or..your|
|00004050| 20 71 75 65 73 74 69 6f | 6e 73 20 61 6e 64 20 61 | questio|ns and a|
|00004060| 6e 73 77 65 72 73 2e 0d | 0a 0d 0a 24 61 3a 3d 5c |nswers..|...$a:=\|
|00004070| 66 75 6e 63 7b 72 61 6e | 64 7d 28 31 30 29 24 0d |func{ran|d}(10)$.|
|00004080| 0a 0d 0a 24 62 3a 3d 5c | 66 75 6e 63 7b 72 61 6e |...$b:=\|func{ran|
|00004090| 64 7d 28 31 30 29 24 0d | 0a 0d 0a 24 63 3a 3d 61 |d}(10)$.|...$c:=a|
|000040a0| 2b 62 24 0d 0a 0d 0a 43 | 6f 6e 64 69 74 69 6f 6e |+b$....C|ondition|
|000040b0| 3a 20 24 28 61 5c 6e 65 | 71 20 62 29 24 0d 0a 0d |: $(a\ne|q b)$...|
|000040c0| 0a 5c 6e 6f 69 6e 64 65 | 6e 74 20 54 68 69 73 20 |.\noinde|nt This |
|000040d0| 63 6f 6e 64 69 74 69 6f | 6e 20 73 70 65 63 69 66 |conditio|n specif|
|000040e0| 69 65 73 20 74 68 61 74 | 20 24 61 24 20 61 6e 64 |ies that| $a$ and|
|000040f0| 20 24 62 24 20 63 61 6e | 6e 6f 74 20 62 65 20 65 | $b$ can|not be e|
|00004100| 71 75 61 6c 2e 20 54 68 | 65 0d 0a 45 78 61 6d 20 |qual. Th|e..Exam |
|00004110| 42 75 69 6c 64 65 72 20 | 77 69 6c 6c 20 72 65 6a |Builder |will rej|
|00004120| 65 63 74 20 61 20 72 61 | 6e 64 6f 6d 6c 79 20 67 |ect a ra|ndomly g|
|00004130| 65 6e 65 72 61 74 65 64 | 20 76 61 6c 75 65 20 66 |enerated| value f|
|00004140| 6f 72 20 24 62 24 20 69 | 66 20 69 74 20 69 73 20 |or $b$ i|f it is |
|00004150| 74 68 65 0d 0a 73 61 6d | 65 20 61 73 20 74 68 65 |the..sam|e as the|
|00004160| 20 76 61 6c 75 65 20 61 | 6c 72 65 61 64 79 20 67 | value a|lready g|
|00004170| 65 6e 65 72 61 74 65 64 | 20 66 6f 72 20 24 61 24 |enerated| for $a$|
|00004180| 2e 0d 0a 0d 0a 5c 6e 6f | 69 6e 64 65 6e 74 20 5c |.....\no|indent \|
|00004190| 46 52 41 4d 45 7b 69 74 | 62 70 46 7d 7b 34 33 2e |FRAME{it|bpF}{43.|
|000041a0| 31 32 35 70 74 7d 7b 31 | 38 2e 35 70 74 7d 7b 34 |125pt}{1|8.5pt}{4|
|000041b0| 70 74 7d 7b 7d 7b 7d 7b | 65 78 33 2e 77 6d 66 7d |pt}{}{}{|ex3.wmf}|
|000041c0| 7b 5c 73 70 65 63 69 61 | 6c 25 0d 0a 7b 6c 61 6e |{\specia|l%..{lan|
|000041d0| 67 75 61 67 65 20 22 53 | 63 69 65 6e 74 69 66 69 |guage "S|cientifi|
|000041e0| 63 20 57 6f 72 64 22 3b | 74 79 70 65 20 22 47 52 |c Word";|type "GR|
|000041f0| 41 50 48 49 43 22 3b 64 | 69 73 70 6c 61 79 20 22 |APHIC";d|isplay "|
|00004200| 50 49 43 54 22 3b 76 61 | 6c 69 64 5f 66 69 6c 65 |PICT";va|lid_file|
|00004210| 0d 0a 22 46 22 3b 77 69 | 64 74 68 20 34 33 2e 31 |.."F";wi|dth 43.1|
|00004220| 32 35 70 74 3b 68 65 69 | 67 68 74 20 31 38 2e 35 |25pt;hei|ght 18.5|
|00004230| 70 74 3b 64 65 70 74 68 | 20 34 70 74 3b 6f 72 69 |pt;depth| 4pt;ori|
|00004240| 67 69 6e 61 6c 2d 77 69 | 64 74 68 0d 0a 34 38 2e |ginal-wi|dth..48.|
|00004250| 38 37 35 70 74 3b 6f 72 | 69 67 69 6e 61 6c 2d 68 |875pt;or|iginal-h|
|00004260| 65 69 67 68 74 20 31 39 | 2e 35 36 32 35 70 74 3b |eight 19|.5625pt;|
|00004270| 63 72 6f 70 6c 65 66 74 | 20 22 30 22 3b 63 72 6f |cropleft| "0";cro|
|00004280| 70 74 6f 70 20 22 31 22 | 3b 63 72 6f 70 72 69 67 |ptop "1"|;croprig|
|00004290| 68 74 0d 0a 22 31 22 3b | 63 72 6f 70 62 6f 74 74 |ht.."1";|cropbott|
|000042a0| 6f 6d 20 22 30 22 3b 66 | 69 6c 65 6e 61 6d 65 20 |om "0";f|ilename |
|000042b0| 27 45 78 33 2e 77 6d 66 | 27 3b 66 69 6c 65 2d 70 |'Ex3.wmf|';file-p|
|000042c0| 72 6f 70 65 72 74 69 65 | 73 20 22 4e 50 45 55 22 |ropertie|s "NPEU"|
|000042d0| 3b 7d 7d 48 65 72 65 20 | 69 73 20 61 0d 0a 63 6f |;}}Here |is a..co|
|000042e0| 6e 64 69 74 69 6f 6e 20 | 74 68 61 74 20 69 73 20 |ndition |that is |
|000042f0| 76 65 72 79 20 68 61 72 | 64 20 74 6f 20 73 61 74 |very har|d to sat|
|00004300| 69 73 66 79 3a 0d 0a 0d | 0a 24 61 3a 3d 5c 66 75 |isfy:...|.$a:=\fu|
|00004310| 6e 63 7b 72 61 6e 64 7d | 28 31 30 30 30 30 30 30 |nc{rand}|(1000000|
|00004320| 29 24 0d 0a 0d 0a 24 62 | 3a 3d 5c 66 75 6e 63 7b |)$....$b|:=\func{|
|00004330| 72 61 6e 64 7d 28 31 30 | 30 30 30 30 30 29 24 0d |rand}(10|00000)$.|
|00004340| 0a 0d 0a 43 6f 6e 64 69 | 74 69 6f 6e 3a 20 24 28 |...Condi|tion: $(|
|00004350| 61 3d 62 29 24 0d 0a 0d | 0a 54 68 69 73 20 63 6f |a=b)$...|.This co|
|00004360| 6e 64 69 74 69 6f 6e 20 | 77 69 6c 6c 20 6e 6f 74 |ndition |will not|
|00004370| 20 62 65 20 73 61 74 69 | 73 66 69 65 64 20 76 65 | be sati|sfied ve|
|00004380| 72 79 20 6f 66 74 65 6e | 20 62 65 63 61 75 73 65 |ry often| because|
|00004390| 20 77 68 61 74 20 61 72 | 65 20 74 68 65 20 63 68 | what ar|e the ch|
|000043a0| 61 6e 63 65 73 0d 0a 74 | 68 61 74 20 74 77 6f 20 |ances..t|hat two |
|000043b0| 6e 75 6d 62 65 72 73 20 | 73 65 6c 65 63 74 65 64 |numbers |selected|
|000043c0| 20 61 74 20 72 61 6e 64 | 6f 6d 20 66 72 6f 6d 20 | at rand|om from |
|000043d0| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 72 61 |the spec|ified ra|
|000043e0| 6e 67 65 20 77 69 6c 6c | 20 62 65 20 65 71 75 61 |nge will| be equa|
|000043f0| 6c 3f 0d 0a 0d 0a 5c 73 | 75 62 73 65 63 74 69 6f |l?....\s|ubsectio|
|00004400| 6e 7b 55 73 69 6e 67 20 | 66 6f 72 6d 75 6c 61 73 |n{Using |formulas|
|00004410| 5c 6c 61 62 65 6c 7b 55 | 73 69 6e 67 20 66 6f 72 |\label{U|sing for|
|00004420| 6d 75 6c 61 73 7d 7d 0d | 0a 0d 0a 4f 6e 63 65 20 |mulas}}.|...Once |
|00004430| 79 6f 75 20 68 61 76 65 | 20 64 65 66 69 6e 65 64 |you have| defined|
|00004440| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 73 20 66 | the var|iables f|
|00004450| 6f 72 20 61 20 70 61 72 | 74 69 63 75 6c 61 72 20 |or a par|ticular |
|00004460| 71 75 65 73 74 69 6f 6e | 2c 20 79 6f 75 20 63 61 |question|, you ca|
|00004470| 6e 20 75 73 65 0d 0a 66 | 6f 72 6d 75 6c 61 73 20 |n use..f|ormulas |
|00004480| 74 6f 20 73 74 61 74 65 | 20 74 68 65 20 71 75 65 |to state| the que|
|00004490| 73 74 69 6f 6e 20 61 6e | 64 20 74 68 65 20 63 6f |stion an|d the co|
|000044a0| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 6d 75 6c 74 |rrespond|ing mult|
|000044b0| 69 70 6c 65 2d 63 68 6f | 69 63 65 0d 0a 61 6e 73 |iple-cho|ice..ans|
|000044c0| 77 65 72 73 2e 20 41 20 | 66 6f 72 6d 75 6c 61 20 |wers. A |formula |
|000044d0| 69 73 20 61 20 73 70 65 | 63 69 61 6c 20 74 79 70 |is a spe|cial typ|
|000044e0| 65 20 6f 66 20 6d 61 74 | 68 65 6d 61 74 69 63 61 |e of mat|hematica|
|000044f0| 6c 20 65 78 70 72 65 73 | 73 69 6f 6e 20 74 68 61 |l expres|sion tha|
|00004500| 74 20 69 73 0d 0a 65 76 | 61 6c 75 61 74 65 64 20 |t is..ev|aluated |
|00004510| 62 65 66 6f 72 65 20 69 | 74 20 69 73 20 64 69 73 |before i|t is dis|
|00004520| 70 6c 61 79 65 64 20 69 | 6e 20 79 6f 75 72 20 66 |played i|n your f|
|00004530| 69 6c 65 2e 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ile. For| example|
|00004540| 2c 20 69 66 20 79 6f 75 | 20 65 6e 74 65 72 20 61 |, if you| enter a|
|00004550| 0d 0a 66 6f 72 6d 75 6c | 61 20 63 6f 6e 73 69 73 |..formul|a consis|
|00004560| 74 69 6e 67 20 6f 66 20 | 74 68 65 20 73 69 6d 70 |ting of |the simp|
|00004570| 6c 65 20 65 78 70 72 65 | 73 73 69 6f 6e 20 24 33 |le expre|ssion $3|
|00004580| 2b 35 24 2c 20 5c 74 65 | 78 74 69 74 7b 53 63 69 |+5$, \te|xtit{Sci|
|00004590| 65 6e 74 69 66 69 63 0d | 0a 4e 6f 74 65 62 6f 6f |entific.|.Noteboo|
|000045a0| 6b 20 7d 64 69 73 70 6c | 61 79 73 20 24 25 0d 0a |k }displ|ays $%..|
|000045b0| 25 54 43 49 4d 41 43 52 | 4f 7b 5c 46 4f 52 4d 55 |%TCIMACR|O{\FORMU|
|000045c0| 4c 41 7b 33 2b 35 7d 7b | 38 7d 7b 65 76 61 6c 75 |LA{3+5}{|8}{evalu|
|000045d0| 61 74 65 7d 7d 0d 0a 25 | 42 65 67 69 6e 45 78 70 |ate}}..%|BeginExp|
|000045e0| 61 6e 73 69 6f 6e 0d 0a | 38 25 0d 0a 25 45 6e 64 |ansion..|8%..%End|
|000045f0| 45 78 70 61 6e 73 69 6f | 6e 0d 0a 24 20 69 6e 20 |Expansio|n..$ in |
|00004600| 79 6f 75 72 20 66 69 6c | 65 2e 20 53 69 6d 69 6c |your fil|e. Simil|
|00004610| 61 72 6c 79 2c 20 69 66 | 20 79 6f 75 20 65 6e 74 |arly, if| you ent|
|00004620| 65 72 20 24 28 61 2b 62 | 29 28 61 2b 62 29 24 20 |er $(a+b|)(a+b)$ |
|00004630| 61 73 20 61 20 66 6f 72 | 6d 75 6c 61 2c 20 5c 74 |as a for|mula, \t|
|00004640| 65 78 74 69 74 7b 25 0d | 0a 53 63 69 65 6e 74 69 |extit{%.|.Scienti|
|00004650| 66 69 63 20 4e 6f 74 65 | 62 6f 6f 6b 20 7d 64 69 |fic Note|book }di|
|00004660| 73 70 6c 61 79 73 5c 20 | 24 25 0d 0a 25 54 43 49 |splays\ |$%..%TCI|
|00004670| 4d 41 43 52 4f 7b 5c 46 | 4f 52 4d 55 4c 41 7b 28 |MACRO{\F|ORMULA{(|
|00004680| 61 2b 62 29 28 61 2b 62 | 29 7d 7b 5c 6c 65 66 74 |a+b)(a+b|)}{\left|
|00004690| 28 20 61 2b 62 5c 72 69 | 67 68 74 29 20 5e 7b 32 |( a+b\ri|ght) ^{2|
|000046a0| 7d 7d 7b 65 76 61 6c 75 | 61 74 65 7d 7d 0d 0a 25 |}}{evalu|ate}}..%|
|000046b0| 42 65 67 69 6e 45 78 70 | 61 6e 73 69 6f 6e 0d 0a |BeginExp|ansion..|
|000046c0| 5c 6c 65 66 74 28 20 61 | 2b 62 5c 72 69 67 68 74 |\left( a|+b\right|
|000046d0| 29 20 5e 7b 32 7d 25 0d | 0a 25 45 6e 64 45 78 70 |) ^{2}%.|.%EndExp|
|000046e0| 61 6e 73 69 6f 6e 0d 0a | 24 5c 74 65 78 74 69 74 |ansion..|$\textit|
|000046f0| 7b 5c 20 7d 69 6e 20 79 | 6f 75 72 20 66 69 6c 65 |{\ }in y|our file|
|00004700| 2e 5c 20 49 66 20 79 6f | 75 20 68 61 76 65 20 48 |.\ If yo|u have H|
|00004710| 65 6c 70 65 72 20 4c 69 | 6e 65 73 20 74 75 72 6e |elper Li|nes turn|
|00004720| 65 64 20 6f 6e 20 69 6e | 20 74 68 65 20 56 69 65 |ed on in| the Vie|
|00004730| 77 0d 0a 6d 65 6e 75 2c | 20 66 6f 72 6d 75 6c 61 |w..menu,| formula|
|00004740| 73 20 61 70 70 65 61 72 | 20 61 67 61 69 6e 73 74 |s appear| against|
|00004750| 20 61 20 63 6f 6c 6f 72 | 65 64 20 62 61 63 6b 67 | a color|ed backg|
|00004760| 72 6f 75 6e 64 2c 20 61 | 73 20 73 68 6f 77 6e 20 |round, a|s shown |
|00004770| 68 65 72 65 2e 20 49 66 | 20 79 6f 75 0d 0a 68 61 |here. If| you..ha|
|00004780| 76 65 20 48 65 6c 70 65 | 72 20 4c 69 6e 65 73 20 |ve Helpe|r Lines |
|00004790| 74 75 72 6e 65 64 20 6f | 66 66 2c 20 66 6f 72 6d |turned o|ff, form|
|000047a0| 75 6c 61 73 20 61 72 65 | 20 76 69 73 75 61 6c 6c |ulas are| visuall|
|000047b0| 79 20 69 6e 64 69 73 74 | 69 6e 67 75 69 73 68 61 |y indist|inguisha|
|000047c0| 62 6c 65 20 66 72 6f 6d | 0d 0a 6f 72 64 69 6e 61 |ble from|..ordina|
|000047d0| 72 79 20 6d 61 74 68 65 | 6d 61 74 69 63 61 6c 20 |ry mathe|matical |
|000047e0| 65 78 70 72 65 73 73 69 | 6f 6e 73 2e 0d 0a 0d 0a |expressi|ons.....|
|000047f0| 4e 6f 74 65 20 74 68 61 | 74 20 69 66 20 74 68 65 |Note tha|t if the|
|00004800| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 69 6e 20 61 | express|ion in a|
|00004810| 20 66 6f 72 6d 75 6c 61 | 20 69 6e 63 6c 75 64 65 | formula| include|
|00004820| 73 20 76 61 72 69 61 62 | 6c 65 73 20 64 65 74 65 |s variab|les dete|
|00004830| 72 6d 69 6e 65 64 20 62 | 79 0d 0a 72 61 6e 64 6f |rmined b|y..rando|
|00004840| 6d 20 6e 75 6d 62 65 72 | 20 66 75 6e 63 74 69 6f |m number| functio|
|00004850| 6e 73 20 6f 72 20 62 79 | 20 63 65 72 74 61 69 6e |ns or by| certain|
|00004860| 20 6d 61 74 68 65 6d 61 | 74 69 63 61 6c 20 6f 70 | mathema|tical op|
|00004870| 65 72 61 74 69 6f 6e 73 | 2c 20 5c 74 65 78 74 69 |erations|, \texti|
|00004880| 74 7b 25 0d 0a 53 63 69 | 65 6e 74 69 66 69 63 20 |t{%..Sci|entific |
|00004890| 4e 6f 74 65 62 6f 6f 6b | 20 7d 6d 61 79 20 6e 6f |Notebook| }may no|
|000048a0| 74 20 68 61 76 65 20 61 | 6c 6c 20 74 68 65 20 69 |t have a|ll the i|
|000048b0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 74 20 6e 65 |nformati|on it ne|
|000048c0| 65 64 73 20 74 6f 20 64 | 69 73 70 6c 61 79 0d 0a |eds to d|isplay..|
|000048d0| 74 68 65 20 66 75 6c 6c | 79 20 65 76 61 6c 75 61 |the full|y evalua|
|000048e0| 74 65 64 20 66 6f 72 6d | 75 6c 61 20 75 6e 74 69 |ted form|ula unti|
|000048f0| 6c 20 69 74 20 67 65 6e | 65 72 61 74 65 73 20 61 |l it gen|erates a|
|00004900| 6e 20 65 78 61 6d 20 66 | 69 6c 65 2e 20 46 6f 72 |n exam f|ile. For|
|00004910| 20 65 78 61 6d 70 6c 65 | 2c 20 69 66 0d 0a 61 73 | example|, if..as|
|00004920| 20 6e 6f 74 65 64 20 61 | 62 6f 76 65 20 79 6f 75 | noted a|bove you|
|00004930| 20 65 6e 74 65 72 20 24 | 28 61 2b 62 29 28 61 2b | enter $|(a+b)(a+|
|00004940| 62 29 24 20 61 73 20 61 | 20 66 6f 72 6d 75 6c 61 |b)$ as a| formula|
|00004950| 20 61 6e 64 20 74 68 65 | 6e 20 75 73 65 20 72 61 | and the|n use ra|
|00004960| 6e 64 6f 6d 0d 0a 6e 75 | 6d 62 65 72 20 66 75 6e |ndom..nu|mber fun|
|00004970| 63 74 69 6f 6e 73 20 74 | 6f 20 64 65 66 69 6e 65 |ctions t|o define|
|00004980| 20 24 61 24 20 61 6e 64 | 20 24 62 24 2c 20 5c 74 | $a$ and| $b$, \t|
|00004990| 65 78 74 69 74 7b 53 63 | 69 65 6e 74 69 66 69 63 |extit{Sc|ientific|
|000049a0| 20 4e 6f 74 65 62 6f 6f | 6b 20 7d 25 0d 0a 64 69 | Noteboo|k }%..di|
|000049b0| 73 70 6c 61 79 73 5c 20 | 24 25 0d 0a 25 54 43 49 |splays\ |$%..%TCI|
|000049c0| 4d 41 43 52 4f 7b 5c 46 | 4f 52 4d 55 4c 41 7b 28 |MACRO{\F|ORMULA{(|
|000049d0| 61 2b 62 29 28 61 2b 62 | 29 7d 7b 5c 6c 65 66 74 |a+b)(a+b|)}{\left|
|000049e0| 28 20 61 2b 62 5c 72 69 | 67 68 74 29 20 5e 7b 32 |( a+b\ri|ght) ^{2|
|000049f0| 7d 7d 7b 65 76 61 6c 75 | 61 74 65 7d 7d 0d 0a 25 |}}{evalu|ate}}..%|
|00004a00| 42 65 67 69 6e 45 78 70 | 61 6e 73 69 6f 6e 0d 0a |BeginExp|ansion..|
|00004a10| 5c 6c 65 66 74 28 20 61 | 2b 62 5c 72 69 67 68 74 |\left( a|+b\right|
|00004a20| 29 20 5e 7b 32 7d 25 0d | 0a 25 45 6e 64 45 78 70 |) ^{2}%.|.%EndExp|
|00004a30| 61 6e 73 69 6f 6e 0d 0a | 24 5c 74 65 78 74 69 74 |ansion..|$\textit|
|00004a40| 7b 5c 20 7d 69 6e 20 79 | 6f 75 72 20 73 6f 75 72 |{\ }in y|our sour|
|00004a50| 63 65 20 66 69 6c 65 2e | 20 49 74 20 63 61 6e 27 |ce file.| It can'|
|00004a60| 74 20 65 76 61 6c 75 61 | 74 65 20 74 68 65 20 65 |t evalua|te the e|
|00004a70| 78 70 72 65 73 73 69 6f | 6e 20 66 75 72 74 68 65 |xpressio|n furthe|
|00004a80| 72 0d 0a 75 6e 74 69 6c | 20 74 68 65 20 72 61 6e |r..until| the ran|
|00004a90| 64 6f 6d 20 76 61 6c 75 | 65 73 20 61 72 65 20 61 |dom valu|es are a|
|00004aa0| 73 73 69 67 6e 65 64 20 | 74 6f 20 74 68 65 20 76 |ssigned |to the v|
|00004ab0| 61 72 69 61 62 6c 65 73 | 2c 20 77 68 69 63 68 20 |ariables|, which |
|00004ac0| 64 6f 65 73 6e 27 74 20 | 6f 63 63 75 72 0d 0a 75 |doesn't |occur..u|
|00004ad0| 6e 74 69 6c 20 74 68 65 | 20 65 78 61 6d 20 66 69 |ntil the| exam fi|
|00004ae0| 6c 65 20 69 73 20 67 65 | 6e 65 72 61 74 65 64 2e |le is ge|nerated.|
|00004af0| 20 41 74 20 74 68 61 74 | 20 74 69 6d 65 2c 20 69 | At that| time, i|
|00004b00| 66 20 24 61 3d 32 24 20 | 61 6e 64 20 24 62 3d 33 |f $a=2$ |and $b=3|
|00004b10| 24 20 2c 20 74 68 65 0d | 0a 66 6f 72 6d 75 6c 61 |$ , the.|.formula|
|00004b20| 20 61 70 70 65 61 72 73 | 20 61 73 20 24 25 0d 0a | appears| as $%..|
|00004b30| 25 54 43 49 4d 41 43 52 | 4f 7b 5c 46 4f 52 4d 55 |%TCIMACR|O{\FORMU|
|00004b40| 4c 41 7b 5c 6c 65 66 74 | 28 20 32 2b 33 5c 72 69 |LA{\left|( 2+3\ri|
|00004b50| 67 68 74 29 20 5e 7b 32 | 7d 7d 7b 32 35 7d 7b 65 |ght) ^{2|}}{25}{e|
|00004b60| 76 61 6c 75 61 74 65 7d | 7d 0d 0a 25 42 65 67 69 |valuate}|}..%Begi|
|00004b70| 6e 45 78 70 61 6e 73 69 | 6f 6e 0d 0a 32 35 25 0d |nExpansi|on..25%.|
|00004b80| 0a 25 45 6e 64 45 78 70 | 61 6e 73 69 6f 6e 0d 0a |.%EndExp|ansion..|
|00004b90| 5c 20 24 69 6e 20 74 68 | 65 20 67 65 6e 65 72 61 |\ $in th|e genera|
|00004ba0| 74 65 64 20 65 78 61 6d | 2e 5c 20 59 6f 75 20 73 |ted exam|.\ You s|
|00004bb0| 68 6f 75 6c 64 20 69 67 | 6e 6f 72 65 20 74 68 65 |hould ig|nore the|
|00004bc0| 20 66 6f 72 6d 75 6c 61 | 20 74 68 61 74 20 61 70 | formula| that ap|
|00004bd0| 70 65 61 72 73 20 69 6e | 20 74 68 65 0d 0a 45 78 |pears in| the..Ex|
|00004be0| 61 6d 20 42 75 69 6c 64 | 65 72 20 73 6f 75 72 63 |am Build|er sourc|
|00004bf0| 65 20 66 69 6c 65 2c 20 | 77 68 69 63 68 20 6d 61 |e file, |which ma|
|00004c00| 79 20 64 69 66 66 65 72 | 20 73 69 67 6e 69 66 69 |y differ| signifi|
|00004c10| 63 61 6e 74 6c 79 20 66 | 72 6f 6d 20 62 6f 74 68 |cantly f|rom both|
|00004c20| 20 74 68 65 0d 0a 73 74 | 61 74 65 6d 65 6e 74 20 | the..st|atement |
|00004c30| 6f 66 20 74 68 65 20 66 | 6f 72 6d 75 6c 61 20 61 |of the f|ormula a|
|00004c40| 6e 64 20 74 68 65 20 66 | 75 6c 6c 79 20 65 76 61 |nd the f|ully eva|
|00004c50| 6c 75 61 74 65 64 20 66 | 6f 72 6d 20 6f 66 20 74 |luated f|orm of t|
|00004c60| 68 65 20 66 6f 72 6d 75 | 6c 61 2e 20 59 6f 75 0d |he formu|la. You.|
|00004c70| 0a 63 61 6e 20 73 65 65 | 20 74 68 65 20 66 6f 72 |.can see| the for|
|00004c80| 6d 75 6c 61 20 69 6e 20 | 69 74 73 20 75 6e 65 76 |mula in |its unev|
|00004c90| 61 6c 75 61 74 65 64 20 | 66 6f 72 6d 20 69 66 20 |aluated |form if |
|00004ca0| 79 6f 75 20 64 6f 75 62 | 6c 65 2d 63 6c 69 63 6b |you doub|le-click|
|00004cb0| 20 69 74 2e 0d 0a 0d 0a | 5c 73 75 62 70 61 72 61 | it.....|\subpara|
|00004cc0| 67 72 61 70 68 7b 5c 6e | 6f 69 6e 64 65 6e 74 20 |graph{\n|oindent |
|00004cd0| 24 5c 62 6c 61 63 6b 74 | 72 69 61 6e 67 6c 65 72 |$\blackt|riangler|
|00004ce0| 69 67 68 74 20 24 5c 71 | 75 61 64 20 54 6f 20 63 |ight $\q|uad To c|
|00004cf0| 72 65 61 74 65 20 61 20 | 66 6f 72 6d 75 6c 61 5c |reate a |formula\|
|00004d00| 6c 61 62 65 6c 25 0d 0a | 7b 43 72 65 61 74 69 6e |label%..|{Creatin|
|00004d10| 67 20 61 20 66 6f 72 6d | 75 6c 61 7d 7d 0d 0a 0d |g a form|ula}}...|
|00004d20| 0a 5c 62 65 67 69 6e 7b | 65 6e 75 6d 65 72 61 74 |.\begin{|enumerat|
|00004d30| 65 7d 0d 0a 5c 69 74 65 | 6d 20 20 49 66 20 74 68 |e}..\ite|m If th|
|00004d40| 65 20 46 69 65 6c 64 20 | 74 6f 6f 6c 62 61 72 20 |e Field |toolbar |
|00004d50| 69 73 20 64 69 73 70 6c | 61 79 65 64 2c 20 63 6c |is displ|ayed, cl|
|00004d60| 69 63 6b 5c 46 52 41 4d | 45 7b 69 74 62 70 46 7d |ick\FRAM|E{itbpF}|
|00004d70| 7b 32 31 2e 37 35 70 74 | 7d 7b 25 0d 0a 32 31 2e |{21.75pt|}{%..21.|
|00004d80| 30 36 32 35 70 74 7d 7b | 32 70 74 7d 7b 7d 7b 7d |0625pt}{|2pt}{}{}|
|00004d90| 7b 66 6f 72 6d 75 6c 61 | 2e 77 6d 66 7d 7b 5c 73 |{formula|.wmf}{\s|
|00004da0| 70 65 63 69 61 6c 7b 6c | 61 6e 67 75 61 67 65 20 |pecial{l|anguage |
|00004db0| 22 53 63 69 65 6e 74 69 | 66 69 63 20 57 6f 72 64 |"Scienti|fic Word|
|00004dc0| 22 3b 74 79 70 65 0d 0a | 22 47 52 41 50 48 49 43 |";type..|"GRAPHIC|
|00004dd0| 22 3b 64 69 73 70 6c 61 | 79 20 22 50 49 43 54 22 |";displa|y "PICT"|
|00004de0| 3b 76 61 6c 69 64 5f 66 | 69 6c 65 20 22 46 22 3b |;valid_f|ile "F";|
|00004df0| 77 69 64 74 68 20 32 31 | 2e 37 35 70 74 3b 68 65 |width 21|.75pt;he|
|00004e00| 69 67 68 74 20 32 31 2e | 30 36 32 35 70 74 3b 64 |ight 21.|0625pt;d|
|00004e10| 65 70 74 68 0d 0a 32 70 | 74 3b 6f 72 69 67 69 6e |epth..2p|t;origin|
|00004e20| 61 6c 2d 77 69 64 74 68 | 20 31 39 2e 35 36 32 35 |al-width| 19.5625|
|00004e30| 70 74 3b 6f 72 69 67 69 | 6e 61 6c 2d 68 65 69 67 |pt;origi|nal-heig|
|00004e40| 68 74 20 31 38 2e 38 31 | 32 35 70 74 3b 63 72 6f |ht 18.81|25pt;cro|
|00004e50| 70 6c 65 66 74 20 22 30 | 22 3b 63 72 6f 70 74 6f |pleft "0|";cropto|
|00004e60| 70 0d 0a 22 31 22 3b 63 | 72 6f 70 72 69 67 68 74 |p.."1";c|ropright|
|00004e70| 20 22 31 22 3b 63 72 6f | 70 62 6f 74 74 6f 6d 20 | "1";cro|pbottom |
|00004e80| 22 30 22 3b 66 69 6c 65 | 6e 61 6d 65 20 27 66 6f |"0";file|name 'fo|
|00004e90| 72 6d 75 6c 61 2e 77 6d | 66 27 3b 66 69 6c 65 2d |rmula.wm|f';file-|
|00004ea0| 70 72 6f 70 65 72 74 69 | 65 73 0d 0a 22 58 4e 50 |properti|es.."XNP|
|00004eb0| 45 55 22 3b 7d 7d 2c 2e | 20 4f 74 68 65 72 77 69 |EU";}},.| Otherwi|
|00004ec0| 73 65 2c 66 72 6f 6d 20 | 74 68 65 20 49 6e 73 65 |se,from |the Inse|
|00004ed0| 72 74 20 6d 65 6e 75 2c | 20 63 68 6f 6f 73 65 20 |rt menu,| choose |
|00004ee0| 46 69 65 6c 64 20 61 6e | 64 20 74 68 65 6e 20 63 |Field an|d then c|
|00004ef0| 68 6f 6f 73 65 0d 0a 46 | 6f 72 6d 75 6c 61 2e 0d |hoose..F|ormula..|
|00004f00| 0a 0d 0a 5c 69 74 65 6d | 20 20 49 6e 20 74 68 65 |...\item| In the|
|00004f10| 20 46 6f 72 6d 75 6c 61 | 20 61 72 65 61 20 6f 66 | Formula| area of|
|00004f20| 20 74 68 65 20 64 69 61 | 6c 6f 67 20 62 6f 78 2c | the dia|log box,|
|00004f30| 20 65 6e 74 65 72 20 61 | 20 6d 61 74 68 65 6d 61 | enter a| mathema|
|00004f40| 74 69 63 61 6c 0d 0a 65 | 78 70 72 65 73 73 69 6f |tical..e|xpressio|
|00004f50| 6e 2e 0d 0a 0d 0a 5c 69 | 74 65 6d 20 20 49 6e 20 |n.....\i|tem In |
|00004f60| 74 68 65 20 4f 70 65 72 | 61 74 69 6f 6e 20 61 72 |the Oper|ation ar|
|00004f70| 65 61 2c 20 65 6e 74 65 | 72 20 74 68 65 20 63 6f |ea, ente|r the co|
|00004f80| 6d 70 75 74 61 74 69 6f | 6e 61 6c 20 6f 70 65 72 |mputatio|nal oper|
|00004f90| 61 74 69 6f 6e 20 79 6f | 75 20 77 61 6e 74 20 74 |ation yo|u want t|
|00004fa0| 6f 0d 0a 70 65 72 66 6f | 72 6d 20 6f 6e 20 74 68 |o..perfo|rm on th|
|00004fb0| 65 20 65 78 70 72 65 73 | 73 69 6f 6e 2e 0d 0a 0d |e expres|sion....|
|00004fc0| 0a 43 6c 69 63 6b 20 74 | 68 65 20 61 72 72 6f 77 |.Click t|he arrow|
|00004fd0| 20 61 74 20 74 68 65 20 | 72 69 67 68 74 20 6f 66 | at the |right of|
|00004fe0| 20 74 68 65 20 62 6f 78 | 20 66 6f 72 20 61 20 6c | the box| for a l|
|00004ff0| 69 73 74 20 6f 66 20 61 | 76 61 69 6c 61 62 6c 65 |ist of a|vailable|
|00005000| 20 6f 70 65 72 61 74 69 | 6f 6e 73 2e 0d 0a 0d 0a | operati|ons.....|
|00005010| 5c 69 74 65 6d 20 20 43 | 68 6f 6f 73 65 20 4f 4b |\item C|hoose OK|
|00005020| 2e 0d 0a 0d 0a 49 66 20 | 48 65 6c 70 65 72 20 4c |.....If |Helper L|
|00005030| 69 6e 65 73 20 61 72 65 | 20 74 75 72 6e 65 64 20 |ines are| turned |
|00005040| 6f 6e 20 69 6e 20 74 68 | 65 20 56 69 65 77 20 6d |on in th|e View m|
|00005050| 65 6e 75 2c 20 74 68 65 | 20 66 6f 72 6d 75 6c 61 |enu, the| formula|
|00005060| 20 61 70 70 65 61 72 73 | 20 61 67 61 69 6e 73 74 | appears| against|
|00005070| 0d 0a 61 20 63 6f 6c 6f | 72 65 64 20 62 61 63 6b |..a colo|red back|
|00005080| 67 72 6f 75 6e 64 2e 0d | 0a 5c 65 6e 64 7b 65 6e |ground..|.\end{en|
|00005090| 75 6d 65 72 61 74 65 7d | 0d 0a 0d 0a 5c 73 75 62 |umerate}|....\sub|
|000050a0| 73 65 63 74 69 6f 6e 7b | 42 75 69 6c 64 69 6e 67 |section{|Building|
|000050b0| 20 71 75 65 73 74 69 6f | 6e 73 20 77 69 74 68 20 | questio|ns with |
|000050c0| 61 6c 67 6f 72 69 74 68 | 6d 73 5c 6c 61 62 65 6c |algorith|ms\label|
|000050d0| 25 0d 0a 7b 42 75 69 6c | 64 69 6e 67 20 71 75 65 |%..{Buil|ding que|
|000050e0| 73 74 69 6f 6e 73 20 77 | 69 74 68 20 61 6c 67 6f |stions w|ith algo|
|000050f0| 72 69 74 68 6d 73 7d 7d | 0d 0a 0d 0a 44 65 66 69 |rithms}}|....Defi|
|00005100| 6e 69 74 69 6f 6e 73 2c | 20 63 6f 6e 64 69 74 69 |nitions,| conditi|
|00005110| 6f 6e 73 2c 20 72 61 6e | 64 6f 6d 20 6e 75 6d 62 |ons, ran|dom numb|
|00005120| 65 72 20 66 75 6e 63 74 | 69 6f 6e 73 2c 20 61 6e |er funct|ions, an|
|00005130| 64 20 66 6f 72 6d 75 6c | 61 73 20 61 6c 6c 20 77 |d formul|as all w|
|00005140| 6f 72 6b 0d 0a 74 6f 67 | 65 74 68 65 72 20 69 6e |ork..tog|ether in|
|00005150| 20 45 78 61 6d 20 42 75 | 69 6c 64 65 72 20 71 75 | Exam Bu|ilder qu|
|00005160| 65 73 74 69 6f 6e 73 20 | 61 6e 64 20 61 6e 73 77 |estions |and answ|
|00005170| 65 72 73 2c 20 61 73 20 | 73 68 6f 77 6e 20 69 6e |ers, as |shown in|
|00005180| 20 74 68 65 20 65 78 61 | 6d 70 6c 65 73 0d 0a 74 | the exa|mples..t|
|00005190| 68 61 74 20 66 6f 6c 6c | 6f 77 2e 20 5c 68 79 70 |hat foll|ow. \hyp|
|000051a0| 65 72 72 65 66 7b 43 68 | 61 70 74 65 72 20 35 7d |erref{Ch|apter 5}|
|000051b0| 7b 7d 7b 7d 7b 45 42 71 | 75 65 73 74 69 6f 6e 2e |{}{}{EBq|uestion.|
|000051c0| 74 65 78 7d 20 65 78 70 | 6c 61 69 6e 73 20 68 6f |tex} exp|lains ho|
|000051d0| 77 20 74 6f 0d 0a 73 74 | 72 75 63 74 75 72 65 20 |w to..st|ructure |
|000051e0| 71 75 65 73 74 69 6f 6e | 73 20 61 6e 64 20 61 6e |question|s and an|
|000051f0| 73 77 65 72 73 20 66 6f | 72 20 74 68 65 20 45 78 |swers fo|r the Ex|
|00005200| 61 6d 20 42 75 69 6c 64 | 65 72 2e 0d 0a 0d 0a 5c |am Build|er.....\|
|00005210| 6e 6f 69 6e 64 65 6e 74 | 20 5c 46 52 41 4d 45 7b |noindent| \FRAME{|
|00005220| 69 74 62 70 46 7d 7b 34 | 32 2e 38 37 35 70 74 7d |itbpF}{4|2.875pt}|
|00005230| 7b 31 38 2e 31 32 35 70 | 74 7d 7b 34 70 74 7d 7b |{18.125p|t}{4pt}{|
|00005240| 7d 7b 7d 7b 65 78 33 2e | 77 6d 66 7d 7b 5c 73 70 |}{}{ex3.|wmf}{\sp|
|00005250| 65 63 69 61 6c 25 0d 0a | 7b 6c 61 6e 67 75 61 67 |ecial%..|{languag|
|00005260| 65 20 22 53 63 69 65 6e | 74 69 66 69 63 20 57 6f |e "Scien|tific Wo|
|00005270| 72 64 22 3b 74 79 70 65 | 20 22 47 52 41 50 48 49 |rd";type| "GRAPHI|
|00005280| 43 22 3b 6d 61 69 6e 74 | 61 69 6e 2d 61 73 70 65 |C";maint|ain-aspe|
|00005290| 63 74 2d 72 61 74 69 6f | 0d 0a 54 52 55 45 3b 64 |ct-ratio|..TRUE;d|
|000052a0| 69 73 70 6c 61 79 20 22 | 50 49 43 54 22 3b 76 61 |isplay "|PICT";va|
|000052b0| 6c 69 64 5f 66 69 6c 65 | 20 22 46 22 3b 77 69 64 |lid_file| "F";wid|
|000052c0| 74 68 20 34 32 2e 38 37 | 35 70 74 3b 68 65 69 67 |th 42.87|5pt;heig|
|000052d0| 68 74 20 31 38 2e 31 32 | 35 70 74 3b 64 65 70 74 |ht 18.12|5pt;dept|
|000052e0| 68 0d 0a 34 70 74 3b 6f | 72 69 67 69 6e 61 6c 2d |h..4pt;o|riginal-|
|000052f0| 77 69 64 74 68 20 34 38 | 2e 38 37 35 70 74 3b 6f |width 48|.875pt;o|
|00005300| 72 69 67 69 6e 61 6c 2d | 68 65 69 67 68 74 20 31 |riginal-|height 1|
|00005310| 39 2e 35 36 32 35 70 74 | 3b 63 72 6f 70 6c 65 66 |9.5625pt|;croplef|
|00005320| 74 20 22 30 22 3b 63 72 | 6f 70 74 6f 70 0d 0a 22 |t "0";cr|optop.."|
|00005330| 31 22 3b 63 72 6f 70 72 | 69 67 68 74 20 22 31 22 |1";cropr|ight "1"|
|00005340| 3b 63 72 6f 70 62 6f 74 | 74 6f 6d 20 22 30 22 3b |;cropbot|tom "0";|
|00005350| 66 69 6c 65 6e 61 6d 65 | 20 27 45 78 33 2e 77 6d |filename| 'Ex3.wm|
|00005360| 66 27 3b 66 69 6c 65 2d | 70 72 6f 70 65 72 74 69 |f';file-|properti|
|00005370| 65 73 20 22 4e 50 45 55 | 22 3b 7d 7d 0d 0a 0d 0a |es "NPEU|";}}....|
|00005380| 5c 6e 6f 69 6e 64 65 6e | 74 20 44 65 66 69 6e 65 |\noinden|t Define|
|00005390| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 24 6e | the var|iable $n|
|000053a0| 24 20 61 73 20 61 20 72 | 61 6e 64 6f 6d 6c 79 20 |$ as a r|andomly |
|000053b0| 73 65 6c 65 63 74 65 64 | 20 70 72 69 6d 65 20 6e |selected| prime n|
|000053c0| 75 6d 62 65 72 3a 0d 0a | 0d 0a 24 6e 3a 3d 5c 6c |umber:..|..$n:=\l|
|000053d0| 69 6d 66 75 6e 63 7b 72 | 61 6e 64 7d 28 5c 7b 35 |imfunc{r|and}(\{5|
|000053e0| 2c 37 2c 31 31 2c 31 33 | 5c 7d 29 24 0d 0a 0d 0a |,7,11,13|\})$....|
|000053f0| 5c 6e 6f 69 6e 64 65 6e | 74 20 41 73 6b 20 74 68 |\noinden|t Ask th|
|00005400| 65 20 73 74 75 64 65 6e | 74 20 74 6f 20 69 64 65 |e studen|t to ide|
|00005410| 6e 74 69 66 79 20 74 68 | 65 20 70 72 69 6d 65 20 |ntify th|e prime |
|00005420| 6e 75 6d 62 65 72 20 69 | 6e 20 61 20 6c 69 73 74 |number i|n a list|
|00005430| 20 6f 66 20 61 6e 73 77 | 65 72 73 2c 0d 0a 65 61 | of answ|ers,..ea|
|00005440| 63 68 20 6f 66 20 77 68 | 69 63 68 20 68 61 73 20 |ch of wh|ich has |
|00005450| 62 65 65 6e 20 64 65 66 | 69 6e 65 64 20 75 73 69 |been def|ined usi|
|00005460| 6e 67 20 66 6f 72 6d 75 | 6c 61 73 3a 0d 0a 0d 0a |ng formu|las:....|
|00005470| 5c 62 65 67 69 6e 7b 69 | 74 65 6d 69 7a 65 7d 0d |\begin{i|temize}.|
|00005480| 0a 5c 69 74 65 6d 20 20 | 24 25 0d 0a 25 54 43 49 |.\item |$%..%TCI|
|00005490| 4d 41 43 52 4f 7b 5c 46 | 4f 52 4d 55 4c 41 7b 6e |MACRO{\F|ORMULA{n|
|000054a0| 7d 7b 6e 7d 7b 65 76 61 | 6c 75 61 74 65 7d 7d 0d |}{n}{eva|luate}}.|
|000054b0| 0a 25 42 65 67 69 6e 45 | 78 70 61 6e 73 69 6f 6e |.%BeginE|xpansion|
|000054c0| 0d 0a 6e 25 0d 0a 25 45 | 6e 64 45 78 70 61 6e 73 |..n%..%E|ndExpans|
|000054d0| 69 6f 6e 0d 0a 24 0d 0a | 0d 0a 5c 69 74 65 6d 20 |ion..$..|..\item |
|000054e0| 20 24 25 0d 0a 25 54 43 | 49 4d 41 43 52 4f 7b 5c | $%..%TC|IMACRO{\|
|000054f0| 46 4f 52 4d 55 4c 41 7b | 32 6e 7d 7b 32 6e 7d 7b |FORMULA{|2n}{2n}{|
|00005500| 65 76 61 6c 75 61 74 65 | 7d 7d 0d 0a 25 42 65 67 |evaluate|}}..%Beg|
|00005510| 69 6e 45 78 70 61 6e 73 | 69 6f 6e 0d 0a 32 6e 25 |inExpans|ion..2n%|
|00005520| 0d 0a 25 45 6e 64 45 78 | 70 61 6e 73 69 6f 6e 0d |..%EndEx|pansion.|
|00005530| 0a 24 0d 0a 0d 0a 5c 69 | 74 65 6d 20 20 24 25 0d |.$....\i|tem $%.|
|00005540| 0a 25 54 43 49 4d 41 43 | 52 4f 7b 5c 46 4f 52 4d |.%TCIMAC|RO{\FORM|
|00005550| 55 4c 41 7b 33 6e 7d 7b | 33 6e 7d 7b 65 76 61 6c |ULA{3n}{|3n}{eval|
|00005560| 75 61 74 65 7d 7d 0d 0a | 25 42 65 67 69 6e 45 78 |uate}}..|%BeginEx|
|00005570| 70 61 6e 73 69 6f 6e 0d | 0a 33 6e 25 0d 0a 25 45 |pansion.|.3n%..%E|
|00005580| 6e 64 45 78 70 61 6e 73 | 69 6f 6e 0d 0a 24 0d 0a |ndExpans|ion..$..|
|00005590| 0d 0a 5c 69 74 65 6d 20 | 20 24 25 0d 0a 25 54 43 |..\item | $%..%TC|
|000055a0| 49 4d 41 43 52 4f 7b 5c | 46 4f 52 4d 55 4c 41 7b |IMACRO{\|FORMULA{|
|000055b0| 6e 2d 31 7d 7b 6e 2d 31 | 7d 7b 65 76 61 6c 75 61 |n-1}{n-1|}{evalua|
|000055c0| 74 65 7d 7d 0d 0a 25 42 | 65 67 69 6e 45 78 70 61 |te}}..%B|eginExpa|
|000055d0| 6e 73 69 6f 6e 0d 0a 6e | 2d 31 25 0d 0a 25 45 6e |nsion..n|-1%..%En|
|000055e0| 64 45 78 70 61 6e 73 69 | 6f 6e 0d 0a 5c 62 69 67 |dExpansi|on..\big|
|000055f0| 73 6b 69 70 20 24 0d 0a | 5c 65 6e 64 7b 69 74 65 |skip $..|\end{ite|
|00005600| 6d 69 7a 65 7d 0d 0a 0d | 0a 5c 6e 6f 69 6e 64 65 |mize}...|.\noinde|
|00005610| 6e 74 20 5c 46 52 41 4d | 45 7b 69 74 62 70 46 7d |nt \FRAM|E{itbpF}|
|00005620| 7b 34 32 2e 38 37 35 70 | 74 7d 7b 31 38 2e 31 32 |{42.875p|t}{18.12|
|00005630| 35 70 74 7d 7b 34 70 74 | 7d 7b 7d 7b 7d 7b 65 78 |5pt}{4pt|}{}{}{ex|
|00005640| 33 2e 77 6d 66 7d 7b 5c | 73 70 65 63 69 61 6c 25 |3.wmf}{\|special%|
|00005650| 0d 0a 7b 6c 61 6e 67 75 | 61 67 65 20 22 53 63 69 |..{langu|age "Sci|
|00005660| 65 6e 74 69 66 69 63 20 | 57 6f 72 64 22 3b 74 79 |entific |Word";ty|
|00005670| 70 65 20 22 47 52 41 50 | 48 49 43 22 3b 6d 61 69 |pe "GRAP|HIC";mai|
|00005680| 6e 74 61 69 6e 2d 61 73 | 70 65 63 74 2d 72 61 74 |ntain-as|pect-rat|
|00005690| 69 6f 0d 0a 54 52 55 45 | 3b 64 69 73 70 6c 61 79 |io..TRUE|;display|
|000056a0| 20 22 50 49 43 54 22 3b | 76 61 6c 69 64 5f 66 69 | "PICT";|valid_fi|
|000056b0| 6c 65 20 22 46 22 3b 77 | 69 64 74 68 20 34 32 2e |le "F";w|idth 42.|
|000056c0| 38 37 35 70 74 3b 68 65 | 69 67 68 74 20 31 38 2e |875pt;he|ight 18.|
|000056d0| 31 32 35 70 74 3b 64 65 | 70 74 68 0d 0a 34 70 74 |125pt;de|pth..4pt|
|000056e0| 3b 6f 72 69 67 69 6e 61 | 6c 2d 77 69 64 74 68 20 |;origina|l-width |
|000056f0| 34 38 2e 38 37 35 70 74 | 3b 6f 72 69 67 69 6e 61 |48.875pt|;origina|
|00005700| 6c 2d 68 65 69 67 68 74 | 20 31 39 2e 35 36 32 35 |l-height| 19.5625|
|00005710| 70 74 3b 63 72 6f 70 6c | 65 66 74 20 22 30 22 3b |pt;cropl|eft "0";|
|00005720| 63 72 6f 70 74 6f 70 0d | 0a 22 31 22 3b 63 72 6f |croptop.|."1";cro|
|00005730| 70 72 69 67 68 74 20 22 | 31 22 3b 63 72 6f 70 62 |pright "|1";cropb|
|00005740| 6f 74 74 6f 6d 20 22 30 | 22 3b 66 69 6c 65 6e 61 |ottom "0|";filena|
|00005750| 6d 65 20 27 45 78 33 2e | 77 6d 66 27 3b 66 69 6c |me 'Ex3.|wmf';fil|
|00005760| 65 2d 70 72 6f 70 65 72 | 74 69 65 73 20 22 4e 50 |e-proper|ties "NP|
|00005770| 45 55 22 3b 7d 7d 0d 0a | 0d 0a 5c 6e 6f 69 6e 64 |EU";}}..|..\noind|
|00005780| 65 6e 74 20 44 65 66 69 | 6e 65 20 73 65 76 65 72 |ent Defi|ne sever|
|00005790| 61 6c 20 76 61 72 69 61 | 62 6c 65 73 20 77 69 74 |al varia|bles wit|
|000057a0| 68 20 72 61 6e 64 6f 6d | 20 66 75 6e 63 74 69 6f |h random| functio|
|000057b0| 6e 73 20 61 6e 64 20 72 | 65 73 74 72 69 63 74 20 |ns and r|estrict |
|000057c0| 74 68 65 0d 0a 64 65 66 | 69 6e 69 74 69 6f 6e 73 |the..def|initions|
|000057d0| 20 77 69 74 68 20 63 6f | 6e 64 69 74 69 6f 6e 73 | with co|nditions|
|000057e0| 3a 0d 0a 0d 0a 24 61 3a | 3d 5c 7b 32 2c 33 2c 35 |:....$a:|=\{2,3,5|
|000057f0| 2c 37 2c 31 31 2c 32 33 | 5c 7d 24 0d 0a 0d 0a 24 |,7,11,23|\}$....$|
|00005800| 62 3a 3d 5c 66 75 6e 63 | 7b 72 61 6e 64 7d 28 61 |b:=\func|{rand}(a|
|00005810| 29 24 0d 0a 0d 0a 24 63 | 3a 3d 5c 66 75 6e 63 7b |)$....$c|:=\func{|
|00005820| 72 61 6e 64 7d 28 61 29 | 24 0d 0a 0d 0a 43 6f 6e |rand}(a)|$....Con|
|00005830| 64 69 74 69 6f 6e 73 3a | 24 28 62 5c 6e 65 71 20 |ditions:|$(b\neq |
|00005840| 63 29 5c 77 65 64 67 65 | 20 28 62 3c 63 29 24 5c |c)\wedge| (b<c)$\|
|00005850| 76 73 70 61 63 65 7b 31 | 70 74 7d 0d 0a 0d 0a 5c |vspace{1|pt}....\|
|00005860| 6e 6f 69 6e 64 65 6e 74 | 20 53 74 61 74 65 20 74 |noindent| State t|
|00005870| 68 65 20 71 75 65 73 74 | 69 6f 6e 20 75 73 69 6e |he quest|ion usin|
|00005880| 67 20 73 65 76 65 72 61 | 6c 20 73 69 6d 70 6c 65 |g severa|l simple|
|00005890| 20 66 6f 72 6d 75 6c 61 | 73 3a 0d 0a 0d 0a 49 66 | formula|s:....If|
|000058a0| 20 24 78 2b 25 0d 0a 25 | 54 43 49 4d 41 43 52 4f | $x+%..%|TCIMACRO|
|000058b0| 7b 5c 46 4f 52 4d 55 4c | 41 7b 62 7d 7b 62 7d 7b |{\FORMUL|A{b}{b}{|
|000058c0| 65 76 61 6c 75 61 74 65 | 7d 7d 0d 0a 25 42 65 67 |evaluate|}}..%Beg|
|000058d0| 69 6e 45 78 70 61 6e 73 | 69 6f 6e 0d 0a 62 25 0d |inExpans|ion..b%.|
|000058e0| 0a 25 45 6e 64 45 78 70 | 61 6e 73 69 6f 6e 0d 0a |.%EndExp|ansion..|
|000058f0| 3d 25 0d 0a 25 54 43 49 | 4d 41 43 52 4f 7b 5c 46 |=%..%TCI|MACRO{\F|
|00005900| 4f 52 4d 55 4c 41 7b 63 | 7d 7b 63 7d 7b 65 76 61 |ORMULA{c|}{c}{eva|
|00005910| 6c 75 61 74 65 7d 7d 0d | 0a 25 42 65 67 69 6e 45 |luate}}.|.%BeginE|
|00005920| 78 70 61 6e 73 69 6f 6e | 0d 0a 63 25 0d 0a 25 45 |xpansion|..c%..%E|
|00005930| 6e 64 45 78 70 61 6e 73 | 69 6f 6e 0d 0a 24 2c 20 |ndExpans|ion..$, |
|00005940| 74 68 65 6e 20 24 78 24 | 20 69 73 3a 0d 0a 0d 0a |then $x$| is:....|
|00005950| 5c 6e 6f 69 6e 64 65 6e | 74 20 55 73 65 20 61 64 |\noinden|t Use ad|
|00005960| 64 69 74 69 6f 6e 61 6c | 20 66 6f 72 6d 75 6c 61 |ditional| formula|
|00005970| 73 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 73 |s to det|ermine s|
|00005980| 65 76 65 72 61 6c 20 70 | 6f 73 73 69 62 6c 65 20 |everal p|ossible |
|00005990| 61 6e 73 77 65 72 73 3a | 0d 0a 0d 0a 5c 62 65 67 |answers:|....\beg|
|000059a0| 69 6e 7b 69 74 65 6d 69 | 7a 65 7d 0d 0a 5c 69 74 |in{itemi|ze}..\it|
|000059b0| 65 6d 20 20 24 25 0d 0a | 25 54 43 49 4d 41 43 52 |em $%..|%TCIMACR|
|000059c0| 4f 7b 5c 46 4f 52 4d 55 | 4c 41 7b 63 2d 62 7d 7b |O{\FORMU|LA{c-b}{|
|000059d0| 63 2d 62 7d 7b 65 76 61 | 6c 75 61 74 65 7d 7d 0d |c-b}{eva|luate}}.|
|000059e0| 0a 25 42 65 67 69 6e 45 | 78 70 61 6e 73 69 6f 6e |.%BeginE|xpansion|
|000059f0| 0d 0a 63 2d 62 25 0d 0a | 25 45 6e 64 45 78 70 61 |..c-b%..|%EndExpa|
|00005a00| 6e 73 69 6f 6e 0d 0a 24 | 0d 0a 0d 0a 5c 69 74 65 |nsion..$|....\ite|
|00005a10| 6d 20 20 24 25 0d 0a 25 | 54 43 49 4d 41 43 52 4f |m $%..%|TCIMACRO|
|00005a20| 7b 5c 46 4f 52 4d 55 4c | 41 7b 62 2d 63 7d 7b 62 |{\FORMUL|A{b-c}{b|
|00005a30| 2d 63 7d 7b 65 76 61 6c | 75 61 74 65 7d 7d 0d 0a |-c}{eval|uate}}..|
|00005a40| 25 42 65 67 69 6e 45 78 | 70 61 6e 73 69 6f 6e 0d |%BeginEx|pansion.|
|00005a50| 0a 62 2d 63 25 0d 0a 25 | 45 6e 64 45 78 70 61 6e |.b-c%..%|EndExpan|
|00005a60| 73 69 6f 6e 0d 0a 24 0d | 0a 0d 0a 5c 69 74 65 6d |sion..$.|...\item|
|00005a70| 20 20 24 25 0d 0a 25 54 | 43 49 4d 41 43 52 4f 7b | $%..%T|CIMACRO{|
|00005a80| 5c 46 4f 52 4d 55 4c 41 | 7b 63 2d 62 2b 31 7d 7b |\FORMULA|{c-b+1}{|
|00005a90| 63 2d 62 2b 31 7d 7b 65 | 76 61 6c 75 61 74 65 7d |c-b+1}{e|valuate}|
|00005aa0| 7d 0d 0a 25 42 65 67 69 | 6e 45 78 70 61 6e 73 69 |}..%Begi|nExpansi|
|00005ab0| 6f 6e 0d 0a 63 2d 62 2b | 31 25 0d 0a 25 45 6e 64 |on..c-b+|1%..%End|
|00005ac0| 45 78 70 61 6e 73 69 6f | 6e 0d 0a 24 5c 62 69 67 |Expansio|n..$\big|
|00005ad0| 73 6b 69 70 0d 0a 5c 65 | 6e 64 7b 69 74 65 6d 69 |skip..\e|nd{itemi|
|00005ae0| 7a 65 7d 0d 0a 0d 0a 5c | 6e 6f 69 6e 64 65 6e 74 |ze}....\|noindent|
|00005af0| 20 5c 46 52 41 4d 45 7b | 69 74 62 70 46 7d 7b 34 | \FRAME{|itbpF}{4|
|00005b00| 32 2e 38 37 35 70 74 7d | 7b 31 38 2e 31 32 35 70 |2.875pt}|{18.125p|
|00005b10| 74 7d 7b 34 70 74 7d 7b | 7d 7b 7d 7b 65 78 33 2e |t}{4pt}{|}{}{ex3.|
|00005b20| 77 6d 66 7d 7b 5c 73 70 | 65 63 69 61 6c 25 0d 0a |wmf}{\sp|ecial%..|
|00005b30| 7b 6c 61 6e 67 75 61 67 | 65 20 22 53 63 69 65 6e |{languag|e "Scien|
|00005b40| 74 69 66 69 63 20 57 6f | 72 64 22 3b 74 79 70 65 |tific Wo|rd";type|
|00005b50| 20 22 47 52 41 50 48 49 | 43 22 3b 6d 61 69 6e 74 | "GRAPHI|C";maint|
|00005b60| 61 69 6e 2d 61 73 70 65 | 63 74 2d 72 61 74 69 6f |ain-aspe|ct-ratio|
|00005b70| 0d 0a 54 52 55 45 3b 64 | 69 73 70 6c 61 79 20 22 |..TRUE;d|isplay "|
|00005b80| 50 49 43 54 22 3b 76 61 | 6c 69 64 5f 66 69 6c 65 |PICT";va|lid_file|
|00005b90| 20 22 46 22 3b 77 69 64 | 74 68 20 34 32 2e 38 37 | "F";wid|th 42.87|
|00005ba0| 35 70 74 3b 68 65 69 67 | 68 74 20 31 38 2e 31 32 |5pt;heig|ht 18.12|
|00005bb0| 35 70 74 3b 64 65 70 74 | 68 0d 0a 34 70 74 3b 6f |5pt;dept|h..4pt;o|
|00005bc0| 72 69 67 69 6e 61 6c 2d | 77 69 64 74 68 20 34 38 |riginal-|width 48|
|00005bd0| 2e 38 37 35 70 74 3b 6f | 72 69 67 69 6e 61 6c 2d |.875pt;o|riginal-|
|00005be0| 68 65 69 67 68 74 20 31 | 39 2e 35 36 32 35 70 74 |height 1|9.5625pt|
|00005bf0| 3b 63 72 6f 70 6c 65 66 | 74 20 22 30 22 3b 63 72 |;croplef|t "0";cr|
|00005c00| 6f 70 74 6f 70 0d 0a 22 | 31 22 3b 63 72 6f 70 72 |optop.."|1";cropr|
|00005c10| 69 67 68 74 20 22 31 22 | 3b 63 72 6f 70 62 6f 74 |ight "1"|;cropbot|
|00005c20| 74 6f 6d 20 22 30 22 3b | 66 69 6c 65 6e 61 6d 65 |tom "0";|filename|
|00005c30| 20 27 45 78 33 2e 77 6d | 66 27 3b 66 69 6c 65 2d | 'Ex3.wm|f';file-|
|00005c40| 70 72 6f 70 65 72 74 69 | 65 73 20 22 4e 50 45 55 |properti|es "NPEU|
|00005c50| 22 3b 7d 7d 0d 0a 0d 0a | 5c 6e 6f 69 6e 64 65 6e |";}}....|\noinden|
|00005c60| 74 20 54 68 69 73 20 65 | 78 61 6d 70 6c 65 20 69 |t This e|xample i|
|00005c70| 73 20 73 6f 6d 65 77 68 | 61 74 20 6d 6f 72 65 20 |s somewh|at more |
|00005c80| 63 6f 6d 70 6c 69 63 61 | 74 65 64 2e 20 44 65 66 |complica|ted. Def|
|00005c90| 69 6e 65 20 73 65 76 65 | 72 61 6c 20 73 65 74 73 |ine seve|ral sets|
|00005ca0| 20 6f 66 0d 0a 76 61 72 | 69 61 62 6c 65 73 20 77 | of..var|iables w|
|00005cb0| 69 74 68 20 72 61 6e 64 | 6f 6d 20 6e 75 6d 62 65 |ith rand|om numbe|
|00005cc0| 72 20 66 75 6e 63 74 69 | 6f 6e 73 2c 20 74 68 65 |r functi|ons, the|
|00005cd0| 6e 20 64 65 66 69 6e 65 | 20 61 64 64 69 74 69 6f |n define| additio|
|00005ce0| 6e 61 6c 20 76 61 72 69 | 61 62 6c 65 73 0d 0a 75 |nal vari|ables..u|
|00005cf0| 73 69 6e 67 20 74 68 65 | 20 66 69 72 73 74 20 73 |sing the| first s|
|00005d00| 65 74 20 6f 66 20 64 65 | 66 69 6e 69 74 69 6f 6e |et of de|finition|
|00005d10| 73 3a 0d 0a 0d 0a 24 61 | 3a 3d 5c 6c 69 6d 66 75 |s:....$a|:=\limfu|
|00005d20| 6e 63 7b 72 61 6e 64 7d | 28 31 2c 31 30 30 29 24 |nc{rand}|(1,100)$|
|00005d30| 0d 0a 0d 0a 24 62 3a 3d | 5c 6c 69 6d 66 75 6e 63 |....$b:=|\limfunc|
|00005d40| 7b 72 61 6e 64 7d 28 31 | 2c 31 30 30 29 24 0d 0a |{rand}(1|,100)$..|
|00005d50| 0d 0a 24 70 3a 3d 5c 6c | 69 6d 66 75 6e 63 7b 72 |..$p:=\l|imfunc{r|
|00005d60| 61 6e 64 7d 28 5c 7b 33 | 2c 35 2c 37 2c 31 31 2c |and}(\{3|,5,7,11,|
|00005d70| 31 33 2c 31 37 2c 31 39 | 5c 7d 29 24 20 5b 73 6f |13,17,19|\})$ [so|
|00005d80| 6d 65 20 70 72 69 6d 65 | 73 5d 0d 0a 0d 0a 43 6f |me prime|s]....Co|
|00005d90| 6e 64 69 74 69 6f 6e 3a | 20 24 5c 67 63 64 20 28 |ndition:| $\gcd (|
|00005da0| 61 2c 70 29 3d 31 24 0d | 0a 0d 0a 43 6f 6e 64 69 |a,p)=1$.|...Condi|
|00005db0| 74 69 6f 6e 3a 5c 20 24 | 5c 67 63 64 20 28 62 2c |tion:\ $|\gcd (b,|
|00005dc0| 70 29 3d 31 24 0d 0a 0d | 0a 24 41 3a 3d 5c 6c 65 |p)=1$...|.$A:=\le|
|00005dd0| 66 74 28 20 2d 28 62 2f | 61 29 5c 66 75 6e 63 7b |ft( -(b/|a)\func{|
|00005de0| 6d 6f 64 7d 70 5c 72 69 | 67 68 74 29 20 24 0d 0a |mod}p\ri|ght) $..|
|00005df0| 0d 0a 24 42 3a 3d 5c 6c | 65 66 74 28 20 2d 28 62 |..$B:=\l|eft( -(b|
|00005e00| 2f 61 2b 31 29 5c 66 75 | 6e 63 7b 6d 6f 64 7d 70 |/a+1)\fu|nc{mod}p|
|00005e10| 5c 72 69 67 68 74 29 20 | 24 0d 0a 0d 0a 24 43 3a |\right) |$....$C:|
|00005e20| 3d 5c 6c 65 66 74 28 20 | 2d 28 62 2f 61 2d 31 29 |=\left( |-(b/a-1)|
|00005e30| 5c 66 75 6e 63 7b 6d 6f | 64 7d 70 5c 72 69 67 68 |\func{mo|d}p\righ|
|00005e40| 74 29 20 24 0d 0a 0d 0a | 5c 6e 6f 69 6e 64 65 6e |t) $....|\noinden|
|00005e50| 74 20 55 73 65 20 66 6f | 72 6d 75 6c 61 73 20 74 |t Use fo|rmulas t|
|00005e60| 6f 20 73 74 61 74 65 20 | 74 68 65 20 71 75 65 73 |o state |the ques|
|00005e70| 74 69 6f 6e 20 66 6f 72 | 20 74 68 65 20 73 74 75 |tion for| the stu|
|00005e80| 64 65 6e 74 3a 0d 0a 0d | 0a 53 6f 6c 76 65 20 74 |dent:...|.Solve t|
|00005e90| 68 65 20 63 6f 6e 67 72 | 75 65 6e 63 65 20 24 25 |he congr|uence $%|
|00005ea0| 0d 0a 25 54 43 49 4d 41 | 43 52 4f 7b 5c 46 4f 52 |..%TCIMA|CRO{\FOR|
|00005eb0| 4d 55 4c 41 7b 61 58 2b | 62 7d 7b 61 58 2b 62 7d |MULA{aX+|b}{aX+b}|
|00005ec0| 7b 65 76 61 6c 75 61 74 | 65 7d 7d 0d 0a 25 42 65 |{evaluat|e}}..%Be|
|00005ed0| 67 69 6e 45 78 70 61 6e | 73 69 6f 6e 0d 0a 61 58 |ginExpan|sion..aX|
|00005ee0| 2b 62 25 0d 0a 25 45 6e | 64 45 78 70 61 6e 73 69 |+b%..%En|dExpansi|
|00005ef0| 6f 6e 0d 0a 3d 30 5c 66 | 75 6e 63 7b 6d 6f 64 7d |on..=0\f|unc{mod}|
|00005f00| 25 0d 0a 25 54 43 49 4d | 41 43 52 4f 7b 5c 46 4f |%..%TCIM|ACRO{\FO|
|00005f10| 52 4d 55 4c 41 7b 70 7d | 7b 70 7d 7b 65 76 61 6c |RMULA{p}|{p}{eval|
|00005f20| 75 61 74 65 7d 7d 0d 0a | 25 42 65 67 69 6e 45 78 |uate}}..|%BeginEx|
|00005f30| 70 61 6e 73 69 6f 6e 0d | 0a 70 25 0d 0a 25 45 6e |pansion.|.p%..%En|
|00005f40| 64 45 78 70 61 6e 73 69 | 6f 6e 0d 0a 24 2e 0d 0a |dExpansi|on..$...|
|00005f50| 0d 0a 5c 6e 6f 69 6e 64 | 65 6e 74 20 55 73 65 20 |..\noind|ent Use |
|00005f60| 61 64 64 69 74 69 6f 6e | 61 6c 20 66 6f 72 6d 75 |addition|al formu|
|00005f70| 6c 61 73 20 74 6f 20 70 | 72 65 73 65 6e 74 20 74 |las to p|resent t|
|00005f80| 68 65 20 70 6f 73 73 69 | 62 6c 65 20 61 6e 73 77 |he possi|ble answ|
|00005f90| 65 72 73 3a 0d 0a 0d 0a | 5c 62 65 67 69 6e 7b 69 |ers:....|\begin{i|
|00005fa0| 74 65 6d 69 7a 65 7d 0d | 0a 5c 69 74 65 6d 20 20 |temize}.|.\item |
|00005fb0| 24 25 0d 0a 25 54 43 49 | 4d 41 43 52 4f 7b 5c 46 |$%..%TCI|MACRO{\F|
|00005fc0| 4f 52 4d 55 4c 41 7b 41 | 7d 7b 41 7d 7b 65 76 61 |ORMULA{A|}{A}{eva|
|00005fd0| 6c 75 61 74 65 7d 7d 0d | 0a 25 42 65 67 69 6e 45 |luate}}.|.%BeginE|
|00005fe0| 78 70 61 6e 73 69 6f 6e | 0d 0a 41 25 0d 0a 25 45 |xpansion|..A%..%E|
|00005ff0| 6e 64 45 78 70 61 6e 73 | 69 6f 6e 0d 0a 24 0d 0a |ndExpans|ion..$..|
|00006000| 0d 0a 5c 69 74 65 6d 20 | 20 24 25 0d 0a 25 54 43 |..\item | $%..%TC|
|00006010| 49 4d 41 43 52 4f 7b 5c | 46 4f 52 4d 55 4c 41 7b |IMACRO{\|FORMULA{|
|00006020| 42 7d 7b 42 7d 7b 65 76 | 61 6c 75 61 74 65 7d 7d |B}{B}{ev|aluate}}|
|00006030| 0d 0a 25 42 65 67 69 6e | 45 78 70 61 6e 73 69 6f |..%Begin|Expansio|
|00006040| 6e 0d 0a 42 25 0d 0a 25 | 45 6e 64 45 78 70 61 6e |n..B%..%|EndExpan|
|00006050| 73 69 6f 6e 0d 0a 24 0d | 0a 0d 0a 5c 69 74 65 6d |sion..$.|...\item|
|00006060| 20 20 24 25 0d 0a 25 54 | 43 49 4d 41 43 52 4f 7b | $%..%T|CIMACRO{|
|00006070| 5c 46 4f 52 4d 55 4c 41 | 7b 43 7d 7b 43 7d 7b 65 |\FORMULA|{C}{C}{e|
|00006080| 76 61 6c 75 61 74 65 7d | 7d 0d 0a 25 42 65 67 69 |valuate}|}..%Begi|
|00006090| 6e 45 78 70 61 6e 73 69 | 6f 6e 0d 0a 43 25 0d 0a |nExpansi|on..C%..|
|000060a0| 25 45 6e 64 45 78 70 61 | 6e 73 69 6f 6e 0d 0a 24 |%EndExpa|nsion..$|
|000060b0| 0d 0a 5c 65 6e 64 7b 69 | 74 65 6d 69 7a 65 7d 0d |..\end{i|temize}.|
|000060c0| 0a 0d 0a 5c 65 6e 64 7b | 64 6f 63 75 6d 65 6e 74 |...\end{|document|
|000060d0| 7d 0d 0a | |}.. | |
+--------+-------------------------+-------------------------+--------+--------+