home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / log.tex < prev    next >
LaTeX Document  |  1994-04-27  |  996 b   |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: log.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 6c 6f 67 20 2d 2d 2d |\section|{log ---|
|00000010| 20 6e 61 74 75 72 61 6c | 20 6c 6f 67 61 72 69 74 | natural| logarit|
|00000020| 68 6d 7d 0d 5c 6c 61 62 | 65 6c 7b 66 6e 3a 6c 6f |hm}.\lab|el{fn:lo|
|00000030| 67 7d 0d 5c 69 6e 64 65 | 78 7b 6c 6f 67 28 29 7d |g}.\inde|x{log()}|
|00000040| 0d 5c 69 6e 64 65 78 7b | 6e 61 74 75 72 61 6c 20 |.\index{|natural |
|00000050| 6c 6f 67 61 72 69 74 68 | 6d 7d 0d 5c 69 6e 64 65 |logarith|m}.\inde|
|00000060| 78 7b 6c 6f 67 61 72 69 | 74 68 6d 21 6e 61 74 75 |x{logari|thm!natu|
|00000070| 72 61 6c 7d 0d 5c 62 65 | 67 69 6e 7b 72 61 69 6c |ral}.\be|gin{rail|
|00000080| 7d 0d 4c 6f 67 20 3a 20 | 27 6c 6f 67 27 20 27 28 |}.Log : |'log' '(|
|00000090| 27 20 28 20 53 63 61 6c | 61 72 20 7c 20 4d 61 74 |' ( Scal|ar | Mat|
|000000a0| 72 69 78 20 29 20 27 29 | 27 20 3b 0d 5c 65 6e 64 |rix ) ')|' ;.\end|
|000000b0| 7b 72 61 69 6c 7d 0d 0d | 5c 76 65 72 62 2b 6c 6f |{rail}..|\verb+lo|
|000000c0| 67 2b 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 6e |g+ retur|ns the n|
|000000d0| 61 74 75 72 61 6c 20 6c | 6f 67 61 72 69 74 68 6d |atural l|ogarithm|
|000000e0| 20 6f 66 20 69 74 73 20 | 61 72 67 75 6d 65 6e 74 | of its |argument|
|000000f0| 2e 20 49 66 20 74 68 65 | 0d 61 72 67 75 6d 65 6e |. If the|.argumen|
|00000100| 74 20 69 73 20 61 20 6d | 61 74 72 69 78 20 61 6e |t is a m|atrix an|
|00000110| 20 65 6c 65 6d 65 6e 74 | 2d 62 79 2d 65 6c 65 6d | element|-by-elem|
|00000120| 65 6e 74 20 6f 70 65 72 | 61 74 69 6f 6e 20 69 73 |ent oper|ation is|
|00000130| 20 70 65 72 66 6f 72 6d | 65 64 2e 0d 49 66 20 74 | perform|ed..If t|
|00000140| 68 65 20 61 72 67 75 6d | 65 6e 74 20 69 73 20 63 |he argum|ent is c|
|00000150| 6f 6d 70 6c 65 78 2c 20 | 74 68 65 6e 20 74 68 65 |omplex, |then the|
|00000160| 20 6f 70 65 72 61 74 69 | 6f 6e 20 72 65 74 75 72 | operati|on retur|
|00000170| 6e 73 20 61 20 63 6f 6d | 70 6c 65 78 0d 76 61 6c |ns a com|plex.val|
|00000180| 75 65 20 77 69 74 68 20 | 74 68 65 20 72 65 61 6c |ue with |the real|
|00000190| 20 70 61 72 74 20 73 65 | 74 20 74 6f 20 74 68 65 | part se|t to the|
|000001a0| 20 6c 6f 67 61 72 69 74 | 68 6d 20 6f 66 20 74 68 | logarit|hm of th|
|000001b0| 65 20 61 72 67 75 6d 65 | 6e 74 73 0d 6d 61 67 6e |e argume|nts.magn|
|000001c0| 69 74 75 64 65 2c 20 61 | 6e 64 20 74 68 65 20 69 |itude, a|nd the i|
|000001d0| 6d 61 67 69 6e 61 72 79 | 20 70 61 72 74 20 73 65 |maginary| part se|
|000001e0| 74 20 74 6f 20 74 68 65 | 20 70 68 61 73 65 20 6f |t to the| phase o|
|000001f0| 66 20 74 68 65 20 61 72 | 67 75 6d 65 6e 74 2e 0d |f the ar|gument..|
|00000200| 0d 5c 70 61 72 61 67 72 | 61 70 68 7b 45 78 61 6d |.\paragr|aph{Exam|
|00000210| 70 6c 65 7d 0d 5c 69 6e | 64 65 78 7b 65 78 61 6d |ple}.\in|dex{exam|
|00000220| 70 6c 65 20 6f 66 20 6c | 6f 67 28 29 7d 0d 5c 69 |ple of l|og()}.\i|
|00000230| 6e 64 65 78 7b 6c 6f 67 | 28 29 21 65 78 61 6d 70 |ndex{log|()!examp|
|00000240| 6c 65 7d 0d 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |le}.\beg|in{verba|
|00000250| 74 69 6d 7d 0d 3e 20 6c | 6f 67 28 31 29 0d 20 20 |tim}.> l|og(1). |
|00000260| 20 20 20 20 20 20 30 0d | 3e 20 62 20 3d 20 65 78 | 0.|> b = ex|
|00000270| 70 28 31 29 0d 20 62 20 | 3d 0d 20 20 20 20 20 32 |p(1). b |=. 2|
|00000280| 2e 37 32 0d 3e 20 6c 6f | 67 28 62 29 0d 20 20 20 |.72.> lo|g(b). |
|00000290| 20 20 20 20 20 31 0d 3e | 20 62 5e 70 69 0d 20 20 | 1.>| b^pi. |
|000002a0| 20 20 20 32 33 2e 31 0d | 3e 20 6c 6f 67 28 62 5e | 23.1.|> log(b^|
|000002b0| 70 69 29 0d 20 20 20 20 | 20 33 2e 31 34 0d 3e 20 |pi). | 3.14.> |
|000002c0| 61 20 3d 20 72 61 6e 64 | 28 32 2c 34 29 2a 32 30 |a = rand|(2,4)*20|
|000002d0| 0d 20 61 20 3d 0d 20 20 | 20 20 20 20 20 31 39 20 |. a =. | 19 |
|000002e0| 20 20 20 20 20 20 20 20 | 31 38 20 20 20 20 20 20 | |18 |
|000002f0| 20 31 38 2e 33 20 20 20 | 20 20 20 20 31 2e 34 37 | 18.3 | 1.47|
|00000300| 20 20 0d 20 20 20 20 20 | 31 2e 38 34 20 20 20 20 | . |1.84 |
|00000310| 20 20 20 31 39 2e 32 20 | 20 20 20 20 20 20 38 2e | 19.2 | 8.|
|00000320| 38 32 20 20 20 20 20 20 | 20 31 38 2e 35 20 20 0d |82 | 18.5 .|
|00000330| 3e 20 6c 6f 67 28 61 29 | 0d 20 20 20 20 20 32 2e |> log(a)|. 2.|
|00000340| 39 34 20 20 20 20 20 20 | 20 32 2e 38 39 20 20 20 |94 | 2.89 |
|00000350| 20 20 20 20 32 2e 39 31 | 20 20 20 20 20 20 30 2e | 2.91| 0.|
|00000360| 33 38 36 20 20 0d 20 20 | 20 20 30 2e 36 30 38 20 |386 . | 0.608 |
|00000370| 20 20 20 20 20 20 32 2e | 39 35 20 20 20 20 20 20 | 2.|95 |
|00000380| 20 32 2e 31 38 20 20 20 | 20 20 20 20 32 2e 39 32 | 2.18 | 2.92|
|00000390| 20 20 0d 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d | .\end{|verbatim|
|000003a0| 7d 0d 0d 53 65 65 20 61 | 6c 73 6f 3a 20 50 61 67 |}..See a|lso: Pag|
|000003b0| 65 7e 5c 70 61 67 65 72 | 65 66 7b 66 6e 3a 6c 6f |e~\pager|ef{fn:lo|
|000003c0| 67 31 30 7d 20 5c 76 65 | 72 62 2b 6c 6f 67 31 30 |g10} \ve|rb+log10|
|000003d0| 28 29 2b 2e 0d 0d 5c 6e | 65 77 70 61 67 65 0d 0d |()+...\n|ewpage..|
|000003e0| 0d 0d 0d 0d | |.... | |
+--------+-------------------------+-------------------------+--------+--------+