home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Bus / N-Q / One Shot™ Demo.cpt / One Shot™ Help < prev    next >
MacBinary  |  1991-06-19  |  22.8 KB  |  [TEXT/1SHT]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: One Shot™ Help

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Jun 19 14:13:43 1991, modified Wed Jun 19 14:13:43 1991, creator '1SHT', type ASCII, 22510 bytes "One Shot� Help" , at 0x586e 636 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
50% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[1SHT]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 4f 6e 65 20 53 68 | 6f 74 aa 20 48 65 6c 70 |..One Sh|ot. Help|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 31 53 48 | 54 00 00 00 00 00 00 00 |.TEXT1SH|T.......|
|00000050| 00 00 00 00 00 57 ee 00 | 00 02 7c a4 85 4f 57 a4 |.....W..|..|..OW.|
|00000060| 85 4f 57 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.OW.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 1b d1 00 00 |........|........|
|00000080| 46 75 6e 63 74 69 6f 6e | 20 41 72 67 75 6d 65 6e |Function| Argumen|
|00000090| 74 73 09 44 65 73 63 72 | 69 70 74 69 6f 6e 09 53 |ts.Descr|iption.S|
|000000a0| 61 6d 70 6c 65 09 4e 6f | 74 65 0d 41 42 53 28 78 |ample.No|te.ABS(x|
|000000b0| 29 09 52 65 74 75 72 6e | 73 20 74 68 65 20 61 62 |).Return|s the ab|
|000000c0| 73 6f 6c 75 74 65 20 76 | 61 6c 75 65 20 6f 66 20 |solute v|alue of |
|000000d0| 74 68 65 20 67 69 76 65 | 6e 20 6e 75 6d 62 65 72 |the give|n number|
|000000e0| 2e 09 41 42 53 28 2d 37 | 29 20 3d 20 37 20 52 65 |..ABS(-7|) = 7 Re|
|000000f0| 74 75 72 6e 73 20 74 68 | 65 20 61 62 73 6f 6c 75 |turns th|e absolu|
|00000100| 74 65 20 76 61 6c 75 65 | 20 6f 66 20 2d 37 2e 09 |te value| of -7..|
|00000110| 0d 41 43 43 55 52 28 74 | 70 2c 66 70 2c 74 6e 2c |.ACCUR(t|p,fp,tn,|
|00000120| 66 6e 29 09 49 6e 20 74 | 68 69 73 20 64 65 6d 6f |fn).In t|his demo|
|00000130| 6e 73 74 72 61 74 69 6f | 6e 20 76 65 72 73 69 6f |nstratio|n versio|
|00000140| 6e 20 6f 66 20 4f 6e 65 | 20 53 68 6f 74 2c 20 74 |n of One| Shot, t|
|00000150| 68 65 20 68 65 6c 70 20 | 66 6f 72 20 74 68 69 73 |he help |for this|
|00000160| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 64 69 73 | functio|n is dis|
|00000170| 61 62 6c 65 64 2e 09 54 | 72 79 20 61 6e 6f 74 68 |abled..T|ry anoth|
|00000180| 65 72 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 41 43 4f |er funct|ion..ACO|
|00000190| 53 28 78 29 09 52 65 74 | 75 72 6e 73 20 74 68 65 |S(x).Ret|urns the|
|000001a0| 20 72 61 64 69 61 6e 20 | 61 6e 67 6c 65 20 77 68 | radian |angle wh|
|000001b0| 6f 73 65 20 63 6f 73 69 | 6e 65 20 69 73 20 74 68 |ose cosi|ne is th|
|000001c0| 65 20 67 69 76 65 6e 20 | 76 61 6c 75 65 2e 09 41 |e given |value..A|
|000001d0| 43 4f 53 28 30 2e 35 29 | 20 3d 20 31 2e 30 34 37 |COS(0.5)| = 1.047|
|000001e0| 32 20 20 52 65 74 75 72 | 6e 73 20 74 68 65 20 72 |2 Retur|ns the r|
|000001f0| 61 64 69 61 6e 20 61 6e | 67 6c 65 20 77 68 6f 73 |adian an|gle whos|
|00000200| 65 20 63 6f 73 69 6e 65 | 20 69 73 20 30 2e 35 2e |e cosine| is 0.5.|
|00000210| 09 4e 6f 74 65 3a 20 20 | 44 45 47 28 41 43 4f 53 |.Note: |DEG(ACOS|
|00000220| 28 78 29 29 20 52 65 74 | 75 72 6e 73 20 74 68 65 |(x)) Ret|urns the|
|00000230| 20 64 65 67 72 65 65 20 | 76 61 6c 75 65 20 6f 66 | degree |value of|
|00000240| 20 74 68 65 20 72 61 64 | 69 61 6e 20 61 6e 67 6c | the rad|ian angl|
|00000250| 65 20 77 69 74 68 20 63 | 6f 73 69 6e 65 20 78 0d |e with c|osine x.|
|00000260| 41 43 4f 53 48 28 78 29 | 09 49 6e 20 74 68 69 73 |ACOSH(x)|.In this|
|00000270| 20 64 65 6d 6f 6e 73 74 | 72 61 74 69 6f 6e 20 76 | demonst|ration v|
|00000280| 65 72 73 69 6f 6e 20 6f | 66 20 4f 6e 65 20 53 68 |ersion o|f One Sh|
|00000290| 6f 74 2c 20 74 68 65 20 | 68 65 6c 70 20 66 6f 72 |ot, the |help for|
|000002a0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 | this fu|nction i|
|000002b0| 73 20 64 69 73 61 62 6c | 65 64 2e 09 54 72 79 20 |s disabl|ed..Try |
|000002c0| 61 6e 6f 74 68 65 72 20 | 66 75 6e 63 74 69 6f 6e |another |function|
|000002d0| 2e 0d 41 43 4f 54 28 78 | 29 09 52 65 74 75 72 6e |..ACOT(x|).Return|
|000002e0| 73 20 74 68 65 20 72 61 | 64 69 61 6e 20 61 6e 67 |s the ra|dian ang|
|000002f0| 6c 65 20 77 68 6f 73 65 | 20 63 6f 74 61 6e 67 65 |le whose| cotange|
|00000300| 6e 74 20 69 73 20 74 68 | 65 20 67 69 76 65 6e 20 |nt is th|e given |
|00000310| 76 61 6c 75 65 2e 09 41 | 43 4f 54 28 31 2e 30 29 |value..A|COT(1.0)|
|00000320| 20 3d 20 30 2e 37 38 35 | 34 20 20 52 65 74 75 72 | = 0.785|4 Retur|
|00000330| 6e 73 20 74 68 65 20 72 | 61 64 69 61 6e 20 61 6e |ns the r|adian an|
|00000340| 67 6c 65 20 77 68 6f 73 | 65 20 63 6f 74 61 6e 67 |gle whos|e cotang|
|00000350| 65 6e 74 20 69 73 20 31 | 2e 30 09 4e 6f 74 65 3a |ent is 1|.0.Note:|
|00000360| 20 20 44 45 47 28 41 43 | 4f 54 28 78 29 29 20 52 | DEG(AC|OT(x)) R|
|00000370| 65 74 75 72 6e 73 20 74 | 68 65 20 64 65 67 72 65 |eturns t|he degre|
|00000380| 65 20 76 61 6c 75 65 20 | 6f 66 20 74 68 65 20 72 |e value |of the r|
|00000390| 61 64 69 61 6e 20 61 6e | 67 6c 65 20 77 69 74 68 |adian an|gle with|
|000003a0| 20 63 6f 74 61 6e 67 65 | 6e 74 20 78 0d 41 43 4f | cotange|nt x.ACO|
|000003b0| 54 48 28 78 29 09 49 6e | 20 74 68 69 73 20 64 65 |TH(x).In| this de|
|000003c0| 6d 6f 6e 73 74 72 61 74 | 69 6f 6e 20 76 65 72 73 |monstrat|ion vers|
|000003d0| 69 6f 6e 20 6f 66 20 4f | 6e 65 20 53 68 6f 74 2c |ion of O|ne Shot,|
|000003e0| 20 74 68 65 20 68 65 6c | 70 20 66 6f 72 20 74 68 | the hel|p for th|
|000003f0| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 64 |is funct|ion is d|
|00000400| 69 73 61 62 6c 65 64 2e | 09 54 72 79 20 61 6e 6f |isabled.|.Try ano|
|00000410| 74 68 65 72 20 66 75 6e | 63 74 69 6f 6e 2e 0d 41 |ther fun|ction..A|
|00000420| 43 53 43 28 78 29 09 52 | 65 74 75 72 6e 73 20 74 |CSC(x).R|eturns t|
|00000430| 68 65 20 72 61 64 69 61 | 6e 20 61 6e 67 6c 65 20 |he radia|n angle |
|00000440| 77 68 6f 73 65 20 63 6f | 73 65 63 61 6e 74 20 69 |whose co|secant i|
|00000450| 73 20 74 68 65 20 67 69 | 76 65 6e 20 76 61 6c 75 |s the gi|ven valu|
|00000460| 65 2e 09 41 43 53 43 28 | 31 2e 30 29 20 3d 20 31 |e..ACSC(|1.0) = 1|
|00000470| 2e 35 37 30 38 20 20 52 | 65 74 75 72 6e 73 20 74 |.5708 R|eturns t|
|00000480| 68 65 20 72 61 64 69 61 | 6e 20 61 6e 67 6c 65 20 |he radia|n angle |
|00000490| 77 68 6f 73 65 20 63 6f | 73 65 63 61 6e 74 20 69 |whose co|secant i|
|000004a0| 73 20 31 2e 30 09 4e 6f | 74 65 3a 20 20 44 45 47 |s 1.0.No|te: DEG|
|000004b0| 28 41 43 53 43 28 78 29 | 29 20 52 65 74 75 72 6e |(ACSC(x)|) Return|
|000004c0| 73 20 74 68 65 20 64 65 | 67 72 65 65 20 76 61 6c |s the de|gree val|
|000004d0| 75 65 20 6f 66 20 74 68 | 65 20 72 61 64 69 61 6e |ue of th|e radian|
|000004e0| 20 61 6e 67 6c 65 20 77 | 69 74 68 20 63 6f 73 65 | angle w|ith cose|
|000004f0| 63 61 6e 74 20 78 0d 41 | 43 53 43 48 28 78 29 09 |cant x.A|CSCH(x).|
|00000500| 49 6e 20 74 68 69 73 20 | 64 65 6d 6f 6e 73 74 72 |In this |demonstr|
|00000510| 61 74 69 6f 6e 20 76 65 | 72 73 69 6f 6e 20 6f 66 |ation ve|rsion of|
|00000520| 20 4f 6e 65 20 53 68 6f | 74 2c 20 74 68 65 20 68 | One Sho|t, the h|
|00000530| 65 6c 70 20 66 6f 72 20 | 74 68 69 73 20 66 75 6e |elp for |this fun|
|00000540| 63 74 69 6f 6e 20 69 73 | 20 64 69 73 61 62 6c 65 |ction is| disable|
|00000550| 64 2e 09 54 72 79 20 61 | 6e 6f 74 68 65 72 20 66 |d..Try a|nother f|
|00000560| 75 6e 63 74 69 6f 6e 2e | 0d 41 44 41 54 45 28 64 |unction.|.ADATE(d|
|00000570| 61 74 65 5f 6e 75 6d 2c | 66 6d 74 5f 74 79 70 65 |ate_num,|fmt_type|
|00000580| 29 09 52 65 74 75 72 6e | 73 20 74 68 65 20 64 61 |).Return|s the da|
|00000590| 74 65 20 66 72 6f 6d 20 | 64 61 74 65 5f 6e 75 6d |te from |date_num|
|000005a0| 20 61 73 20 74 65 78 74 | 20 66 6f 72 6d 61 74 74 | as text| formatt|
|000005b0| 65 64 20 69 6e 20 6c 6f | 6e 67 20 3d 31 2c 20 6d |ed in lo|ng =1, m|
|000005c0| 65 64 69 75 6d 20 3d 20 | 32 2c 20 6f 72 20 73 68 |edium = |2, or sh|
|000005d0| 6f 72 74 20 3d 30 20 64 | 61 74 65 20 66 6f 72 6d |ort =0 d|ate form|
|000005e0| 61 74 73 2e 09 41 44 41 | 54 45 28 33 33 37 34 31 |ats..ADA|TE(33741|
|000005f0| 2c 31 29 20 3d 20 4d 61 | 79 20 31 38 2c 20 31 39 |,1) = Ma|y 18, 19|
|00000600| 39 36 09 0d 41 44 44 44 | 41 59 53 28 64 61 74 65 |96..ADDD|AYS(date|
|00000610| 5f 6e 75 6d 2c 64 61 79 | 73 29 09 49 6e 20 74 68 |_num,day|s).In th|
|00000620| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00000630| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|00000640| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|00000650| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|00000660| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|00000670| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|00000680| 6f 6e 2e 0d 41 44 44 4d | 4f 4e 54 48 53 28 64 61 |on..ADDM|ONTHS(da|
|00000690| 74 65 5f 6e 75 6d 2c 6d | 6f 6e 74 68 73 29 09 52 |te_num,m|onths).R|
|000006a0| 65 74 75 72 6e 73 20 61 | 20 64 61 74 65 20 6e 75 |eturns a| date nu|
|000006b0| 6d 62 65 72 20 28 64 61 | 74 65 5f 6e 75 6d 29 20 |mber (da|te_num) |
|000006c0| 61 66 74 65 72 20 61 64 | 64 69 6e 67 20 74 68 65 |after ad|ding the|
|000006d0| 20 67 69 76 65 6e 20 6e | 75 6d 62 65 72 20 6f 66 | given n|umber of|
|000006e0| 20 6d 6f 6e 74 68 73 20 | 74 6f 20 74 68 65 20 64 | months |to the d|
|000006f0| 61 74 65 20 6e 75 6d 62 | 65 72 2e 09 41 44 44 4d |ate numb|er..ADDM|
|00000700| 4f 4e 54 48 53 28 33 31 | 34 34 33 2c 36 29 20 3d |ONTHS(31|443,6) =|
|00000710| 20 33 31 36 32 34 20 28 | 41 75 67 75 73 74 20 31 | 31624 (|August 1|
|00000720| 2c 20 31 39 39 30 29 20 | 52 65 74 75 72 6e 73 20 |, 1990) |Returns |
|00000730| 74 68 65 20 64 61 74 65 | 5f 6e 75 6d 20 73 69 78 |the date|_num six|
|00000740| 20 6d 6f 6e 74 68 73 20 | 66 72 6f 6d 20 46 65 62 | months |from Feb|
|00000750| 72 75 61 72 79 20 31 2c | 20 31 39 39 30 2e 09 0d |ruary 1,| 1990...|
|00000760| 41 44 44 59 45 41 52 53 | 28 64 61 74 65 5f 6e 75 |ADDYEARS|(date_nu|
|00000770| 6d 2c 79 65 61 72 73 29 | 09 49 6e 20 74 68 69 73 |m,years)|.In this|
|00000780| 20 64 65 6d 6f 6e 73 74 | 72 61 74 69 6f 6e 20 76 | demonst|ration v|
|00000790| 65 72 73 69 6f 6e 20 6f | 66 20 4f 6e 65 20 53 68 |ersion o|f One Sh|
|000007a0| 6f 74 2c 20 74 68 65 20 | 68 65 6c 70 20 66 6f 72 |ot, the |help for|
|000007b0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 | this fu|nction i|
|000007c0| 73 20 64 69 73 61 62 6c | 65 64 2e 09 54 72 79 20 |s disabl|ed..Try |
|000007d0| 61 6e 6f 74 68 65 72 20 | 66 75 6e 63 74 69 6f 6e |another |function|
|000007e0| 2e 0d 41 4c 4f 47 28 78 | 2c 62 61 73 65 5f 6e 29 |..ALOG(x|,base_n)|
|000007f0| 09 52 65 74 75 72 6e 73 | 20 74 68 65 20 61 6e 74 |.Returns| the ant|
|00000800| 69 6c 6f 67 20 6f 66 20 | 74 68 65 20 67 69 76 65 |ilog of |the give|
|00000810| 6e 20 76 61 6c 75 65 20 | 69 6e 20 61 20 73 70 65 |n value |in a spe|
|00000820| 63 69 66 69 65 64 20 62 | 61 73 65 2e 09 41 4c 4f |cified b|ase..ALO|
|00000830| 47 28 32 2c 35 29 20 3d | 20 32 35 20 52 65 74 75 |G(2,5) =| 25 Retu|
|00000840| 72 6e 73 20 74 68 65 20 | 61 6e 74 69 6c 6f 67 20 |rns the |antilog |
|00000850| 6f 66 20 32 2c 20 62 61 | 73 65 20 35 2e 09 0d 41 |of 2, ba|se 5...A|
|00000860| 4c 4f 47 31 30 28 78 29 | 09 49 6e 20 74 68 69 73 |LOG10(x)|.In this|
|00000870| 20 64 65 6d 6f 6e 73 74 | 72 61 74 69 6f 6e 20 76 | demonst|ration v|
|00000880| 65 72 73 69 6f 6e 20 6f | 66 20 4f 6e 65 20 53 68 |ersion o|f One Sh|
|00000890| 6f 74 2c 20 74 68 65 20 | 68 65 6c 70 20 66 6f 72 |ot, the |help for|
|000008a0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 | this fu|nction i|
|000008b0| 73 20 64 69 73 61 62 6c | 65 64 2e 09 54 72 79 20 |s disabl|ed..Try |
|000008c0| 61 6e 6f 74 68 65 72 20 | 66 75 6e 63 74 69 6f 6e |another |function|
|000008d0| 2e 0d 41 4e 44 09 4c 6f | 67 69 63 61 6c 20 6f 70 |..AND.Lo|gical op|
|000008e0| 65 72 61 74 6f 72 20 77 | 68 69 63 68 20 72 65 74 |erator w|hich ret|
|000008f0| 75 72 6e 73 20 74 72 75 | 65 20 6f 72 20 31 20 6f |urns tru|e or 1 o|
|00000900| 6e 6c 79 20 69 66 20 62 | 6f 74 68 20 63 6f 6e 64 |nly if b|oth cond|
|00000910| 69 74 69 6f 6e 73 20 61 | 72 65 20 74 72 75 65 2e |itions a|re true.|
|00000920| 09 28 35 20 3d 20 35 29 | 20 41 4e 44 20 28 37 20 |.(5 = 5)| AND (7 |
|00000930| 3e 20 36 29 20 3d 20 31 | 20 52 65 74 75 72 6e 73 |> 6) = 1| Returns|
|00000940| 20 61 20 6c 6f 67 69 63 | 61 6c 20 74 72 75 65 20 | a logic|al true |
|00000950| 6f 72 20 31 2c 20 62 65 | 63 61 75 73 65 20 62 6f |or 1, be|cause bo|
|00000960| 74 68 20 63 6f 6e 64 69 | 74 69 6f 6e 73 20 61 72 |th condi|tions ar|
|00000970| 65 20 74 72 75 65 2e 09 | 0d 41 4e 47 4c 45 28 78 |e true..|.ANGLE(x|
|00000980| 2c 79 29 09 49 6e 20 74 | 68 69 73 20 64 65 6d 6f |,y).In t|his demo|
|00000990| 6e 73 74 72 61 74 69 6f | 6e 20 76 65 72 73 69 6f |nstratio|n versio|
|000009a0| 6e 20 6f 66 20 4f 6e 65 | 20 53 68 6f 74 2c 20 74 |n of One| Shot, t|
|000009b0| 68 65 20 68 65 6c 70 20 | 66 6f 72 20 74 68 69 73 |he help |for this|
|000009c0| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 64 69 73 | functio|n is dis|
|000009d0| 61 62 6c 65 64 2e 09 54 | 72 79 20 61 6e 6f 74 68 |abled..T|ry anoth|
|000009e0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 41 53 45 |er funct|ion..ASE|
|000009f0| 43 28 78 29 09 52 65 74 | 75 72 6e 73 20 74 68 65 |C(x).Ret|urns the|
|00000a00| 20 72 61 64 69 61 6e 20 | 61 6e 67 6c 65 20 77 68 | radian |angle wh|
|00000a10| 6f 73 65 20 73 65 63 61 | 6e 74 20 69 73 20 74 68 |ose seca|nt is th|
|00000a20| 65 20 67 69 76 65 6e 20 | 76 61 6c 75 65 2e 09 41 |e given |value..A|
|00000a30| 53 45 43 28 31 2e 36 29 | 20 3d 20 30 2e 38 39 35 |SEC(1.6)| = 0.895|
|00000a40| 36 20 20 52 65 74 75 72 | 6e 73 20 74 68 65 20 72 |6 Retur|ns the r|
|00000a50| 61 64 69 61 6e 20 61 6e | 67 6c 65 20 77 68 6f 73 |adian an|gle whos|
|00000a60| 65 20 73 65 63 61 6e 74 | 20 69 73 20 31 2e 36 09 |e secant| is 1.6.|
|00000a70| 4e 6f 74 65 3a 20 20 44 | 45 47 28 41 53 45 43 28 |Note: D|EG(ASEC(|
|00000a80| 78 29 29 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |x)) Retu|rns the |
|00000a90| 64 65 67 72 65 65 20 76 | 61 6c 75 65 20 6f 66 20 |degree v|alue of |
|00000aa0| 74 68 65 20 72 61 64 69 | 61 6e 20 61 6e 67 6c 65 |the radi|an angle|
|00000ab0| 20 77 69 74 68 20 73 65 | 63 61 6e 74 20 78 0d 41 | with se|cant x.A|
|00000ac0| 53 45 43 48 28 78 29 09 | 49 6e 20 74 68 69 73 20 |SECH(x).|In this |
|00000ad0| 64 65 6d 6f 6e 73 74 72 | 61 74 69 6f 6e 20 76 65 |demonstr|ation ve|
|00000ae0| 72 73 69 6f 6e 20 6f 66 | 20 4f 6e 65 20 53 68 6f |rsion of| One Sho|
|00000af0| 74 2c 20 74 68 65 20 68 | 65 6c 70 20 66 6f 72 20 |t, the h|elp for |
|00000b00| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |this fun|ction is|
|00000b10| 20 64 69 73 61 62 6c 65 | 64 2e 09 54 72 79 20 61 | disable|d..Try a|
|00000b20| 6e 6f 74 68 65 72 20 66 | 75 6e 63 74 69 6f 6e 2e |nother f|unction.|
|00000b30| 0d 41 53 49 4e 28 78 29 | 09 52 65 74 75 72 6e 73 |.ASIN(x)|.Returns|
|00000b40| 20 74 68 65 20 72 61 64 | 69 61 6e 20 61 6e 67 6c | the rad|ian angl|
|00000b50| 65 20 77 68 6f 73 65 20 | 73 69 6e 65 20 69 73 20 |e whose |sine is |
|00000b60| 74 68 65 20 67 69 76 65 | 6e 20 76 61 6c 75 65 2e |the give|n value.|
|00000b70| 09 41 53 49 4e 28 30 2e | 35 29 20 3d 20 30 2e 35 |.ASIN(0.|5) = 0.5|
|00000b80| 32 33 36 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |236 Retu|rns the |
|00000b90| 72 61 64 69 61 6e 20 61 | 6e 67 6c 65 20 77 68 6f |radian a|ngle who|
|00000ba0| 73 65 20 73 69 6e 65 20 | 69 73 20 30 2e 35 2e 09 |se sine |is 0.5..|
|00000bb0| 4e 6f 74 65 3a 20 20 44 | 45 47 28 41 53 49 4e 28 |Note: D|EG(ASIN(|
|00000bc0| 78 29 29 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |x)) Retu|rns the |
|00000bd0| 64 65 67 72 65 65 20 76 | 61 6c 75 65 20 6f 66 20 |degree v|alue of |
|00000be0| 74 68 65 20 72 61 64 69 | 61 6e 20 61 6e 67 6c 65 |the radi|an angle|
|00000bf0| 20 77 69 74 68 20 73 69 | 6e 65 20 78 0d 41 53 49 | with si|ne x.ASI|
|00000c00| 4e 48 28 78 29 09 49 6e | 20 74 68 69 73 20 64 65 |NH(x).In| this de|
|00000c10| 6d 6f 6e 73 74 72 61 74 | 69 6f 6e 20 76 65 72 73 |monstrat|ion vers|
|00000c20| 69 6f 6e 20 6f 66 20 4f | 6e 65 20 53 68 6f 74 2c |ion of O|ne Shot,|
|00000c30| 20 74 68 65 20 68 65 6c | 70 20 66 6f 72 20 74 68 | the hel|p for th|
|00000c40| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 69 73 20 64 |is funct|ion is d|
|00000c50| 69 73 61 62 6c 65 64 2e | 09 54 72 79 20 61 6e 6f |isabled.|.Try ano|
|00000c60| 74 68 65 72 20 66 75 6e | 63 74 69 6f 6e 2e 0d 41 |ther fun|ction..A|
|00000c70| 54 41 4e 28 78 29 09 52 | 65 74 75 72 6e 73 20 74 |TAN(x).R|eturns t|
|00000c80| 68 65 20 72 61 64 69 61 | 6e 20 61 6e 67 6c 65 20 |he radia|n angle |
|00000c90| 77 68 6f 73 65 20 74 61 | 6e 67 65 6e 74 20 69 73 |whose ta|ngent is|
|00000ca0| 20 74 68 65 20 67 69 76 | 65 6e 20 76 61 6c 75 65 | the giv|en value|
|00000cb0| 2e 09 41 54 41 4e 28 30 | 2e 35 29 20 3d 20 30 2e |..ATAN(0|.5) = 0.|
|00000cc0| 34 36 33 36 20 52 65 74 | 75 72 6e 73 20 74 68 65 |4636 Ret|urns the|
|00000cd0| 20 72 61 64 69 61 6e 20 | 61 6e 67 6c 65 20 77 68 | radian |angle wh|
|00000ce0| 6f 73 65 20 74 61 6e 67 | 65 6e 74 20 69 73 20 30 |ose tang|ent is 0|
|00000cf0| 2e 35 09 4e 6f 74 65 3a | 20 20 44 45 47 28 41 54 |.5.Note:| DEG(AT|
|00000d00| 41 4e 28 78 29 29 20 52 | 65 74 75 72 6e 73 20 74 |AN(x)) R|eturns t|
|00000d10| 68 65 20 64 65 67 72 65 | 65 20 76 61 6c 75 65 20 |he degre|e value |
|00000d20| 6f 66 20 74 68 65 20 72 | 61 64 69 61 6e 20 61 6e |of the r|adian an|
|00000d30| 67 6c 65 20 77 69 74 68 | 20 74 61 6e 67 65 6e 74 |gle with| tangent|
|00000d40| 20 78 0d 41 54 41 4e 48 | 28 78 29 09 49 6e 20 74 | x.ATANH|(x).In t|
|00000d50| 68 69 73 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |his demo|nstratio|
|00000d60| 6e 20 76 65 72 73 69 6f | 6e 20 6f 66 20 4f 6e 65 |n versio|n of One|
|00000d70| 20 53 68 6f 74 2c 20 74 | 68 65 20 68 65 6c 70 20 | Shot, t|he help |
|00000d80| 66 6f 72 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |for this| functio|
|00000d90| 6e 20 69 73 20 64 69 73 | 61 62 6c 65 64 2e 09 54 |n is dis|abled..T|
|00000da0| 72 79 20 61 6e 6f 74 68 | 65 72 20 66 75 6e 63 74 |ry anoth|er funct|
|00000db0| 69 6f 6e 2e 0d 41 56 47 | 28 52 61 6e 67 65 29 09 |ion..AVG|(Range).|
|00000dc0| 52 65 74 75 72 6e 73 20 | 74 68 65 20 61 76 65 72 |Returns |the aver|
|00000dd0| 61 67 65 20 76 61 6c 75 | 65 20 6f 66 20 74 68 65 |age valu|e of the|
|00000de0| 20 72 61 6e 67 65 20 6c | 69 73 74 2e 20 4f 6e 6c | range l|ist. Onl|
|00000df0| 79 20 63 65 6c 6c 73 20 | 74 68 61 74 20 68 61 76 |y cells |that hav|
|00000e00| 65 20 6e 75 6d 62 65 72 | 20 76 61 6c 75 65 73 20 |e number| values |
|00000e10| 61 72 65 20 61 64 64 65 | 64 20 61 6e 64 20 63 6f |are adde|d and co|
|00000e20| 75 6e 74 65 64 2e 09 41 | 56 47 28 52 61 6e 67 65 |unted..A|VG(Range|
|00000e30| 29 20 3d 20 34 2e 32 37 | 35 20 20 20 52 61 6e 67 |) = 4.27|5 Rang|
|00000e40| 65 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |e contai|ning the|
|00000e50| 20 76 61 6c 75 65 73 20 | 32 2e 38 2c 2d 35 2e 36 | values |2.8,-5.6|
|00000e60| 2c 31 34 2c 35 2e 39 09 | 0d 42 45 45 50 28 63 6f |,14,5.9.|.BEEP(co|
|00000e70| 6e 64 29 09 49 6e 20 74 | 68 69 73 20 64 65 6d 6f |nd).In t|his demo|
|00000e80| 6e 73 74 72 61 74 69 6f | 6e 20 76 65 72 73 69 6f |nstratio|n versio|
|00000e90| 6e 20 6f 66 20 4f 6e 65 | 20 53 68 6f 74 2c 20 74 |n of One| Shot, t|
|00000ea0| 68 65 20 68 65 6c 70 20 | 66 6f 72 20 74 68 69 73 |he help |for this|
|00000eb0| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 64 69 73 | functio|n is dis|
|00000ec0| 61 62 6c 65 64 2e 09 54 | 72 79 20 61 6e 6f 74 68 |abled..T|ry anoth|
|00000ed0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 43 48 41 |er funct|ion..CHA|
|00000ee0| 52 28 41 53 43 49 49 5f | 63 6f 64 65 29 09 52 65 |R(ASCII_|code).Re|
|00000ef0| 74 75 72 6e 73 20 74 68 | 65 20 63 68 61 72 61 63 |turns th|e charac|
|00000f00| 74 65 72 20 66 6f 72 20 | 74 68 65 20 67 69 76 65 |ter for |the give|
|00000f10| 6e 20 41 53 43 49 49 20 | 63 6f 64 65 20 6e 75 6d |n ASCII |code num|
|00000f20| 62 65 72 20 28 41 53 43 | 49 49 5f 63 6f 64 65 29 |ber (ASC|II_code)|
|00000f30| 2e 09 43 48 41 52 28 31 | 36 39 29 20 3d 20 22 a9 |..CHAR(1|69) = ".|
|00000f40| 22 20 52 65 74 75 72 6e | 73 20 74 68 65 20 41 53 |" Return|s the AS|
|00000f50| 43 49 49 20 63 68 61 72 | 61 63 74 65 72 20 31 36 |CII char|acter 16|
|00000f60| 39 2e 20 09 0d 43 48 4f | 4f 53 45 28 69 6e 64 65 |9. ..CHO|OSE(inde|
|00000f70| 78 2c 22 76 61 6c 5f 31 | 22 2c 22 76 61 6c 5f 32 |x,"val_1|","val_2|
|00000f80| 22 2c 2e 2e 2e 29 09 49 | 6e 20 74 68 69 73 20 64 |",...).I|n this d|
|00000f90| 65 6d 6f 6e 73 74 72 61 | 74 69 6f 6e 20 76 65 72 |emonstra|tion ver|
|00000fa0| 73 69 6f 6e 20 6f 66 20 | 4f 6e 65 20 53 68 6f 74 |sion of |One Shot|
|00000fb0| 2c 20 74 68 65 20 68 65 | 6c 70 20 66 6f 72 20 74 |, the he|lp for t|
|00000fc0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|00000fd0| 64 69 73 61 62 6c 65 64 | 2e 09 54 72 79 20 61 6e |disabled|..Try an|
|00000fe0| 6f 74 68 65 72 20 66 75 | 6e 63 74 69 6f 6e 2e 0d |other fu|nction..|
|00000ff0| 43 4d 50 44 28 70 72 69 | 6e 2c 69 6e 74 2c 74 65 |CMPD(pri|n,int,te|
|00001000| 72 6d 29 09 52 65 74 75 | 72 6e 73 20 74 68 65 20 |rm).Retu|rns the |
|00001010| 63 6f 6d 70 6f 75 6e 64 | 65 64 20 66 75 74 75 72 |compound|ed futur|
|00001020| 65 20 76 61 6c 75 65 20 | 6f 66 20 61 20 67 69 76 |e value |of a giv|
|00001030| 65 6e 20 70 72 69 6e 63 | 69 70 61 6c 2c 20 61 74 |en princ|ipal, at|
|00001040| 20 61 20 67 69 76 65 6e | 20 69 6e 74 65 72 65 73 | a given| interes|
|00001050| 74 20 72 61 74 65 20 70 | 65 72 20 70 65 72 69 6f |t rate p|er perio|
|00001060| 64 2c 20 6f 76 65 72 20 | 74 68 65 20 67 69 76 65 |d, over |the give|
|00001070| 6e 20 6e 75 6d 62 65 72 | 20 6f 66 20 70 65 72 69 |n number| of peri|
|00001080| 6f 64 73 2e 09 43 4d 50 | 44 28 31 30 30 30 2c 31 |ods..CMP|D(1000,1|
|00001090| 32 25 2f 31 32 2c 31 32 | 29 20 3d 20 24 31 2c 31 |2%/12,12|) = $1,1|
|000010a0| 32 36 2e 38 33 20 20 52 | 65 74 75 72 6e 73 20 74 |26.83 R|eturns t|
|000010b0| 68 65 20 63 6f 6d 70 6f | 75 6e 64 65 64 20 61 6d |he compo|unded am|
|000010c0| 6f 75 6e 74 20 6f 66 20 | 24 31 30 30 30 20 61 66 |ount of |$1000 af|
|000010d0| 74 65 72 20 63 6f 6d 70 | 6f 75 6e 64 69 6e 67 20 |ter comp|ounding |
|000010e0| 66 6f 72 20 74 77 65 6c | 76 65 20 70 65 72 69 6f |for twel|ve perio|
|000010f0| 64 73 20 61 74 20 61 6e | 20 69 6e 74 65 72 65 73 |ds at an| interes|
|00001100| 74 20 72 61 74 65 20 6f | 66 20 31 32 25 20 70 65 |t rate o|f 12% pe|
|00001110| 72 20 61 6e 6e 75 6d 2e | 09 0d 43 4d 50 44 43 4f |r annum.|..CMPDCO|
|00001120| 4e 54 28 70 76 2c 69 6e | 74 2c 74 65 72 6d 29 09 |NT(pv,in|t,term).|
|00001130| 49 6e 20 74 68 69 73 20 | 64 65 6d 6f 6e 73 74 72 |In this |demonstr|
|00001140| 61 74 69 6f 6e 20 76 65 | 72 73 69 6f 6e 20 6f 66 |ation ve|rsion of|
|00001150| 20 4f 6e 65 20 53 68 6f | 74 2c 20 74 68 65 20 68 | One Sho|t, the h|
|00001160| 65 6c 70 20 66 6f 72 20 | 74 68 69 73 20 66 75 6e |elp for |this fun|
|00001170| 63 74 69 6f 6e 20 69 73 | 20 64 69 73 61 62 6c 65 |ction is| disable|
|00001180| 64 2e 09 54 72 79 20 61 | 6e 6f 74 68 65 72 20 66 |d..Try a|nother f|
|00001190| 75 6e 63 74 69 6f 6e 2e | 0d 43 4f 44 45 28 74 78 |unction.|.CODE(tx|
|000011a0| 74 29 09 52 65 74 75 72 | 6e 73 20 74 68 65 20 41 |t).Retur|ns the A|
|000011b0| 53 43 49 49 20 63 6f 64 | 65 20 66 6f 72 20 74 68 |SCII cod|e for th|
|000011c0| 65 20 66 69 72 73 74 20 | 63 68 61 72 61 63 74 65 |e first |characte|
|000011d0| 72 20 6f 66 20 74 68 65 | 20 67 69 76 65 6e 20 74 |r of the| given t|
|000011e0| 65 78 74 2e 09 43 4f 44 | 45 28 22 53 6d 69 74 68 |ext..COD|E("Smith|
|000011f0| 22 29 20 3d 20 38 33 20 | 52 65 74 75 72 6e 73 20 |") = 83 |Returns |
|00001200| 74 68 65 20 41 53 43 49 | 49 20 63 6f 64 65 20 66 |the ASCI|I code f|
|00001210| 6f 72 20 22 53 22 2e 09 | 0d 43 4f 4c 55 4d 4e 28 |or "S"..|.COLUMN(|
|00001220| 63 6f 6c 5f 6e 75 6d 2c | 52 61 6e 67 65 29 09 49 |col_num,|Range).I|
|00001230| 6e 20 74 68 69 73 20 64 | 65 6d 6f 6e 73 74 72 61 |n this d|emonstra|
|00001240| 74 69 6f 6e 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |tion ver|sion of |
|00001250| 4f 6e 65 20 53 68 6f 74 | 2c 20 74 68 65 20 68 65 |One Shot|, the he|
|00001260| 6c 70 20 66 6f 72 20 74 | 68 69 73 20 66 75 6e 63 |lp for t|his func|
|00001270| 74 69 6f 6e 20 69 73 20 | 64 69 73 61 62 6c 65 64 |tion is |disabled|
|00001280| 2e 09 54 72 79 20 61 6e | 6f 74 68 65 72 20 66 75 |..Try an|other fu|
|00001290| 6e 63 74 69 6f 6e 2e 0d | 43 4f 4d 42 28 73 75 62 |nction..|COMB(sub|
|000012a0| 73 65 74 2c 74 6f 74 61 | 6c 29 09 52 65 74 75 72 |set,tota|l).Retur|
|000012b0| 6e 73 20 74 68 65 20 23 | 20 6f 66 20 63 6f 6d 62 |ns the #| of comb|
|000012c0| 69 6e 61 74 69 6f 6e 73 | 20 70 6f 73 73 69 62 6c |inations| possibl|
|000012d0| 65 20 66 72 6f 6d 20 74 | 68 65 20 67 69 76 65 6e |e from t|he given|
|000012e0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 6f 74 61 6c | number |of total|
|000012f0| 20 6f 62 6a 65 63 74 73 | 20 61 6e 64 20 73 65 6c | objects| and sel|
|00001300| 65 63 74 65 64 20 73 65 | 74 20 6f 66 20 64 69 73 |ected se|t of dis|
|00001310| 74 69 6e 63 74 20 6f 62 | 6a 65 63 74 73 20 28 77 |tinct ob|jects (w|
|00001320| 69 74 68 6f 75 74 20 72 | 65 67 61 72 64 20 74 6f |ithout r|egard to|
|00001330| 20 6f 72 64 65 72 29 2e | 09 43 4f 4d 42 28 36 2c | order).|.COMB(6,|
|00001340| 20 31 30 29 20 3d 20 32 | 31 30 09 41 20 6c 61 64 | 10) = 2|10.A lad|
|00001350| 79 20 67 69 76 65 73 20 | 61 20 70 61 72 74 79 20 |y gives |a party |
|00001360| 66 6f 72 20 73 69 78 20 | 67 75 65 73 74 73 2e 20 |for six |guests. |
|00001370| 20 49 6e 20 68 6f 77 20 | 6d 61 6e 79 20 77 61 79 | In how |many way|
|00001380| 73 20 63 61 6e 20 74 68 | 65 79 20 62 65 20 73 65 |s can th|ey be se|
|00001390| 6c 65 63 74 65 64 20 66 | 72 6f 6d 20 31 30 20 66 |lected f|rom 10 f|
|000013a0| 72 69 65 6e 64 73 3f 20 | 20 43 4f 4d 42 28 36 2c |riends? | COMB(6,|
|000013b0| 31 30 29 20 3d 20 32 31 | 30 20 77 61 79 73 2e 09 |10) = 21|0 ways..|
|000013c0| 0d 43 4f 53 28 78 29 09 | 49 6e 20 74 68 69 73 20 |.COS(x).|In this |
|000013d0| 64 65 6d 6f 6e 73 74 72 | 61 74 69 6f 6e 20 76 65 |demonstr|ation ve|
|000013e0| 72 73 69 6f 6e 20 6f 66 | 20 4f 6e 65 20 53 68 6f |rsion of| One Sho|
|000013f0| 74 2c 20 74 68 65 20 68 | 65 6c 70 20 66 6f 72 20 |t, the h|elp for |
|00001400| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |this fun|ction is|
|00001410| 20 64 69 73 61 62 6c 65 | 64 2e 09 54 72 79 20 61 | disable|d..Try a|
|00001420| 6e 6f 74 68 65 72 20 66 | 75 6e 63 74 69 6f 6e 2e |nother f|unction.|
|00001430| 0d 43 4f 53 48 28 78 29 | 09 52 65 74 75 72 6e 73 |.COSH(x)|.Returns|
|00001440| 20 74 68 65 20 68 79 70 | 65 72 62 6f 6c 69 63 20 | the hyp|erbolic |
|00001450| 63 6f 73 69 6e 65 20 6f | 66 20 61 20 67 69 76 65 |cosine o|f a give|
|00001460| 6e 20 72 61 64 69 61 6e | 20 61 6e 67 6c 65 2e 09 |n radian| angle..|
|00001470| 43 4f 53 48 28 31 2e 30 | 29 20 3d 20 31 2e 35 34 |COSH(1.0|) = 1.54|
|00001480| 33 31 20 52 65 74 75 72 | 6e 73 20 74 68 65 20 68 |31 Retur|ns the h|
|00001490| 79 70 65 72 62 6f 6c 69 | 63 20 63 6f 73 69 6e 65 |yperboli|c cosine|
|000014a0| 20 6f 66 20 61 20 31 2e | 30 20 72 61 64 69 61 6e | of a 1.|0 radian|
|000014b0| 20 61 6e 67 6c 65 2e 09 | 0d 43 4f 54 28 78 29 09 | angle..|.COT(x).|
|000014c0| 49 6e 20 74 68 69 73 20 | 64 65 6d 6f 6e 73 74 72 |In this |demonstr|
|000014d0| 61 74 69 6f 6e 20 76 65 | 72 73 69 6f 6e 20 6f 66 |ation ve|rsion of|
|000014e0| 20 4f 6e 65 20 53 68 6f | 74 2c 20 74 68 65 20 68 | One Sho|t, the h|
|000014f0| 65 6c 70 20 66 6f 72 20 | 74 68 69 73 20 66 75 6e |elp for |this fun|
|00001500| 63 74 69 6f 6e 20 69 73 | 20 64 69 73 61 62 6c 65 |ction is| disable|
|00001510| 64 2e 09 54 72 79 20 61 | 6e 6f 74 68 65 72 20 66 |d..Try a|nother f|
|00001520| 75 6e 63 74 69 6f 6e 2e | 0d 43 4f 54 48 28 78 29 |unction.|.COTH(x)|
|00001530| 09 52 65 74 75 72 6e 73 | 20 74 68 65 20 68 79 70 |.Returns| the hyp|
|00001540| 65 72 62 6f 6c 69 63 20 | 63 6f 74 61 6e 67 65 6e |erbolic |cotangen|
|00001550| 74 20 6f 66 20 61 20 67 | 69 76 65 6e 20 72 61 64 |t of a g|iven rad|
|00001560| 69 61 6e 20 61 6e 67 6c | 65 2e 09 43 4f 54 48 28 |ian angl|e..COTH(|
|00001570| 2d 32 2e 30 31 29 20 3d | 20 2d 31 2e 30 34 20 20 |-2.01) =| -1.04 |
|00001580| 52 65 74 75 72 6e 73 20 | 74 68 65 20 68 79 70 65 |Returns |the hype|
|00001590| 72 62 6f 6c 69 63 20 63 | 6f 74 61 6e 67 65 6e 74 |rbolic c|otangent|
|000015a0| 20 6f 66 20 61 20 2d 32 | 2e 30 31 20 72 61 64 69 | of a -2|.01 radi|
|000015b0| 61 6e 20 61 6e 67 6c 65 | 2e 09 4e 6f 74 65 3a 20 |an angle|..Note: |
|000015c0| 78 20 63 61 6e 6e 6f 74 | 20 3d 20 30 0d 43 4f 55 |x cannot| = 0.COU|
|000015d0| 4e 54 28 52 61 6e 67 65 | 29 09 49 6e 20 74 68 69 |NT(Range|).In thi|
|000015e0| 73 20 64 65 6d 6f 6e 73 | 74 72 61 74 69 6f 6e 20 |s demons|tration |
|000015f0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 4f 6e 65 20 53 |version |of One S|
|00001600| 68 6f 74 2c 20 74 68 65 | 20 68 65 6c 70 20 66 6f |hot, the| help fo|
|00001610| 72 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |r this f|unction |
|00001620| 69 73 20 64 69 73 61 62 | 6c 65 64 2e 09 54 72 79 |is disab|led..Try|
|00001630| 20 61 6e 6f 74 68 65 72 | 20 66 75 6e 63 74 69 6f | another| functio|
|00001640| 6e 2e 0d 43 50 59 53 47 | 4e 28 66 72 6f 6d 5f 78 |n..CPYSG|N(from_x|
|00001650| 2c 74 6f 5f 79 29 09 52 | 65 74 75 72 6e 73 20 74 |,to_y).R|eturns t|
|00001660| 68 65 20 73 65 63 6f 6e | 64 20 76 61 6c 75 65 20 |he secon|d value |
|00001670| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 20 73 69 |with the| same si|
|00001680| 67 6e 20 61 73 20 74 68 | 65 20 66 69 72 73 74 20 |gn as th|e first |
|00001690| 76 61 6c 75 65 2e 09 43 | 50 59 53 47 4e 28 2d 37 |value..C|PYSGN(-7|
|000016a0| 2c 31 33 29 20 3d 20 2d | 31 33 20 52 65 74 75 72 |,13) = -|13 Retur|
|000016b0| 6e 73 20 31 33 20 77 69 | 74 68 20 74 68 65 20 73 |ns 13 wi|th the s|
|000016c0| 61 6d 65 20 73 69 67 6e | 20 61 73 20 2d 37 2e 09 |ame sign| as -7..|
|000016d0| 0d 43 53 43 28 78 29 09 | 49 6e 20 74 68 69 73 20 |.CSC(x).|In this |
|000016e0| 64 65 6d 6f 6e 73 74 72 | 61 74 69 6f 6e 20 76 65 |demonstr|ation ve|
|000016f0| 72 73 69 6f 6e 20 6f 66 | 20 4f 6e 65 20 53 68 6f |rsion of| One Sho|
|00001700| 74 2c 20 74 68 65 20 68 | 65 6c 70 20 66 6f 72 20 |t, the h|elp for |
|00001710| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |this fun|ction is|
|00001720| 20 64 69 73 61 62 6c 65 | 64 2e 09 54 72 79 20 61 | disable|d..Try a|
|00001730| 6e 6f 74 68 65 72 20 66 | 75 6e 63 74 69 6f 6e 2e |nother f|unction.|
|00001740| 0d 43 53 43 48 28 78 29 | 09 52 65 74 75 72 6e 73 |.CSCH(x)|.Returns|
|00001750| 20 74 68 65 20 68 79 70 | 65 72 62 6f 6c 69 63 20 | the hyp|erbolic |
|00001760| 63 6f 73 65 63 61 6e 74 | 20 6f 66 20 61 20 67 69 |cosecant| of a gi|
|00001770| 76 65 6e 20 72 61 64 69 | 61 6e 20 61 6e 67 6c 65 |ven radi|an angle|
|00001780| 2e 09 43 53 43 48 28 34 | 2e 36 29 20 3d 20 30 2e |..CSCH(4|.6) = 0.|
|00001790| 30 32 20 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |02 Retu|rns the |
|000017a0| 68 79 70 65 72 62 6f 6c | 69 63 20 63 6f 73 65 63 |hyperbol|ic cosec|
|000017b0| 61 6e 74 20 6f 66 20 61 | 20 34 2e 36 20 72 61 64 |ant of a| 4.6 rad|
|000017c0| 69 61 6e 20 61 6e 67 6c | 65 2e 09 4e 6f 74 65 3a |ian angl|e..Note:|
|000017d0| 20 78 20 63 61 6e 6e 6f | 74 20 3d 20 30 0d 43 54 | x canno|t = 0.CT|
|000017e0| 45 52 4d 28 69 6e 74 2c | 66 75 74 5f 70 72 69 6e |ERM(int,|fut_prin|
|000017f0| 2c 70 72 65 73 5f 70 72 | 69 6e 29 09 49 6e 20 74 |,pres_pr|in).In t|
|00001800| 68 69 73 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |his demo|nstratio|
|00001810| 6e 20 76 65 72 73 69 6f | 6e 20 6f 66 20 4f 6e 65 |n versio|n of One|
|00001820| 20 53 68 6f 74 2c 20 74 | 68 65 20 68 65 6c 70 20 | Shot, t|he help |
|00001830| 66 6f 72 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |for this| functio|
|00001840| 6e 20 69 73 20 64 69 73 | 61 62 6c 65 64 2e 09 54 |n is dis|abled..T|
|00001850| 72 79 20 61 6e 6f 74 68 | 65 72 20 66 75 6e 63 74 |ry anoth|er funct|
|00001860| 69 6f 6e 2e 0d 44 41 54 | 45 28 79 65 61 72 2c 6d |ion..DAT|E(year,m|
|00001870| 6f 6e 74 68 2c 64 61 79 | 29 09 44 65 72 69 76 65 |onth,day|).Derive|
|00001880| 73 20 74 68 65 20 64 61 | 74 65 20 6e 75 6d 62 65 |s the da|te numbe|
|00001890| 72 20 66 6f 72 20 74 68 | 65 20 67 69 76 65 6e 20 |r for th|e given |
|000018a0| 6e 75 6d 65 72 69 63 20 | 79 65 61 72 2c 20 6d 6f |numeric |year, mo|
|000018b0| 6e 74 68 2c 20 61 6e 64 | 20 64 61 79 2e 20 20 53 |nth, and| day. S|
|000018c0| 74 61 72 74 69 6e 67 20 | 61 74 20 4a 61 6e 75 61 |tarting |at Janua|
|000018d0| 72 79 20 31 73 74 2c 20 | 31 39 30 34 2e 20 28 20 |ry 1st, |1904. ( |
|000018e0| 44 61 79 20 4e 75 6d 62 | 65 72 20 30 29 09 44 41 |Day Numb|er 0).DA|
|000018f0| 54 45 28 31 39 39 30 2c | 32 2c 31 29 20 3d 20 33 |TE(1990,|2,1) = 3|
|00001900| 31 34 34 33 20 52 65 74 | 75 72 6e 73 20 74 68 65 |1443 Ret|urns the|
|00001910| 20 64 61 74 65 20 6e 75 | 6d 62 65 72 20 66 6f 72 | date nu|mber for|
|00001920| 20 46 65 62 72 75 61 72 | 79 20 31 2c 20 31 39 39 | Februar|y 1, 199|
|00001930| 30 2e 09 0d 44 41 54 45 | 56 41 4c 55 45 28 64 61 |0...DATE|VALUE(da|
|00001940| 74 65 5f 74 78 74 29 09 | 49 6e 20 74 68 69 73 20 |te_txt).|In this |
|00001950| 64 65 6d 6f 6e 73 74 72 | 61 74 69 6f 6e 20 76 65 |demonstr|ation ve|
|00001960| 72 73 69 6f 6e 20 6f 66 | 20 4f 6e 65 20 53 68 6f |rsion of| One Sho|
|00001970| 74 2c 20 74 68 65 20 68 | 65 6c 70 20 66 6f 72 20 |t, the h|elp for |
|00001980| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |this fun|ction is|
|00001990| 20 64 69 73 61 62 6c 65 | 64 2e 09 54 72 79 20 61 | disable|d..Try a|
|000019a0| 6e 6f 74 68 65 72 20 66 | 75 6e 63 74 69 6f 6e 2e |nother f|unction.|
|000019b0| 0d 44 41 59 28 64 61 74 | 65 5f 6e 75 6d 29 09 52 |.DAY(dat|e_num).R|
|000019c0| 65 74 75 72 6e 73 20 74 | 68 65 20 64 61 79 20 6f |eturns t|he day o|
|000019d0| 66 20 74 68 65 20 6d 6f | 6e 74 68 20 28 31 2d 33 |f the mo|nth (1-3|
|000019e0| 31 29 20 66 6f 72 20 74 | 68 65 20 67 69 76 65 6e |1) for t|he given|
|000019f0| 20 64 61 74 65 20 6e 75 | 6d 62 65 72 2e 09 44 41 | date nu|mber..DA|
|00001a00| 59 28 33 31 34 34 33 29 | 20 3d 20 31 20 52 65 74 |Y(31443)| = 1 Ret|
|00001a10| 75 72 6e 73 20 74 68 65 | 20 64 61 79 20 6f 66 20 |urns the| day of |
|00001a20| 74 68 65 20 6d 6f 6e 74 | 68 20 66 6f 72 20 46 65 |the mont|h for Fe|
|00001a30| 62 72 75 61 72 79 20 31 | 2c 20 31 39 39 30 2e 09 |bruary 1|, 1990..|
|00001a40| 0d 44 41 59 4e 41 4d 45 | 28 64 61 79 5f 6e 75 6d |.DAYNAME|(day_num|
|00001a50| 29 09 49 6e 20 74 68 69 | 73 20 64 65 6d 6f 6e 73 |).In thi|s demons|
|00001a60| 74 72 61 74 69 6f 6e 20 | 76 65 72 73 69 6f 6e 20 |tration |version |
|00001a70| 6f 66 20 4f 6e 65 20 53 | 68 6f 74 2c 20 74 68 65 |of One S|hot, the|
|00001a80| 20 68 65 6c 70 20 66 6f | 72 20 74 68 69 73 20 66 | help fo|r this f|
|00001a90| 75 6e 63 74 69 6f 6e 20 | 69 73 20 64 69 73 61 62 |unction |is disab|
|00001aa0| 6c 65 64 2e 09 54 72 79 | 20 61 6e 6f 74 68 65 72 |led..Try| another|
|00001ab0| 20 66 75 6e 63 74 69 6f | 6e 2e 0d 44 44 42 28 63 | functio|n..DDB(c|
|00001ac0| 6f 73 74 2c 73 61 6c 76 | 61 67 65 2c 74 65 72 6d |ost,salv|age,term|
|00001ad0| 2c 70 65 72 69 6f 64 29 | 09 52 65 74 75 72 6e 73 |,period)|.Returns|
|00001ae0| 20 74 68 65 20 64 65 70 | 72 65 63 69 61 74 69 6f | the dep|reciatio|
|00001af0| 6e 20 6f 66 20 61 6e 20 | 61 73 73 65 74 20 66 6f |n of an |asset fo|
|00001b00| 72 20 61 20 73 70 65 63 | 69 66 69 65 64 20 70 65 |r a spec|ified pe|
|00001b10| 72 69 6f 64 2c 20 62 61 | 73 65 64 20 6f 6e 20 74 |riod, ba|sed on t|
|00001b20| 68 65 20 61 73 73 65 74 | d5 73 20 63 6f 73 74 2c |he asset|.s cost,|
|00001b30| 20 73 61 6c 76 61 67 65 | 2c 20 61 6e 64 20 75 73 | salvage|, and us|
|00001b40| 65 66 75 6c 20 74 65 72 | 6d 2c 20 75 73 69 6e 67 |eful ter|m, using|
|00001b50| 20 74 68 65 20 64 6f 75 | 62 6c 65 20 64 65 63 6c | the dou|ble decl|
|00001b60| 69 6e 69 6e 67 20 62 61 | 6c 61 6e 63 65 20 6d 65 |ining ba|lance me|
|00001b70| 74 68 6f 64 2e 09 44 44 | 42 28 32 34 30 30 2c 33 |thod..DD|B(2400,3|
|00001b80| 30 30 2c 31 30 2c 32 29 | 20 3d 20 33 38 34 20 52 |00,10,2)| = 384 R|
|00001b90| 65 74 75 72 6e 73 20 74 | 68 65 20 64 65 70 72 65 |eturns t|he depre|
|00001ba0| 63 69 61 74 69 6f 6e 20 | 76 61 6c 75 65 20 64 75 |ciation |value du|
|00001bb0| 72 69 6e 67 20 74 68 65 | 20 73 65 63 6f 6e 64 20 |ring the| second |
|00001bc0| 70 65 72 69 6f 64 20 6f | 66 20 61 6e 20 69 74 65 |period o|f an ite|
|00001bd0| 6d d5 73 20 74 65 6e 20 | 79 65 61 72 20 6c 69 66 |m.s ten |year lif|
|00001be0| 65 20 77 68 69 63 68 20 | 68 61 73 20 61 20 63 6f |e which |has a co|
|00001bf0| 73 74 20 6f 66 20 24 32 | 34 30 30 20 61 6e 64 20 |st of $2|400 and |
|00001c00| 61 20 73 61 6c 76 61 67 | 65 20 76 61 6c 75 65 20 |a salvag|e value |
|00001c10| 6f 66 20 24 33 30 30 2e | 09 0d 44 45 43 44 45 47 |of $300.|..DECDEG|
|00001c20| 28 64 65 63 5f 64 65 67 | 73 29 09 49 6e 20 74 68 |(dec_deg|s).In th|
|00001c30| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00001c40| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|00001c50| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|00001c60| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|00001c70| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|00001c80| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|00001c90| 6f 6e 2e 0d 44 45 47 28 | 78 29 09 52 65 74 75 72 |on..DEG(|x).Retur|
|00001ca0| 6e 73 20 74 68 65 20 67 | 69 76 65 6e 20 72 61 64 |ns the g|iven rad|
|00001cb0| 69 61 6e 20 61 6e 67 6c | 65 20 63 6f 6e 76 65 72 |ian angl|e conver|
|00001cc0| 74 65 64 20 74 6f 20 64 | 65 67 72 65 65 73 2e 09 |ted to d|egrees..|
|00001cd0| 44 45 47 28 41 54 41 4e | 28 31 2e 30 29 29 20 3d |DEG(ATAN|(1.0)) =|
|00001ce0| 20 34 35 2e 30 20 52 65 | 74 75 72 6e 73 20 74 68 | 45.0 Re|turns th|
|00001cf0| 65 20 64 65 67 72 65 65 | 20 76 61 6c 75 65 20 6f |e degree| value o|
|00001d00| 66 20 74 68 65 20 72 61 | 64 69 61 6e 20 61 6e 67 |f the ra|dian ang|
|00001d10| 6c 65 20 77 69 74 68 20 | 74 61 6e 67 65 6e 74 20 |le with |tangent |
|00001d20| 31 2e 30 2e 09 0d 44 45 | 47 44 45 43 28 64 65 67 |1.0...DE|GDEC(deg|
|00001d30| 73 5f 6d 69 6e 73 73 65 | 63 73 29 09 49 6e 20 74 |s_minsse|cs).In t|
|00001d40| 68 69 73 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |his demo|nstratio|
|00001d50| 6e 20 76 65 72 73 69 6f | 6e 20 6f 66 20 4f 6e 65 |n versio|n of One|
|00001d60| 20 53 68 6f 74 2c 20 74 | 68 65 20 68 65 6c 70 20 | Shot, t|he help |
|00001d70| 66 6f 72 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |for this| functio|
|00001d80| 6e 20 69 73 20 64 69 73 | 61 62 6c 65 64 2e 09 54 |n is dis|abled..T|
|00001d90| 72 79 20 61 6e 6f 74 68 | 65 72 20 66 75 6e 63 74 |ry anoth|er funct|
|00001da0| 69 6f 6e 2e 0d 44 49 53 | 28 66 76 2c 69 6e 74 2c |ion..DIS|(fv,int,|
|00001db0| 74 65 72 6d 29 09 52 65 | 74 75 72 6e 73 20 74 68 |term).Re|turns th|
|00001dc0| 65 20 64 69 73 63 6f 75 | 6e 74 65 64 20 70 72 65 |e discou|nted pre|
|00001dd0| 73 65 6e 74 20 76 61 6c | 75 65 20 6f 66 20 61 20 |sent val|ue of a |
|00001de0| 70 72 69 6e 63 69 70 6c | 65 2c 20 61 74 20 61 20 |principl|e, at a |
|00001df0| 67 69 76 65 6e 20 69 6e | 74 65 72 65 73 74 20 72 |given in|terest r|
|00001e00| 61 74 65 20 70 65 72 20 | 70 65 72 69 6f 64 2c 20 |ate per |period, |
|00001e10| 6f 76 65 72 20 61 20 73 | 70 65 63 69 66 69 65 64 |over a s|pecified|
|00001e20| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 65 72 69 6f | number |of perio|
|00001e30| 64 73 2e 09 44 49 53 28 | 31 30 30 30 2c 31 30 25 |ds..DIS(|1000,10%|
|00001e40| 2c 31 30 29 20 3d 20 33 | 38 35 2e 35 34 20 52 65 |,10) = 3|85.54 Re|
|00001e50| 74 75 72 6e 73 20 74 68 | 65 20 64 69 73 63 6f 75 |turns th|e discou|
|00001e60| 6e 74 65 64 20 70 72 65 | 73 65 6e 74 20 76 61 6c |nted pre|sent val|
|00001e70| 75 65 20 6f 66 20 24 31 | 30 30 30 2c 20 61 74 20 |ue of $1|000, at |
|00001e80| 61 6e 20 61 6e 6e 75 61 | 6c 20 69 6e 74 65 72 65 |an annua|l intere|
|00001e90| 73 74 20 72 61 74 65 20 | 6f 66 20 31 30 25 20 6f |st rate |of 10% o|
|00001ea0| 76 65 72 20 61 20 70 65 | 72 69 6f 64 20 6f 66 20 |ver a pe|riod of |
|00001eb0| 31 30 20 79 65 61 72 73 | 2e 09 0d 44 4f 4c 4c 41 |10 years|...DOLLA|
|00001ec0| 52 28 78 2c 6e 5f 64 65 | 63 73 29 09 49 6e 20 74 |R(x,n_de|cs).In t|
|00001ed0| 68 69 73 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |his demo|nstratio|
|00001ee0| 6e 20 76 65 72 73 69 6f | 6e 20 6f 66 20 4f 6e 65 |n versio|n of One|
|00001ef0| 20 53 68 6f 74 2c 20 74 | 68 65 20 68 65 6c 70 20 | Shot, t|he help |
|00001f00| 66 6f 72 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |for this| functio|
|00001f10| 6e 20 69 73 20 64 69 73 | 61 62 6c 65 64 2e 09 54 |n is dis|abled..T|
|00001f20| 72 79 20 61 6e 6f 74 68 | 65 72 20 66 75 6e 63 74 |ry anoth|er funct|
|00001f30| 69 6f 6e 2e 0d 45 20 6f | 72 20 65 09 52 65 74 75 |ion..E o|r e.Retu|
|00001f40| 72 6e 73 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |rns the |value of|
|00001f50| 20 65 20 6f 72 20 32 2e | 37 31 38 32 38 31 38 32 | e or 2.|71828182|
|00001f60| 38 2e 2e 2e 09 09 0d 45 | 52 52 09 49 6e 20 74 68 |8......E|RR.In th|
|00001f70| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00001f80| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|00001f90| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|00001fa0| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|00001fb0| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|00001fc0| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|00001fd0| 6f 6e 2e 0d 45 58 41 43 | 54 28 74 78 74 5f 31 2c |on..EXAC|T(txt_1,|
|00001fe0| 74 78 74 5f 32 29 09 52 | 65 74 75 72 6e 73 20 61 |txt_2).R|eturns a|
|00001ff0| 20 6c 6f 67 69 63 61 6c | 20 72 65 73 75 6c 74 20 | logical| result |
|00002000| 6f 66 20 74 72 75 65 20 | 6f 72 20 31 20 6f 6e 6c |of true |or 1 onl|
|00002010| 79 20 69 66 20 74 68 65 | 20 66 69 72 73 74 20 74 |y if the| first t|
|00002020| 65 78 74 20 65 78 61 63 | 74 6c 79 20 6d 61 74 63 |ext exac|tly matc|
|00002030| 68 65 73 20 74 68 65 20 | 73 65 63 6f 6e 64 20 74 |hes the |second t|
|00002040| 65 78 74 2e 09 45 58 41 | 43 54 28 4e 69 63 6b 4e |ext..EXA|CT(NickN|
|00002050| 61 6d 65 2c 22 53 6d 69 | 74 74 79 22 29 20 3d 20 |ame,"Smi|tty") = |
|00002060| 31 20 77 68 65 6e 20 74 | 68 65 20 66 69 65 6c 64 |1 when t|he field|
|00002070| 20 4e 69 63 6b 4e 61 6d | 65 20 69 73 20 22 53 6d | NickNam|e is "Sm|
|00002080| 69 74 74 79 22 09 0d 45 | 58 49 53 54 53 28 66 69 |itty"..E|XISTS(fi|
|00002090| 65 6c 64 29 09 49 6e 20 | 74 68 69 73 20 64 65 6d |eld).In |this dem|
|000020a0| 6f 6e 73 74 72 61 74 69 | 6f 6e 20 76 65 72 73 69 |onstrati|on versi|
|000020b0| 6f 6e 20 6f 66 20 4f 6e | 65 20 53 68 6f 74 2c 20 |on of On|e Shot, |
|000020c0| 74 68 65 20 68 65 6c 70 | 20 66 6f 72 20 74 68 69 |the help| for thi|
|000020d0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 64 69 |s functi|on is di|
|000020e0| 73 61 62 6c 65 64 2e 09 | 54 72 79 20 61 6e 6f 74 |sabled..|Try anot|
|000020f0| 68 65 72 20 66 75 6e 63 | 74 69 6f 6e 2e 0d 45 58 |her func|tion..EX|
|00002100| 50 28 78 29 09 52 65 74 | 75 72 6e 73 20 65 20 74 |P(x).Ret|urns e t|
|00002110| 6f 20 74 68 65 20 67 69 | 76 65 6e 20 70 6f 77 65 |o the gi|ven powe|
|00002120| 72 2e 09 45 58 50 28 32 | 2e 35 29 20 3d 20 31 32 |r..EXP(2|.5) = 12|
|00002130| 2e 31 38 32 35 20 52 65 | 74 75 72 6e 73 20 65 20 |.1825 Re|turns e |
|00002140| 74 6f 20 74 68 65 20 32 | 2e 35 20 70 6f 77 65 72 |to the 2|.5 power|
|00002150| 2e 09 0d 46 41 43 54 28 | 78 29 09 49 6e 20 74 68 |...FACT(|x).In th|
|00002160| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00002170| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|00002180| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|00002190| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|000021a0| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|000021b0| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|000021c0| 6f 6e 2e 0d 46 41 4c 53 | 45 09 52 65 74 75 72 6e |on..FALS|E.Return|
|000021d0| 73 20 74 68 65 20 6c 6f | 67 69 63 61 6c 20 63 6f |s the lo|gical co|
|000021e0| 6e 64 69 74 69 6f 6e 20 | 66 61 6c 73 65 2c 20 6f |ndition |false, o|
|000021f0| 72 20 30 2e 09 46 41 4c | 53 45 20 3d 20 30 09 0d |r 0..FAL|SE = 0..|
|00002200| 46 49 4e 44 28 74 78 74 | 2c 69 6e 5f 74 78 74 2c |FIND(txt|,in_txt,|
|00002210| 73 74 61 72 74 5f 70 6f | 73 29 09 49 6e 20 74 68 |start_po|s).In th|
|00002220| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00002230| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|00002240| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|00002250| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|00002260| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|00002270| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|00002280| 6f 6e 2e 0d 46 49 58 45 | 44 28 78 2c 6e 5f 64 65 |on..FIXE|D(x,n_de|
|00002290| 63 73 29 09 52 65 74 75 | 72 6e 73 20 61 73 20 74 |cs).Retu|rns as t|
|000022a0| 65 78 74 2c 20 74 68 65 | 20 67 69 76 65 6e 20 6e |ext, the| given n|
|000022b0| 75 6d 65 72 69 63 20 76 | 61 6c 75 65 20 69 6e 20 |umeric v|alue in |
|000022c0| 66 69 78 65 64 20 66 6f | 72 6d 61 74 20 72 6f 75 |fixed fo|rmat rou|
|000022d0| 6e 64 65 64 20 74 6f 20 | 61 20 73 70 65 63 69 66 |nded to |a specif|
|000022e0| 69 65 64 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 65 |ied numb|er of de|
|000022f0| 63 69 6d 61 6c 20 70 6c | 61 63 65 73 2e 09 46 49 |cimal pl|aces..FI|
|00002300| 58 45 44 28 33 2e 31 34 | 31 35 2c 32 29 20 3d 20 |XED(3.14|15,2) = |
|00002310| 22 33 2e 31 34 22 20 52 | 65 74 75 72 6e 73 20 61 |"3.14" R|eturns a|
|00002320| 73 20 74 65 78 74 20 74 | 68 65 20 76 61 6c 75 65 |s text t|he value|
|00002330| 20 33 2e 31 34 31 35 20 | 72 6f 75 6e 64 65 64 20 | 3.1415 |rounded |
|00002340| 74 6f 20 32 20 64 65 63 | 69 6d 61 6c 20 70 6c 61 |to 2 dec|imal pla|
|00002350| 63 65 73 2e 09 0d 46 52 | 41 43 28 78 29 09 49 6e |ces...FR|AC(x).In|
|00002360| 20 74 68 69 73 20 64 65 | 6d 6f 6e 73 74 72 61 74 | this de|monstrat|
|00002370| 69 6f 6e 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 4f |ion vers|ion of O|
|00002380| 6e 65 20 53 68 6f 74 2c | 20 74 68 65 20 68 65 6c |ne Shot,| the hel|
|00002390| 70 20 66 6f 72 20 74 68 | 69 73 20 66 75 6e 63 74 |p for th|is funct|
|000023a0| 69 6f 6e 20 69 73 20 64 | 69 73 61 62 6c 65 64 2e |ion is d|isabled.|
|000023b0| 09 54 72 79 20 61 6e 6f | 74 68 65 72 20 66 75 6e |.Try ano|ther fun|
|000023c0| 63 74 69 6f 6e 2e 0d 46 | 56 28 70 6d 74 2c 69 6e |ction..F|V(pmt,in|
|000023d0| 74 2c 74 65 72 6d 29 09 | 52 65 74 75 72 6e 73 20 |t,term).|Returns |
|000023e0| 74 68 65 20 66 75 74 75 | 72 65 20 76 61 6c 75 65 |the futu|re value|
|000023f0| 20 6f 66 20 61 6e 20 61 | 6e 6e 75 69 74 79 20 67 | of an a|nnuity g|
|00002400| 69 76 65 6e 20 61 20 66 | 69 78 65 64 20 70 61 79 |iven a f|ixed pay|
|00002410| 6d 65 6e 74 20 70 65 72 | 20 70 65 72 69 6f 64 2c |ment per| period,|
|00002420| 20 61 20 66 69 78 65 64 | 20 69 6e 74 65 72 65 73 | a fixed| interes|
|00002430| 74 20 72 61 74 65 20 70 | 65 72 20 70 65 72 69 6f |t rate p|er perio|
|00002440| 64 2c 20 61 6e 64 20 61 | 20 73 70 65 63 69 66 69 |d, and a| specifi|
|00002450| 65 64 20 6e 75 6d 62 65 | 72 20 6f 66 20 70 65 72 |ed numbe|r of per|
|00002460| 69 6f 64 73 2e 20 20 46 | 69 72 73 74 20 70 61 79 |iods. F|irst pay|
|00002470| 6d 65 6e 74 20 61 74 20 | 74 68 65 20 65 6e 64 20 |ment at |the end |
|00002480| 6f 66 20 74 68 65 20 66 | 69 72 73 74 20 70 61 79 |of the f|irst pay|
|00002490| 6d 65 6e 74 20 70 65 72 | 69 6f 64 2e 09 46 56 28 |ment per|iod..FV(|
|000024a0| 31 30 30 30 2c 2e 31 30 | 2c 31 30 29 20 3d 20 24 |1000,.10|,10) = $|
|000024b0| 31 35 2c 39 33 37 2e 34 | 32 09 0d 46 56 4c 28 70 |15,937.4|2..FVL(p|
|000024c0| 6d 74 2c 69 6e 74 2c 74 | 65 72 6d 29 09 49 6e 20 |mt,int,t|erm).In |
|000024d0| 74 68 69 73 20 64 65 6d | 6f 6e 73 74 72 61 74 69 |this dem|onstrati|
|000024e0| 6f 6e 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 4f 6e |on versi|on of On|
|000024f0| 65 20 53 68 6f 74 2c 20 | 74 68 65 20 68 65 6c 70 |e Shot, |the help|
|00002500| 20 66 6f 72 20 74 68 69 | 73 20 66 75 6e 63 74 69 | for thi|s functi|
|00002510| 6f 6e 20 69 73 20 64 69 | 73 61 62 6c 65 64 2e 09 |on is di|sabled..|
|00002520| 54 72 79 20 61 6e 6f 74 | 68 65 72 20 66 75 6e 63 |Try anot|her func|
|00002530| 74 69 6f 6e 2e 0d 48 09 | 52 65 74 75 72 6e 73 20 |tion..H.|Returns |
|00002540| 74 68 65 20 63 6f 6c 75 | 6d 6e 20 6e 75 6d 62 65 |the colu|mn numbe|
|00002550| 72 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |r of the| current|
|00002560| 6c 79 20 63 61 6c 63 75 | 6c 61 74 69 6e 67 20 63 |ly calcu|lating c|
|00002570| 65 6c 6c 20 77 69 74 68 | 69 6e 20 74 68 65 20 72 |ell with|in the r|
|00002580| 61 6e 67 65 2e 09 48 20 | 72 65 74 75 72 6e 73 20 |ange..H |returns |
|00002590| 33 20 77 69 74 68 69 6e | 20 61 20 33 20 63 6f 6c |3 within| a 3 col|
|000025a0| 75 6d 6e 20 62 79 20 34 | 20 72 6f 77 20 72 61 6e |umn by 4| row ran|
|000025b0| 67 65 2c 20 61 74 20 63 | 61 6c 63 75 6c 61 74 69 |ge, at c|alculati|
|000025c0| 6f 6e 20 6f 66 20 63 65 | 6c 6c 20 28 33 72 64 20 |on of ce|ll (3rd |
|000025d0| 63 6f 6c 75 6d 6e 2c 20 | 32 6e 64 20 72 6f 77 29 |column, |2nd row)|
|000025e0| 09 0d 48 45 58 4e 55 4d | 28 68 65 78 5f 74 78 74 |..HEXNUM|(hex_txt|
|000025f0| 29 09 49 6e 20 74 68 69 | 73 20 64 65 6d 6f 6e 73 |).In thi|s demons|
|00002600| 74 72 61 74 69 6f 6e 20 | 76 65 72 73 69 6f 6e 20 |tration |version |
|00002610| 6f 66 20 4f 6e 65 20 53 | 68 6f 74 2c 20 74 68 65 |of One S|hot, the|
|00002620| 20 68 65 6c 70 20 66 6f | 72 20 74 68 69 73 20 66 | help fo|r this f|
|00002630| 75 6e 63 74 69 6f 6e 20 | 69 73 20 64 69 73 61 62 |unction |is disab|
|00002640| 6c 65 64 2e 09 54 72 79 | 20 61 6e 6f 74 68 65 72 |led..Try| another|
|00002650| 20 66 75 6e 63 74 69 6f | 6e 2e 0d 49 20 6f 72 20 | functio|n..I or |
|00002660| 69 09 52 65 74 75 72 6e | 73 20 74 68 65 20 69 6e |i.Return|s the in|
|00002670| 64 65 78 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |dex numb|er of th|
|00002680| 65 20 63 75 72 72 65 6e | 74 20 63 61 6c 63 75 6c |e curren|t calcul|
|00002690| 61 74 69 6e 67 20 63 65 | 6c 6c 20 77 69 74 68 69 |ating ce|ll withi|
|000026a0| 6e 20 74 68 65 20 72 61 | 6e 67 65 2e 09 57 69 74 |n the ra|nge..Wit|
|000026b0| 68 69 6e 20 61 20 33 20 | 63 6f 6c 75 6d 6e 20 62 |hin a 3 |column b|
|000026c0| 79 20 34 20 72 6f 77 20 | 72 61 6e 67 65 2c 20 61 |y 4 row |range, a|
|000026d0| 74 20 63 61 6c 63 75 6c | 61 74 69 6f 6e 20 6f 66 |t calcul|ation of|
|000026e0| 20 63 65 6c 6c 20 28 33 | 72 64 20 63 6f 6c 75 6d | cell (3|rd colum|
|000026f0| 6e 2c 20 32 6e 64 20 72 | 6f 77 29 2c 20 49 20 6f |n, 2nd r|ow), I o|
|00002700| 72 20 69 20 69 73 20 65 | 71 75 61 6c 20 74 6f 20 |r i is e|qual to |
|00002710| 36 09 0d 49 46 28 63 6f | 6e 64 2c 74 72 75 65 2c |6..IF(co|nd,true,|
|00002720| 66 61 6c 73 65 29 09 49 | 6e 20 74 68 69 73 20 64 |false).I|n this d|
|00002730| 65 6d 6f 6e 73 74 72 61 | 74 69 6f 6e 20 76 65 72 |emonstra|tion ver|
|00002740| 73 69 6f 6e 20 6f 66 20 | 4f 6e 65 20 53 68 6f 74 |sion of |One Shot|
|00002750| 2c 20 74 68 65 20 68 65 | 6c 70 20 66 6f 72 20 74 |, the he|lp for t|
|00002760| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|00002770| 64 69 73 61 62 6c 65 64 | 2e 09 54 72 79 20 61 6e |disabled|..Try an|
|00002780| 6f 74 68 65 72 20 66 75 | 6e 63 74 69 6f 6e 2e 0d |other fu|nction..|
|00002790| 49 4e 43 4c 55 44 45 53 | 28 73 65 61 72 63 68 5f |INCLUDES|(search_|
|000027a0| 74 78 74 2c 69 6e 5f 74 | 78 74 29 09 52 65 74 75 |txt,in_t|xt).Retu|
|000027b0| 72 6e 73 20 6c 6f 67 69 | 63 61 6c 20 72 65 73 75 |rns logi|cal resu|
|000027c0| 6c 74 20 74 72 75 65 20 | 6f 72 20 31 20 6f 6e 6c |lt true |or 1 onl|
|000027d0| 79 20 69 66 20 74 68 65 | 20 73 65 61 72 63 68 20 |y if the| search |
|000027e0| 74 65 78 74 20 69 73 20 | 63 6f 6e 74 61 69 6e 65 |text is |containe|
|000027f0| 64 20 77 69 74 68 69 6e | 20 74 68 65 20 73 70 65 |d within| the spe|
|00002800| 63 69 66 69 65 64 20 74 | 65 78 74 2e 09 49 4e 43 |cified t|ext..INC|
|00002810| 4c 55 44 45 53 28 22 aa | 22 2c 22 31 20 53 68 6f |LUDES(".|","1 Sho|
|00002820| 74 aa 22 29 20 3d 20 31 | 20 52 65 74 75 72 6e 73 |t.") = 1| Returns|
|00002830| 20 74 72 75 65 2c 20 6f | 72 20 31 2c 20 77 68 65 | true, o|r 1, whe|
|00002840| 6e 20 22 aa 22 20 69 73 | 20 66 6f 75 6e 64 20 69 |n "." is| found i|
|00002850| 6e 20 74 68 65 20 74 65 | 78 74 20 22 31 20 53 68 |n the te|xt "1 Sh|
|00002860| 6f 74 aa 22 2e 09 0d 49 | 4e 46 09 49 6e 20 74 68 |ot."...I|NF.In th|
|00002870| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00002880| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|00002890| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|000028a0| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|000028b0| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|000028c0| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|000028d0| 6f 6e 2e 0d 49 4e 54 28 | 78 29 09 52 65 74 75 72 |on..INT(|x).Retur|
|000028e0| 6e 73 20 74 68 65 20 69 | 6e 74 65 67 65 72 20 70 |ns the i|nteger p|
|000028f0| 6f 72 74 69 6f 6e 20 6f | 66 20 74 68 65 20 67 69 |ortion o|f the gi|
|00002900| 76 65 6e 20 76 61 6c 75 | 65 2e 09 49 4e 54 28 33 |ven valu|e..INT(3|
|00002910| 2e 31 34 31 35 29 20 3d | 20 33 2e 30 30 30 30 20 |.1415) =| 3.0000 |
|00002920| 52 65 74 75 72 6e 73 20 | 74 68 65 20 69 6e 74 65 |Returns |the inte|
|00002930| 67 65 72 20 70 6f 72 74 | 69 6f 6e 20 6f 66 20 33 |ger port|ion of 3|
|00002940| 2e 31 34 31 35 2e 09 0d | 49 50 4d 54 28 70 76 2c |.1415...|IPMT(pv,|
|00002950| 69 6e 74 2c 74 65 72 6d | 2c 70 6d 74 5f 73 74 61 |int,term|,pmt_sta|
|00002960| 72 74 2c 5b 70 6d 74 5f | 65 6e 64 5d 29 09 49 6e |rt,[pmt_|end]).In|
|00002970| 20 74 68 69 73 20 64 65 | 6d 6f 6e 73 74 72 61 74 | this de|monstrat|
|00002980| 69 6f 6e 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 4f |ion vers|ion of O|
|00002990| 6e 65 20 53 68 6f 74 2c | 20 74 68 65 20 68 65 6c |ne Shot,| the hel|
|000029a0| 70 20 66 6f 72 20 74 68 | 69 73 20 66 75 6e 63 74 |p for th|is funct|
|000029b0| 69 6f 6e 20 69 73 20 64 | 69 73 61 62 6c 65 64 2e |ion is d|isabled.|
|000029c0| 09 54 72 79 20 61 6e 6f | 74 68 65 72 20 66 75 6e |.Try ano|ther fun|
|000029d0| 63 74 69 6f 6e 2e 0d 49 | 53 42 4c 41 4e 4b 28 66 |ction..I|SBLANK(f|
|000029e0| 69 65 6c 64 29 09 52 65 | 74 75 72 6e 73 20 61 20 |ield).Re|turns a |
|000029f0| 6c 6f 67 69 63 61 6c 20 | 72 65 73 75 6c 74 20 6f |logical |result o|
|00002a00| 66 20 74 72 75 65 20 6f | 72 20 31 20 6f 6e 6c 79 |f true o|r 1 only|
|00002a10| 20 69 66 20 74 68 65 20 | 73 70 65 63 69 66 69 65 | if the |specifie|
|00002a20| 64 20 66 69 65 6c 64 20 | 69 73 20 62 6c 61 6e 6b |d field |is blank|
|00002a30| 2e 09 49 53 42 4c 41 4e | 4b 20 3d 20 31 20 69 66 |..ISBLAN|K = 1 if|
|00002a40| 20 74 68 65 20 66 69 65 | 6c 64 20 69 73 20 62 6c | the fie|ld is bl|
|00002a50| 61 6e 6b 2e 09 0d 49 53 | 45 52 52 28 66 69 65 6c |ank...IS|ERR(fiel|
|00002a60| 64 29 09 49 6e 20 74 68 | 69 73 20 64 65 6d 6f 6e |d).In th|is demon|
|00002a70| 73 74 72 61 74 69 6f 6e | 20 76 65 72 73 69 6f 6e |stration| version|
|00002a80| 20 6f 66 20 4f 6e 65 20 | 53 68 6f 74 2c 20 74 68 | of One |Shot, th|
|00002a90| 65 20 68 65 6c 70 20 66 | 6f 72 20 74 68 69 73 20 |e help f|or this |
|00002aa0| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 64 69 73 61 |function| is disa|
|00002ab0| 62 6c 65 64 2e 09 54 72 | 79 20 61 6e 6f 74 68 65 |bled..Tr|y anothe|
|00002ac0| 72 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 49 53 4e 41 |r functi|on..ISNA|
|00002ad0| 28 66 69 65 6c 64 29 09 | 52 65 74 75 72 6e 73 20 |(field).|Returns |
|00002ae0| 61 20 6c 6f 67 69 63 61 | 6c 20 72 65 73 75 6c 74 |a logica|l result|
|00002af0| 20 6f 66 20 74 72 75 65 | 20 6f 72 20 31 20 6f 6e | of true| or 1 on|
|00002b00| 6c 79 20 69 66 20 74 68 | 65 20 73 70 65 63 69 66 |ly if th|e specif|
|00002b10| 69 65 64 20 66 69 65 6c | 64 20 69 73 20 22 4e 41 |ied fiel|d is "NA|
|00002b20| 22 2e 09 49 53 4e 41 20 | 3d 20 31 20 69 66 20 74 |"..ISNA |= 1 if t|
|00002b30| 68 65 20 66 69 65 6c 64 | 20 69 73 20 22 4e 41 22 |he field| is "NA"|
|00002b40| 09 0d 4c 45 46 54 28 74 | 78 74 2c 6e 5f 63 68 61 |..LEFT(t|xt,n_cha|
|00002b50| 72 73 29 09 49 6e 20 74 | 68 69 73 20 64 65 6d 6f |rs).In t|his demo|
|00002b60| 6e 73 74 72 61 74 69 6f | 6e 20 76 65 72 73 69 6f |nstratio|n versio|
|00002b70| 6e 20 6f 66 20 4f 6e 65 | 20 53 68 6f 74 2c 20 74 |n of One| Shot, t|
|00002b80| 68 65 20 68 65 6c 70 20 | 66 6f 72 20 74 68 69 73 |he help |for this|
|00002b90| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 64 69 73 | functio|n is dis|
|00002ba0| 61 62 6c 65 64 2e 09 54 | 72 79 20 61 6e 6f 74 68 |abled..T|ry anoth|
|00002bb0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 4c 45 4e |er funct|ion..LEN|
|00002bc0| 47 54 48 28 74 78 74 29 | 09 52 65 74 75 72 6e 73 |GTH(txt)|.Returns|
|00002bd0| 20 74 68 65 20 6c 65 6e | 67 74 68 20 6f 66 20 74 | the len|gth of t|
|00002be0| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 74 65 78 |he speci|fied tex|
|00002bf0| 74 20 69 6e 20 63 68 61 | 72 61 63 74 65 72 73 2e |t in cha|racters.|
|00002c00| 09 4c 45 4e 47 54 48 28 | 53 74 61 74 65 20 4e 61 |.LENGTH(|State Na|
|00002c10| 6d 65 29 20 3d 20 38 20 | 20 22 53 74 61 74 65 20 |me) = 8 | "State |
|00002c20| 4e 61 6d 65 20 3d 20 22 | 4d 69 73 73 6f 75 72 69 |Name = "|Missouri|
|00002c30| 22 3a 20 09 0d 4c 4e 28 | 78 29 09 49 6e 20 74 68 |": ..LN(|x).In th|
|00002c40| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00002c50| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|00002c60| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|00002c70| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|00002c80| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|00002c90| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|00002ca0| 6f 6e 2e 0d 4c 4f 41 4e | 54 45 52 4d 28 70 76 2c |on..LOAN|TERM(pv,|
|00002cb0| 70 6d 74 2c 69 6e 74 29 | 09 52 65 74 75 72 6e 73 |pmt,int)|.Returns|
|00002cc0| 20 74 68 65 20 23 20 6f | 66 20 70 61 79 6d 65 6e | the # o|f paymen|
|00002cd0| 74 73 20 72 65 71 75 69 | 72 65 64 20 74 6f 20 70 |ts requi|red to p|
|00002ce0| 61 79 20 6f 66 66 20 61 | 20 67 69 76 65 6e 20 70 |ay off a| given p|
|00002cf0| 72 65 73 65 6e 74 20 76 | 61 6c 75 65 20 61 74 20 |resent v|alue at |
|00002d00| 61 20 67 69 76 65 6e 20 | 70 65 72 69 6f 64 69 63 |a given |periodic|
|00002d10| 20 69 6e 74 65 72 65 73 | 74 20 72 61 74 65 2e 09 | interes|t rate..|
|00002d20| 4c 4f 41 4e 54 45 52 4d | 28 34 30 30 30 2c 31 35 |LOANTERM|(4000,15|
|00002d30| 30 2c 39 2e 35 25 2f 31 | 32 29 20 3d 20 33 30 2e |0,9.5%/1|2) = 30.|
|00002d40| 30 37 20 20 24 34 2c 30 | 30 30 20 61 74 20 39 2e |07 $4,0|00 at 9.|
|00002d50| 35 25 20 69 6e 74 65 72 | 65 73 74 20 69 6e 20 70 |5% inter|est in p|
|00002d60| 61 79 6d 65 6e 74 73 20 | 6f 66 20 24 31 35 30 20 |ayments |of $150 |
|00002d70| 70 65 72 20 6d 6f 6e 74 | 68 20 20 72 65 71 75 69 |per mont|h requi|
|00002d80| 72 65 73 20 33 30 2e 30 | 37 20 70 61 79 6d 65 6e |res 30.0|7 paymen|
|00002d90| 74 73 2e 09 0d 4c 4f 47 | 28 78 2c 62 61 73 65 5f |ts...LOG|(x,base_|
|00002da0| 6e 29 09 49 6e 20 74 68 | 69 73 20 64 65 6d 6f 6e |n).In th|is demon|
|00002db0| 73 74 72 61 74 69 6f 6e | 20 76 65 72 73 69 6f 6e |stration| version|
|00002dc0| 20 6f 66 20 4f 6e 65 20 | 53 68 6f 74 2c 20 74 68 | of One |Shot, th|
|00002dd0| 65 20 68 65 6c 70 20 66 | 6f 72 20 74 68 69 73 20 |e help f|or this |
|00002de0| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 64 69 73 61 |function| is disa|
|00002df0| 62 6c 65 64 2e 09 54 72 | 79 20 61 6e 6f 74 68 65 |bled..Tr|y anothe|
|00002e00| 72 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 4c 4f 47 31 |r functi|on..LOG1|
|00002e10| 30 28 78 29 09 52 65 74 | 75 72 6e 73 20 74 68 65 |0(x).Ret|urns the|
|00002e20| 20 6c 6f 67 20 62 61 73 | 65 20 31 30 20 6f 66 20 | log bas|e 10 of |
|00002e30| 74 68 65 20 67 69 76 65 | 6e 20 76 61 6c 75 65 2e |the give|n value.|
|00002e40| 09 4c 4f 47 31 30 28 31 | 30 30 29 20 3d 20 32 20 |.LOG10(1|00) = 2 |
|00002e50| 52 65 74 75 72 6e 73 20 | 74 68 65 20 6c 6f 67 20 |Returns |the log |
|00002e60| 6f 66 20 31 30 30 20 69 | 6e 20 62 61 73 65 20 31 |of 100 i|n base 1|
|00002e70| 30 2e 09 0d 4c 4f 4f 4b | 55 50 28 64 61 74 61 2c |0...LOOK|UP(data,|
|00002e80| 52 61 6e 67 65 29 09 49 | 6e 20 74 68 69 73 20 64 |Range).I|n this d|
|00002e90| 65 6d 6f 6e 73 74 72 61 | 74 69 6f 6e 20 76 65 72 |emonstra|tion ver|
|00002ea0| 73 69 6f 6e 20 6f 66 20 | 4f 6e 65 20 53 68 6f 74 |sion of |One Shot|
|00002eb0| 2c 20 74 68 65 20 68 65 | 6c 70 20 66 6f 72 20 74 |, the he|lp for t|
|00002ec0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|00002ed0| 64 69 73 61 62 6c 65 64 | 2e 09 54 72 79 20 61 6e |disabled|..Try an|
|00002ee0| 6f 74 68 65 72 20 66 75 | 6e 63 74 69 6f 6e 2e 0d |other fu|nction..|
|00002ef0| 4c 4f 57 45 52 28 74 78 | 74 29 09 52 65 74 75 72 |LOWER(tx|t).Retur|
|00002f00| 6e 73 20 74 68 65 20 67 | 69 76 65 6e 20 74 65 78 |ns the g|iven tex|
|00002f10| 74 20 63 6f 6e 76 65 72 | 74 65 64 20 69 6e 74 6f |t conver|ted into|
|00002f20| 20 6c 6f 77 65 72 20 63 | 61 73 65 2e 09 4c 4f 57 | lower c|ase..LOW|
|00002f30| 45 52 28 22 4d 79 20 47 | 72 61 6e 64 4d 61 22 29 |ER("My G|randMa")|
|00002f40| 20 3d 20 22 6d 79 20 67 | 72 61 6e 64 6d 61 22 20 | = "my g|randma" |
|00002f50| 52 65 74 75 72 6e 73 20 | 74 68 65 20 74 65 78 74 |Returns |the text|
|00002f60| 20 22 4d 79 20 47 72 61 | 6e 64 4d 61 22 20 69 6e | "My Gra|ndMa" in|
|00002f70| 20 6c 6f 77 65 72 20 63 | 61 73 65 20 6f 6e 6c 79 | lower c|ase only|
|00002f80| 2e 09 0d 4d 41 58 28 52 | 61 6e 67 65 29 09 49 6e |...MAX(R|ange).In|
|00002f90| 20 74 68 69 73 20 64 65 | 6d 6f 6e 73 74 72 61 74 | this de|monstrat|
|00002fa0| 69 6f 6e 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 4f |ion vers|ion of O|
|00002fb0| 6e 65 20 53 68 6f 74 2c | 20 74 68 65 20 68 65 6c |ne Shot,| the hel|
|00002fc0| 70 20 66 6f 72 20 74 68 | 69 73 20 66 75 6e 63 74 |p for th|is funct|
|00002fd0| 69 6f 6e 20 69 73 20 64 | 69 73 61 62 6c 65 64 2e |ion is d|isabled.|
|00002fe0| 09 54 72 79 20 61 6e 6f | 74 68 65 72 20 66 75 6e |.Try ano|ther fun|
|00002ff0| 63 74 69 6f 6e 2e 0d 4d | 49 44 28 74 78 74 2c 70 |ction..M|ID(txt,p|
|00003000| 6f 73 2c 6e 5f 63 68 61 | 72 73 29 09 52 65 74 75 |os,n_cha|rs).Retu|
|00003010| 72 6e 73 20 74 68 65 20 | 72 65 71 75 65 73 74 65 |rns the |requeste|
|00003020| 64 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 68 61 72 |d number| of char|
|00003030| 61 63 74 65 72 73 20 66 | 72 6f 6d 20 74 68 65 20 |acters f|rom the |
|00003040| 67 69 76 65 6e 20 74 65 | 78 74 20 73 74 61 72 74 |given te|xt start|
|00003050| 69 6e 67 20 61 74 20 74 | 68 65 20 73 70 65 63 69 |ing at t|he speci|
|00003060| 66 69 65 64 20 70 6f 73 | 69 74 69 6f 6e 2e 09 4d |fied pos|ition..M|
|00003070| 49 44 28 22 48 69 20 6d | 6f 6d 21 22 2c 34 2c 33 |ID("Hi m|om!",4,3|
|00003080| 29 20 3d 20 22 6d 6f 6d | 22 20 52 65 74 75 72 6e |) = "mom|" Return|
|00003090| 73 20 74 68 72 65 65 20 | 63 68 61 72 61 63 74 65 |s three |characte|
|000030a0| 72 73 2c 20 73 74 61 72 | 74 69 6e 67 20 61 74 20 |rs, star|ting at |
|000030b0| 70 6f 73 69 74 69 6f 6e | 20 66 6f 75 72 2c 20 66 |position| four, f|
|000030c0| 72 6f 6d 20 74 68 65 20 | 74 65 78 74 20 22 48 69 |rom the |text "Hi|
|000030d0| 20 6d 6f 6d 21 22 2e 09 | 0d 4d 49 4e 28 52 61 6e | mom!"..|.MIN(Ran|
|000030e0| 67 65 29 09 49 6e 20 74 | 68 69 73 20 64 65 6d 6f |ge).In t|his demo|
|000030f0| 6e 73 74 72 61 74 69 6f | 6e 20 76 65 72 73 69 6f |nstratio|n versio|
|00003100| 6e 20 6f 66 20 4f 6e 65 | 20 53 68 6f 74 2c 20 74 |n of One| Shot, t|
|00003110| 68 65 20 68 65 6c 70 20 | 66 6f 72 20 74 68 69 73 |he help |for this|
|00003120| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 64 69 73 | functio|n is dis|
|00003130| 61 62 6c 65 64 2e 09 54 | 72 79 20 61 6e 6f 74 68 |abled..T|ry anoth|
|00003140| 65 72 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 4d 4f 44 |er funct|ion..MOD|
|00003150| 28 78 2c 64 69 76 69 73 | 6f 72 29 09 52 65 74 75 |(x,divis|or).Retu|
|00003160| 72 6e 73 20 74 68 65 20 | 6d 6f 64 75 6c 75 73 20 |rns the |modulus |
|00003170| 6f 72 20 72 65 6d 61 69 | 6e 64 65 72 20 61 66 74 |or remai|nder aft|
|00003180| 65 72 20 74 68 65 20 67 | 69 76 65 6e 20 6e 75 6d |er the g|iven num|
|00003190| 62 65 72 20 69 73 20 64 | 69 76 69 64 65 64 20 62 |ber is d|ivided b|
|000031a0| 79 20 74 68 65 20 64 69 | 76 69 73 6f 72 2e 09 4d |y the di|visor..M|
|000031b0| 4f 44 28 31 30 34 2c 31 | 30 29 20 3d 20 34 20 52 |OD(104,1|0) = 4 R|
|000031c0| 65 74 75 72 6e 73 20 74 | 68 65 20 72 65 6d 61 69 |eturns t|he remai|
|000031d0| 6e 64 65 72 20 6f 66 20 | 31 30 34 20 64 69 76 69 |nder of |104 divi|
|000031e0| 64 65 64 20 62 79 20 31 | 30 2e 09 0d 4d 4f 4e 54 |ded by 1|0...MONT|
|000031f0| 48 28 64 61 74 65 5f 6e | 75 6d 29 09 49 6e 20 74 |H(date_n|um).In t|
|00003200| 68 69 73 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |his demo|nstratio|
|00003210| 6e 20 76 65 72 73 69 6f | 6e 20 6f 66 20 4f 6e 65 |n versio|n of One|
|00003220| 20 53 68 6f 74 2c 20 74 | 68 65 20 68 65 6c 70 20 | Shot, t|he help |
|00003230| 66 6f 72 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |for this| functio|
|00003240| 6e 20 69 73 20 64 69 73 | 61 62 6c 65 64 2e 09 54 |n is dis|abled..T|
|00003250| 72 79 20 61 6e 6f 74 68 | 65 72 20 66 75 6e 63 74 |ry anoth|er funct|
|00003260| 69 6f 6e 2e 0d 4d 4f 4e | 54 48 4e 41 4d 45 28 6d |ion..MON|THNAME(m|
|00003270| 6f 6e 74 68 5f 6e 75 6d | 29 09 52 65 74 75 72 6e |onth_num|).Return|
|00003280| 73 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |s the na|me of th|
|00003290| 65 20 6d 6f 6e 74 68 20 | 73 70 65 63 69 66 69 65 |e month |specifie|
|000032a0| 64 20 62 79 20 74 68 65 | 20 6d 6f 6e 74 68 20 6e |d by the| month n|
|000032b0| 75 6d 62 65 72 2e 09 4d | 4f 4e 54 48 4e 41 4d 45 |umber..M|ONTHNAME|
|000032c0| 28 32 29 20 3d 20 22 46 | 65 62 72 75 61 72 79 22 |(2) = "F|ebruary"|
|000032d0| 20 52 65 74 75 72 6e 73 | 20 74 68 65 20 6e 61 6d | Returns| the nam|
|000032e0| 65 20 6f 66 20 74 68 65 | 20 73 65 63 6f 6e 64 20 |e of the| second |
|000032f0| 6d 6f 6e 74 68 20 6f 66 | 20 74 68 65 20 79 65 61 |month of| the yea|
|00003300| 72 2e 09 0d 4e 41 09 49 | 6e 20 74 68 69 73 20 64 |r...NA.I|n this d|
|00003310| 65 6d 6f 6e 73 74 72 61 | 74 69 6f 6e 20 76 65 72 |emonstra|tion ver|
|00003320| 73 69 6f 6e 20 6f 66 20 | 4f 6e 65 20 53 68 6f 74 |sion of |One Shot|
|00003330| 2c 20 74 68 65 20 68 65 | 6c 70 20 66 6f 72 20 74 |, the he|lp for t|
|00003340| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|00003350| 64 69 73 61 62 6c 65 64 | 2e 09 54 72 79 20 61 6e |disabled|..Try an|
|00003360| 6f 74 68 65 72 20 66 75 | 6e 63 74 69 6f 6e 2e 0d |other fu|nction..|
|00003370| 4e 45 47 50 56 41 4c 28 | 74 70 2c 66 70 2c 74 6e |NEGPVAL(|tp,fp,tn|
|00003380| 2c 66 6e 29 09 52 65 74 | 75 72 6e 73 20 6e 65 67 |,fn).Ret|urns neg|
|00003390| 61 74 69 76 65 20 70 72 | 65 64 69 63 74 69 76 65 |ative pr|edictive|
|000033a0| 20 76 61 6c 75 65 20 66 | 6f 72 20 74 72 75 65 20 | value f|or true |
|000033b0| 6e 65 67 61 74 69 76 65 | 73 20 6f 76 65 72 20 61 |negative|s over a|
|000033c0| 6c 6c 20 6e 65 67 61 74 | 69 76 65 20 72 65 73 75 |ll negat|ive resu|
|000033d0| 6c 74 73 2e 09 4e 45 47 | 50 56 41 4c 20 3d 20 28 |lts..NEG|PVAL = (|
|000033e0| 54 4e 2f 54 4e 20 2b 20 | 46 4e 29 29 2a 31 30 30 |TN/TN + |FN))*100|
|000033f0| 09 0d 4e 46 56 28 72 61 | 74 65 2c 52 61 6e 67 65 |..NFV(ra|te,Range|
|00003400| 29 09 49 6e 20 74 68 69 | 73 20 64 65 6d 6f 6e 73 |).In thi|s demons|
|00003410| 74 72 61 74 69 6f 6e 20 | 76 65 72 73 69 6f 6e 20 |tration |version |
|00003420| 6f 66 20 4f 6e 65 20 53 | 68 6f 74 2c 20 74 68 65 |of One S|hot, the|
|00003430| 20 68 65 6c 70 20 66 6f | 72 20 74 68 69 73 20 66 | help fo|r this f|
|00003440| 75 6e 63 74 69 6f 6e 20 | 69 73 20 64 69 73 61 62 |unction |is disab|
|00003450| 6c 65 64 2e 09 54 72 79 | 20 61 6e 6f 74 68 65 72 |led..Try| another|
|00003460| 20 66 75 6e 63 74 69 6f | 6e 2e 0d 4e 4f 54 28 63 | functio|n..NOT(c|
|00003470| 6f 6e 64 29 09 4e 65 67 | 61 74 65 73 20 61 6e 64 |ond).Neg|ates and|
|00003480| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 67 69 76 | returns| the giv|
|00003490| 65 6e 20 6c 6f 67 69 63 | 61 6c 20 63 6f 6e 64 69 |en logic|al condi|
|000034a0| 74 69 6f 6e 2e 09 4e 4f | 54 28 35 20 3e 20 33 29 |tion..NO|T(5 > 3)|
|000034b0| 20 3d 20 30 20 4e 65 67 | 61 74 65 73 20 74 68 65 | = 0 Neg|ates the|
|000034c0| 20 6c 6f 67 69 63 61 6c | 20 74 65 73 74 20 6f 66 | logical| test of|
|000034d0| 20 35 20 3e 20 33 2e 09 | 0d 4e 50 56 28 72 61 74 | 5 > 3..|.NPV(rat|
|000034e0| 65 2c 52 61 6e 67 65 29 | 09 49 6e 20 74 68 69 73 |e,Range)|.In this|
|000034f0| 20 64 65 6d 6f 6e 73 74 | 72 61 74 69 6f 6e 20 76 | demonst|ration v|
|00003500| 65 72 73 69 6f 6e 20 6f | 66 20 4f 6e 65 20 53 68 |ersion o|f One Sh|
|00003510| 6f 74 2c 20 74 68 65 20 | 68 65 6c 70 20 66 6f 72 |ot, the |help for|
|00003520| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 | this fu|nction i|
|00003530| 73 20 64 69 73 61 62 6c | 65 64 2e 09 54 72 79 20 |s disabl|ed..Try |
|00003540| 61 6e 6f 74 68 65 72 20 | 66 75 6e 63 74 69 6f 6e |another |function|
|00003550| 2e 0d 4e 55 4d 48 45 58 | 28 69 6e 74 29 09 43 6f |..NUMHEX|(int).Co|
|00003560| 6e 76 65 72 74 73 20 64 | 65 63 69 6d 61 6c 20 62 |nverts d|ecimal b|
|00003570| 61 73 65 20 6e 75 6d 62 | 65 72 73 20 74 6f 20 68 |ase numb|ers to h|
|00003580| 65 78 61 64 65 63 69 6d | 61 6c 20 6e 75 6d 62 65 |exadecim|al numbe|
|00003590| 72 73 2e 09 4e 55 4d 48 | 45 58 20 28 31 37 30 29 |rs..NUMH|EX (170)|
|000035a0| 20 3d 20 22 41 41 22 09 | 0d 4f 52 09 49 6e 20 74 | = "AA".|.OR.In t|
|000035b0| 68 69 73 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |his demo|nstratio|
|000035c0| 6e 20 76 65 72 73 69 6f | 6e 20 6f 66 20 4f 6e 65 |n versio|n of One|
|000035d0| 20 53 68 6f 74 2c 20 74 | 68 65 20 68 65 6c 70 20 | Shot, t|he help |
|000035e0| 66 6f 72 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |for this| functio|
|000035f0| 6e 20 69 73 20 64 69 73 | 61 62 6c 65 64 2e 09 54 |n is dis|abled..T|
|00003600| 72 79 20 61 6e 6f 74 68 | 65 72 20 66 75 6e 63 74 |ry anoth|er funct|
|00003610| 69 6f 6e 2e 0d 4f 52 44 | 49 4e 41 4c 28 69 6e 74 |ion..ORD|INAL(int|
|00003620| 29 09 52 65 74 75 72 6e | 73 20 74 68 65 20 6f 72 |).Return|s the or|
|00003630| 64 69 6e 61 6c 20 74 65 | 78 74 20 6e 75 6d 62 65 |dinal te|xt numbe|
|00003640| 72 20 6f 66 20 74 68 65 | 20 69 6e 74 65 67 65 72 |r of the| integer|
|00003650| 20 6e 75 6d 62 65 72 20 | 28 69 6e 74 29 2e 20 20 | number |(int). |
|00003660| 28 69 65 2e 20 31 73 74 | 2c 20 32 6e 64 2c 20 33 |(ie. 1st|, 2nd, 3|
|00003670| 72 64 2c 20 34 74 68 20 | 65 74 63 2e 20 09 4f 52 |rd, 4th |etc. .OR|
|00003680| 44 49 4e 41 4c 28 37 29 | 20 3d 20 37 74 68 09 4e |DINAL(7)| = 7th.N|
|00003690| 6f 74 65 3a 20 20 41 20 | 64 61 79 20 6e 75 6d 62 |ote: A |day numb|
|000036a0| 65 72 20 6f 72 20 64 61 | 79 20 6f 66 20 74 68 65 |er or da|y of the|
|000036b0| 20 6d 6f 6e 74 68 20 6d | 61 79 20 75 73 65 64 2c | month m|ay used,|
|000036c0| 20 62 75 74 20 61 6e 79 | 20 69 6e 74 65 67 65 72 | but any| integer|
|000036d0| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 69 65 20 | can be |used ie |
|000036e0| 4f 52 44 49 4e 41 4c 28 | 31 30 30 30 29 20 3d 20 |ORDINAL(|1000) = |
|000036f0| 31 30 30 30 74 68 0d 50 | 45 52 49 4f 44 53 28 70 |1000th.P|ERIODS(p|
|00003700| 76 2c 66 76 2c 69 6e 74 | 29 09 49 6e 20 74 68 69 |v,fv,int|).In thi|
|00003710| 73 20 64 65 6d 6f 6e 73 | 74 72 61 74 69 6f 6e 20 |s demons|tration |
|00003720| 76 65 72 73 69 6f 6e 20 | 6f 66 20 4f 6e 65 20 53 |version |of One S|
|00003730| 68 6f 74 2c 20 74 68 65 | 20 68 65 6c 70 20 66 6f |hot, the| help fo|
|00003740| 72 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |r this f|unction |
|00003750| 69 73 20 64 69 73 61 62 | 6c 65 64 2e 09 54 72 79 |is disab|led..Try|
|00003760| 20 61 6e 6f 74 68 65 72 | 20 66 75 6e 63 74 69 6f | another| functio|
|00003770| 6e 2e 0d 50 45 52 4d 28 | 73 75 62 73 65 74 2c 74 |n..PERM(|subset,t|
|00003780| 6f 74 61 6c 29 09 52 65 | 74 75 72 6e 73 20 74 68 |otal).Re|turns th|
|00003790| 65 20 23 20 6f 66 20 70 | 65 72 6d 75 74 61 74 69 |e # of p|ermutati|
|000037a0| 6f 6e 73 20 70 6f 73 73 | 69 62 6c 65 20 28 6f 72 |ons poss|ible (or|
|000037b0| 64 65 72 65 64 20 73 75 | 62 73 65 74 73 29 20 66 |dered su|bsets) f|
|000037c0| 72 6f 6d 20 61 20 67 69 | 76 65 6e 20 6e 75 6d 62 |rom a gi|ven numb|
|000037d0| 65 72 20 6f 66 20 74 6f | 74 61 6c 20 6f 62 6a 65 |er of to|tal obje|
|000037e0| 63 74 73 2e 09 50 45 52 | 4d 28 36 2c 36 29 20 3d |cts..PER|M(6,6) =|
|000037f0| 20 37 32 30 20 20 49 6e | 20 68 6f 77 20 6d 61 6e | 720 In| how man|
|00003800| 79 20 77 61 79 73 20 63 | 61 6e 20 36 20 62 6f 79 |y ways c|an 6 boy|
|00003810| 73 20 62 65 20 61 73 73 | 69 67 6e 65 64 20 74 6f |s be ass|igned to|
|00003820| 20 36 20 73 65 61 74 73 | 20 20 50 45 52 4d 28 36 | 6 seats| PERM(6|
|00003830| 2c 36 29 20 3d 20 37 32 | 30 20 77 61 79 73 2e 09 |,6) = 72|0 ways..|
|00003840| 0d 50 49 09 49 6e 20 74 | 68 69 73 20 64 65 6d 6f |.PI.In t|his demo|
|00003850| 6e 73 74 72 61 74 69 6f | 6e 20 76 65 72 73 69 6f |nstratio|n versio|
|00003860| 6e 20 6f 66 20 4f 6e 65 | 20 53 68 6f 74 2c 20 74 |n of One| Shot, t|
|00003870| 68 65 20 68 65 6c 70 20 | 66 6f 72 20 74 68 69 73 |he help |for this|
|00003880| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 64 69 73 | functio|n is dis|
|00003890| 61 62 6c 65 64 2e 09 54 | 72 79 20 61 6e 6f 74 68 |abled..T|ry anoth|
|000038a0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 50 4d 54 |er funct|ion..PMT|
|000038b0| 28 70 72 69 6e 2c 69 6e | 74 2c 74 65 72 6d 29 09 |(prin,in|t,term).|
|000038c0| 52 65 74 75 72 6e 73 20 | 74 68 65 20 70 65 72 69 |Returns |the peri|
|000038d0| 6f 64 69 63 20 70 61 79 | 6d 65 6e 74 20 72 65 71 |odic pay|ment req|
|000038e0| 75 69 72 65 64 20 74 6f | 20 70 61 79 20 6f 66 66 |uired to| pay off|
|000038f0| 20 61 20 6c 6f 61 6e 20 | 77 69 74 68 20 61 20 67 | a loan |with a g|
|00003900| 69 76 65 6e 20 69 6e 74 | 65 72 65 73 74 20 72 61 |iven int|erest ra|
|00003910| 74 65 20 70 65 72 20 70 | 65 72 69 6f 64 2c 20 74 |te per p|eriod, t|
|00003920| 68 72 6f 75 67 68 20 61 | 20 73 70 65 63 69 66 69 |hrough a| specifi|
|00003930| 65 64 20 6e 75 6d 62 65 | 72 20 6f 66 20 70 65 72 |ed numbe|r of per|
|00003940| 69 6f 64 73 2e 09 50 4d | 54 28 31 32 30 30 30 2c |iods..PM|T(12000,|
|00003950| 39 25 2f 31 32 2c 32 34 | 29 20 3d 20 35 34 38 2e |9%/12,24|) = 548.|
|00003960| 32 32 20 52 65 74 75 72 | 6e 73 20 74 68 65 20 70 |22 Retur|ns the p|
|00003970| 65 72 69 6f 64 69 63 20 | 70 61 79 6d 65 6e 74 20 |eriodic |payment |
|00003980| 6e 65 65 64 65 64 20 74 | 6f 20 70 61 79 20 6f 66 |needed t|o pay of|
|00003990| 20 61 20 24 31 32 30 30 | 30 20 6c 6f 61 6e 2c 20 | a $1200|0 loan, |
|000039a0| 61 74 20 61 6e 20 69 6e | 74 65 72 65 73 74 20 72 |at an in|terest r|
|000039b0| 61 74 65 20 6f 66 20 39 | 25 20 70 65 72 20 61 6e |ate of 9|% per an|
|000039c0| 6e 75 6d 2c 20 6f 76 65 | 72 20 61 20 32 34 20 6d |num, ove|r a 24 m|
|000039d0| 6f 6e 74 68 20 70 65 72 | 69 6f 64 2e 09 0d 50 4d |onth per|iod...PM|
|000039e0| 54 42 41 4c 28 70 72 69 | 6e 2c 69 6e 74 2c 74 65 |TBAL(pri|n,int,te|
|000039f0| 72 6d 2c 70 6d 74 5f 6e | 75 6d 29 09 49 6e 20 74 |rm,pmt_n|um).In t|
|00003a00| 68 69 73 20 64 65 6d 6f | 6e 73 74 72 61 74 69 6f |his demo|nstratio|
|00003a10| 6e 20 76 65 72 73 69 6f | 6e 20 6f 66 20 4f 6e 65 |n versio|n of One|
|00003a20| 20 53 68 6f 74 2c 20 74 | 68 65 20 68 65 6c 70 20 | Shot, t|he help |
|00003a30| 66 6f 72 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |for this| functio|
|00003a40| 6e 20 69 73 20 64 69 73 | 61 62 6c 65 64 2e 09 54 |n is dis|abled..T|
|00003a50| 72 79 20 61 6e 6f 74 68 | 65 72 20 66 75 6e 63 74 |ry anoth|er funct|
|00003a60| 69 6f 6e 2e 0d 50 4f 4c | 59 28 78 2c 63 30 2c 63 |ion..POL|Y(x,c0,c|
|00003a70| 31 2c 63 32 2c c9 29 09 | 52 65 74 75 72 6e 73 20 |1,c2,.).|Returns |
|00003a80| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 61 6e 79 |the valu|e of any|
|00003a90| 20 70 6f 6c 79 6e 6f 6d | 69 61 6c 20 77 68 65 72 | polynom|ial wher|
|00003aa0| 65 20 50 6f 6c 79 20 3d | 20 63 30 20 2b 20 63 31 |e Poly =| c0 + c1|
|00003ab0| 78 20 2b 20 63 32 78 5e | 32 20 2b 20 63 33 78 5e |x + c2x^|2 + c3x^|
|00003ac0| 33 20 c9 20 67 69 76 65 | 6e 20 61 6e 79 20 76 61 |3 . give|n any va|
|00003ad0| 6c 75 65 20 6f 66 20 78 | 2e 09 50 4f 4c 59 28 32 |lue of x|..POLY(2|
|00003ae0| 2c 31 2c 32 2c 33 29 20 | 3d 20 31 37 09 0d 50 4f |,1,2,3) |= 17..PO|
|00003af0| 53 50 56 41 4c 28 74 70 | 2c 66 70 2c 74 6e 2c 66 |SPVAL(tp|,fp,tn,f|
|00003b00| 6e 29 09 49 6e 20 74 68 | 69 73 20 64 65 6d 6f 6e |n).In th|is demon|
|00003b10| 73 74 72 61 74 69 6f 6e | 20 76 65 72 73 69 6f 6e |stration| version|
|00003b20| 20 6f 66 20 4f 6e 65 20 | 53 68 6f 74 2c 20 74 68 | of One |Shot, th|
|00003b30| 65 20 68 65 6c 70 20 66 | 6f 72 20 74 68 69 73 20 |e help f|or this |
|00003b40| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 64 69 73 61 |function| is disa|
|00003b50| 62 6c 65 64 2e 09 54 72 | 79 20 61 6e 6f 74 68 65 |bled..Tr|y anothe|
|00003b60| 72 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 50 50 4d 54 |r functi|on..PPMT|
|00003b70| 28 70 76 2c 69 6e 74 2c | 74 65 72 6d 2c 70 6d 74 |(pv,int,|term,pmt|
|00003b80| 5f 73 74 61 72 74 2c 5b | 70 6d 74 5f 65 6e 64 5d |_start,[|pmt_end]|
|00003b90| 29 09 52 65 74 75 72 6e | 73 20 74 68 65 20 61 63 |).Return|s the ac|
|00003ba0| 63 75 6d 75 6c 61 74 65 | 64 20 70 72 69 6e 63 69 |cumulate|d princi|
|00003bb0| 70 61 6c 20 70 6f 72 74 | 69 6f 6e 20 6f 66 20 74 |pal port|ion of t|
|00003bc0| 68 65 20 70 61 79 6d 65 | 6e 74 73 20 6d 61 64 65 |he payme|nts made|
|00003bd0| 20 69 6e 63 6c 75 73 69 | 76 65 6c 79 20 66 72 6f | inclusi|vely fro|
|00003be0| 6d 20 74 68 65 20 73 74 | 61 72 74 69 6e 67 20 74 |m the st|arting t|
|00003bf0| 6f 20 74 68 65 20 65 6e | 64 69 6e 67 20 6e 75 6d |o the en|ding num|
|00003c00| 62 65 72 20 6f 66 20 70 | 61 79 6d 65 6e 74 73 2e |ber of p|ayments.|
|00003c10| 20 20 45 78 63 6c 75 64 | 69 6e 67 20 74 68 65 20 | Exclud|ing the |
|00003c20| 65 6e 64 20 70 61 79 6d | 65 6e 74 20 6e 75 6d 62 |end paym|ent numb|
|00003c30| 65 72 20 5b 70 6d 74 5f | 65 6e 64 5d 20 72 65 74 |er [pmt_|end] ret|
|00003c40| 75 72 6e 73 20 74 68 65 | 20 70 72 69 6e 63 69 70 |urns the| princip|
|00003c50| 61 6c 20 70 6f 72 74 69 | 6f 6e 20 6f 66 20 74 68 |al porti|on of th|
|00003c60| 65 20 69 6e 64 69 63 61 | 74 65 64 20 70 61 79 6d |e indica|ted paym|
|00003c70| 65 6e 74 20 6e 75 6d 62 | 65 72 2e 09 50 50 4d 54 |ent numb|er..PPMT|
|00003c80| 28 33 30 30 30 30 2c 2e | 30 38 2f 31 32 2c 33 30 |(30000,.|08/12,30|
|00003c90| 2a 31 32 2c 30 2c 33 36 | 29 20 3d 20 24 38 31 35 |*12,0,36|) = $815|
|00003ca0| 2e 39 36 09 24 33 30 2c | 30 30 30 20 66 6f 72 20 |.96.$30,|000 for |
|00003cb0| 70 72 69 6e 63 69 70 61 | 6c 20 6f 76 65 72 20 33 |principa|l over 3|
|00003cc0| 30 20 79 65 61 72 73 20 | 61 74 20 38 25 20 69 6e |0 years |at 8% in|
|00003cd0| 74 65 72 65 73 74 20 69 | 6e 20 6d 6f 6e 74 68 6c |terest i|n monthl|
|00003ce0| 79 20 70 61 79 6d 65 6e | 74 73 20 77 69 74 68 20 |y paymen|ts with |
|00003cf0| 61 63 63 75 6d 75 6c 61 | 74 65 64 20 70 72 69 6e |accumula|ted prin|
|00003d00| 63 69 70 61 6c 20 73 74 | 61 72 74 69 6e 67 20 61 |cipal st|arting a|
|00003d10| 74 20 70 61 79 6d 65 6e | 74 20 30 20 74 6f 20 65 |t paymen|t 0 to e|
|00003d20| 6e 64 69 6e 67 20 70 61 | 79 6d 65 6e 74 20 33 36 |nding pa|yment 36|
|00003d30| 20 28 46 69 72 73 74 20 | 33 20 79 65 61 72 73 29 | (First |3 years)|
|00003d40| 09 4e 6f 74 65 3a 20 73 | 65 65 20 49 50 4d 54 0d |.Note: s|ee IPMT.|
|00003d50| 50 52 45 56 41 4c 28 74 | 70 2c 66 70 2c 74 6e 2c |PREVAL(t|p,fp,tn,|
|00003d60| 66 6e 29 09 49 6e 20 74 | 68 69 73 20 64 65 6d 6f |fn).In t|his demo|
|00003d70| 6e 73 74 72 61 74 69 6f | 6e 20 76 65 72 73 69 6f |nstratio|n versio|
|00003d80| 6e 20 6f 66 20 4f 6e 65 | 20 53 68 6f 74 2c 20 74 |n of One| Shot, t|
|00003d90| 68 65 20 68 65 6c 70 20 | 66 6f 72 20 74 68 69 73 |he help |for this|
|00003da0| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 64 69 73 | functio|n is dis|
|00003db0| 61 62 6c 65 64 2e 09 54 | 72 79 20 61 6e 6f 74 68 |abled..T|ry anoth|
|00003dc0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 50 52 4f |er funct|ion..PRO|
|00003dd0| 44 55 43 54 28 52 61 6e | 67 65 29 09 52 65 74 75 |DUCT(Ran|ge).Retu|
|00003de0| 72 6e 73 20 74 68 65 20 | 70 72 6f 64 75 63 74 20 |rns the |product |
|00003df0| 6f 72 20 73 75 6d 20 6f | 66 20 74 68 65 20 6d 75 |or sum o|f the mu|
|00003e00| 6c 74 69 70 6c 79 65 64 | 20 20 76 61 6c 75 65 73 |ltiplyed| values|
|00003e10| 20 69 6e 20 74 68 65 20 | 67 69 76 65 6e 20 52 61 | in the |given Ra|
|00003e20| 6e 67 65 2e 09 50 52 4f | 44 55 43 54 28 52 61 6e |nge..PRO|DUCT(Ran|
|00003e30| 67 65 29 20 3d 20 31 30 | 33 39 35 20 20 52 61 6e |ge) = 10|395 Ran|
|00003e40| 67 65 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 74 68 |ge conta|ining th|
|00003e50| 65 20 76 61 6c 75 65 73 | 20 33 2c 35 2c 37 2c 39 |e values| 3,5,7,9|
|00003e60| 2c 31 31 09 0d 50 52 4f | 50 45 52 28 74 78 74 29 |,11..PRO|PER(txt)|
|00003e70| 09 49 6e 20 74 68 69 73 | 20 64 65 6d 6f 6e 73 74 |.In this| demonst|
|00003e80| 72 61 74 69 6f 6e 20 76 | 65 72 73 69 6f 6e 20 6f |ration v|ersion o|
|00003e90| 66 20 4f 6e 65 20 53 68 | 6f 74 2c 20 74 68 65 20 |f One Sh|ot, the |
|00003ea0| 68 65 6c 70 20 66 6f 72 | 20 74 68 69 73 20 66 75 |help for| this fu|
|00003eb0| 6e 63 74 69 6f 6e 20 69 | 73 20 64 69 73 61 62 6c |nction i|s disabl|
|00003ec0| 65 64 2e 09 54 72 79 20 | 61 6e 6f 74 68 65 72 20 |ed..Try |another |
|00003ed0| 66 75 6e 63 74 69 6f 6e | 2e 0d 50 56 28 70 6d 74 |function|..PV(pmt|
|00003ee0| 2c 69 6e 74 2c 74 65 72 | 6d 29 09 52 65 74 75 72 |,int,ter|m).Retur|
|00003ef0| 6e 73 20 74 68 65 20 70 | 72 65 73 65 6e 74 20 76 |ns the p|resent v|
|00003f00| 61 6c 75 65 20 6f 66 20 | 61 6e 20 61 6e 6e 75 69 |alue of |an annui|
|00003f10| 74 79 20 69 6e 20 77 68 | 69 63 68 20 61 20 70 61 |ty in wh|ich a pa|
|00003f20| 79 6d 65 6e 74 20 69 73 | 20 6d 61 64 65 20 61 74 |yment is| made at|
|00003f30| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00003f40| 66 20 65 61 63 68 20 70 | 65 72 69 6f 64 2e 09 50 |f each p|eriod..P|
|00003f50| 56 28 35 30 2c 31 35 25 | 2f 31 32 2c 31 32 29 20 |V(50,15%|/12,12) |
|00003f60| 3d 20 24 35 35 33 2e 39 | 37 2e 09 0d 50 56 4c 28 |= $553.9|7...PVL(|
|00003f70| 66 76 2c 69 6e 74 2c 74 | 65 72 6d 29 09 49 6e 20 |fv,int,t|erm).In |
|00003f80| 74 68 69 73 20 64 65 6d | 6f 6e 73 74 72 61 74 69 |this dem|onstrati|
|00003f90| 6f 6e 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 4f 6e |on versi|on of On|
|00003fa0| 65 20 53 68 6f 74 2c 20 | 74 68 65 20 68 65 6c 70 |e Shot, |the help|
|00003fb0| 20 66 6f 72 20 74 68 69 | 73 20 66 75 6e 63 74 69 | for thi|s functi|
|00003fc0| 6f 6e 20 69 73 20 64 69 | 73 61 62 6c 65 64 2e 09 |on is di|sabled..|
|00003fd0| 54 72 79 20 61 6e 6f 74 | 68 65 72 20 66 75 6e 63 |Try anot|her func|
|00003fe0| 74 69 6f 6e 2e 0d 52 41 | 44 28 78 29 09 52 65 74 |tion..RA|D(x).Ret|
|00003ff0| 75 72 6e 73 20 74 68 65 | 20 67 69 76 65 6e 20 64 |urns the| given d|
|00004000| 65 67 72 65 65 20 61 6e | 67 6c 65 20 63 6f 6e 76 |egree an|gle conv|
|00004010| 65 72 74 65 64 20 74 6f | 20 72 61 64 69 61 6e 73 |erted to| radians|
|00004020| 2e 09 54 41 4e 28 52 41 | 44 28 34 35 29 29 20 3d |..TAN(RA|D(45)) =|
|00004030| 20 31 20 52 65 74 75 72 | 6e 73 20 74 68 65 20 74 | 1 Retur|ns the t|
|00004040| 61 6e 67 65 6e 74 20 6f | 66 20 74 68 65 20 72 61 |angent o|f the ra|
|00004050| 64 69 61 6e 20 76 61 6c | 75 65 20 6f 66 20 61 20 |dian val|ue of a |
|00004060| 34 35 a1 20 61 6e 67 6c | 65 2e 09 0d 52 41 4e 44 |45. angl|e...RAND|
|00004070| 09 49 6e 20 74 68 69 73 | 20 64 65 6d 6f 6e 73 74 |.In this| demonst|
|00004080| 72 61 74 69 6f 6e 20 76 | 65 72 73 69 6f 6e 20 6f |ration v|ersion o|
|00004090| 66 20 4f 6e 65 20 53 68 | 6f 74 2c 20 74 68 65 20 |f One Sh|ot, the |
|000040a0| 68 65 6c 70 20 66 6f 72 | 20 74 68 69 73 20 66 75 |help for| this fu|
|000040b0| 6e 63 74 69 6f 6e 20 69 | 73 20 64 69 73 61 62 6c |nction i|s disabl|
|000040c0| 65 64 2e 09 54 72 79 20 | 61 6e 6f 74 68 65 72 20 |ed..Try |another |
|000040d0| 66 75 6e 63 74 69 6f 6e | 2e 0d 52 41 54 45 28 66 |function|..RATE(f|
|000040e0| 76 2c 70 76 2c 74 65 72 | 6d 29 09 52 65 74 75 72 |v,pv,ter|m).Retur|
|000040f0| 6e 73 20 74 68 65 20 69 | 6e 74 65 72 65 73 74 20 |ns the i|nterest |
|00004100| 72 61 74 65 20 6f 6e 20 | 61 6e 20 61 6e 6e 75 69 |rate on |an annui|
|00004110| 74 79 2c 20 67 69 76 65 | 6e 20 74 68 65 20 61 6e |ty, give|n the an|
|00004120| 6e 75 69 74 79 d5 73 20 | 66 75 74 75 72 65 20 70 |nuity.s |future p|
|00004130| 72 69 6e 63 69 70 6c 65 | 2c 20 70 72 65 73 65 6e |rinciple|, presen|
|00004140| 74 20 70 72 69 6e 63 69 | 70 6c 65 2c 20 61 6e 64 |t princi|ple, and|
|00004150| 20 70 65 72 69 6f 64 2e | 09 52 41 54 45 28 32 30 | period.|.RATE(20|
|00004160| 30 37 2e 33 34 2c 31 35 | 30 30 2c 35 29 20 3d 20 |07.34,15|00,5) = |
|00004170| 30 2e 30 36 20 52 65 74 | 75 72 6e 73 20 74 68 65 |0.06 Ret|urns the|
|00004180| 20 61 6e 6e 75 61 6c 20 | 69 6e 74 65 72 65 73 74 | annual |interest|
|00004190| 20 72 61 74 65 20 77 68 | 65 6e 20 24 31 35 30 30 | rate wh|en $1500|
|000041a0| 20 69 73 20 69 6e 76 65 | 73 74 65 64 20 74 6f 64 | is inve|sted tod|
|000041b0| 61 79 2c 20 77 68 69 63 | 68 20 77 69 6c 6c 20 61 |ay, whic|h will a|
|000041c0| 6d 6f 75 6e 74 20 74 6f | 20 24 32 30 30 37 2e 33 |mount to| $2007.3|
|000041d0| 34 20 69 6e 20 35 20 79 | 65 61 72 73 2e 09 0d 52 |4 in 5 y|ears...R|
|000041e0| 45 50 45 41 54 28 74 78 | 74 2c 6e 5f 74 69 6d 65 |EPEAT(tx|t,n_time|
|000041f0| 73 29 09 49 6e 20 74 68 | 69 73 20 64 65 6d 6f 6e |s).In th|is demon|
|00004200| 73 74 72 61 74 69 6f 6e | 20 76 65 72 73 69 6f 6e |stration| version|
|00004210| 20 6f 66 20 4f 6e 65 20 | 53 68 6f 74 2c 20 74 68 | of One |Shot, th|
|00004220| 65 20 68 65 6c 70 20 66 | 6f 72 20 74 68 69 73 20 |e help f|or this |
|00004230| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 64 69 73 61 |function| is disa|
|00004240| 62 6c 65 64 2e 09 54 72 | 79 20 61 6e 6f 74 68 65 |bled..Tr|y anothe|
|00004250| 72 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 52 45 50 4c |r functi|on..REPL|
|00004260| 41 43 45 28 6f 72 69 67 | 5f 74 78 74 2c 70 6f 73 |ACE(orig|_txt,pos|
|00004270| 2c 6e 5f 63 68 61 72 73 | 2c 6e 65 77 5f 74 78 74 |,n_chars|,new_txt|
|00004280| 29 09 52 65 74 75 72 6e | 73 20 74 68 65 20 6f 72 |).Return|s the or|
|00004290| 69 67 69 6e 61 6c 20 74 | 65 78 74 20 77 69 74 68 |iginal t|ext with|
|000042a0| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 6e | the spe|cified n|
|000042b0| 75 6d 62 65 72 20 6f 66 | 20 63 68 61 72 61 63 74 |umber of| charact|
|000042c0| 65 72 73 20 61 74 20 74 | 68 65 20 64 65 73 69 67 |ers at t|he desig|
|000042d0| 6e 61 74 65 64 20 70 6f | 73 69 74 69 6f 6e 2c 20 |nated po|sition, |
|000042e0| 72 65 70 6c 61 63 65 64 | 20 62 79 20 74 68 65 20 |replaced| by the |
|000042f0| 6e 65 77 20 74 65 78 74 | 2e 09 52 45 50 4c 41 43 |new text|..REPLAC|
|00004300| 45 28 22 47 72 61 6e 64 | 6d 61 22 2c 36 2c 32 2c |E("Grand|ma",6,2,|
|00004310| 22 70 61 22 29 20 3d 20 | 22 47 72 61 6e 64 70 61 |"pa") = |"Grandpa|
|00004320| 22 20 52 65 74 75 72 6e | 73 20 74 68 65 20 74 65 |" Return|s the te|
|00004330| 78 74 20 22 47 72 61 6e | 64 6d 61 22 20 77 69 74 |xt "Gran|dma" wit|
|00004340| 68 20 74 77 6f 20 63 68 | 61 72 61 63 74 65 72 73 |h two ch|aracters|
|00004350| 20 61 74 20 70 6f 73 69 | 74 69 6f 6e 20 73 69 78 | at posi|tion six|
|00004360| 20 72 65 70 6c 61 63 65 | 64 20 77 69 74 68 20 22 | replace|d with "|
|00004370| 70 61 22 2e 09 0d 52 49 | 47 48 54 28 74 78 74 2c |pa"...RI|GHT(txt,|
|00004380| 6e 5f 63 68 61 72 73 29 | 09 49 6e 20 74 68 69 73 |n_chars)|.In this|
|00004390| 20 64 65 6d 6f 6e 73 74 | 72 61 74 69 6f 6e 20 76 | demonst|ration v|
|000043a0| 65 72 73 69 6f 6e 20 6f | 66 20 4f 6e 65 20 53 68 |ersion o|f One Sh|
|000043b0| 6f 74 2c 20 74 68 65 20 | 68 65 6c 70 20 66 6f 72 |ot, the |help for|
|000043c0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 | this fu|nction i|
|000043d0| 73 20 64 69 73 61 62 6c | 65 64 2e 09 54 72 79 20 |s disabl|ed..Try |
|000043e0| 61 6e 6f 74 68 65 72 20 | 66 75 6e 63 74 69 6f 6e |another |function|
|000043f0| 2e 0d 52 4f 55 4e 44 28 | 78 2c 6e 5f 64 65 63 73 |..ROUND(|x,n_decs|
|00004400| 29 09 52 6f 75 6e 64 73 | 20 74 68 65 20 67 69 76 |).Rounds| the giv|
|00004410| 65 6e 20 76 61 6c 75 65 | 20 74 6f 20 61 20 73 70 |en value| to a sp|
|00004420| 65 63 69 66 69 65 64 20 | 6e 75 6d 62 65 72 20 6f |ecified |number o|
|00004430| 66 20 64 65 63 69 6d 61 | 6c 20 70 6c 61 63 65 73 |f decima|l places|
|00004440| 2e 09 52 4f 55 4e 44 28 | 35 33 37 2e 32 34 2c 2d |..ROUND(|537.24,-|
|00004450| 32 29 20 3d 20 35 30 30 | 2e 30 30 20 52 6f 75 6e |2) = 500|.00 Roun|
|00004460| 64 73 20 35 33 37 2e 32 | 34 20 74 6f 20 74 68 65 |ds 537.2|4 to the|
|00004470| 20 6e 65 61 72 65 73 74 | 20 68 75 6e 64 72 65 64 | nearest| hundred|
|00004480| 73 2e 09 0d 52 4f 57 28 | 72 6f 77 5f 6e 75 6d 2c |s...ROW(|row_num,|
|00004490| 52 61 6e 67 65 29 09 49 | 6e 20 74 68 69 73 20 64 |Range).I|n this d|
|000044a0| 65 6d 6f 6e 73 74 72 61 | 74 69 6f 6e 20 76 65 72 |emonstra|tion ver|
|000044b0| 73 69 6f 6e 20 6f 66 20 | 4f 6e 65 20 53 68 6f 74 |sion of |One Shot|
|000044c0| 2c 20 74 68 65 20 68 65 | 6c 70 20 66 6f 72 20 74 |, the he|lp for t|
|000044d0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|000044e0| 64 69 73 61 62 6c 65 64 | 2e 09 54 72 79 20 61 6e |disabled|..Try an|
|000044f0| 6f 74 68 65 72 20 66 75 | 6e 63 74 69 6f 6e 2e 0d |other fu|nction..|
|00004500| 53 45 43 28 78 29 09 52 | 65 74 75 72 6e 73 20 74 |SEC(x).R|eturns t|
|00004510| 68 65 20 73 65 63 61 6e | 74 20 6f 66 20 61 20 67 |he secan|t of a g|
|00004520| 69 76 65 6e 20 72 61 64 | 69 61 6e 20 61 6e 67 6c |iven rad|ian angl|
|00004530| 65 2e 09 53 45 43 28 31 | 2e 30 29 20 3d 20 31 2e |e..SEC(1|.0) = 1.|
|00004540| 38 35 30 38 20 20 52 65 | 74 75 72 6e 73 20 74 68 |8508 Re|turns th|
|00004550| 65 20 73 65 63 61 6e 74 | 20 6f 66 20 61 20 31 2e |e secant| of a 1.|
|00004560| 30 20 72 61 64 69 61 6e | 20 61 6e 67 6c 65 2e 09 |0 radian| angle..|
|00004570| 0d 53 45 43 48 28 78 29 | 09 49 6e 20 74 68 69 73 |.SECH(x)|.In this|
|00004580| 20 64 65 6d 6f 6e 73 74 | 72 61 74 69 6f 6e 20 76 | demonst|ration v|
|00004590| 65 72 73 69 6f 6e 20 6f | 66 20 4f 6e 65 20 53 68 |ersion o|f One Sh|
|000045a0| 6f 74 2c 20 74 68 65 20 | 68 65 6c 70 20 66 6f 72 |ot, the |help for|
|000045b0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 | this fu|nction i|
|000045c0| 73 20 64 69 73 61 62 6c | 65 64 2e 09 54 72 79 20 |s disabl|ed..Try |
|000045d0| 61 6e 6f 74 68 65 72 20 | 66 75 6e 63 74 69 6f 6e |another |function|
|000045e0| 2e 0d 53 45 4e 53 28 74 | 70 2c 66 70 2c 74 6e 2c |..SENS(t|p,fp,tn,|
|000045f0| 66 6e 29 09 52 65 74 75 | 72 6e 73 20 73 65 6e 73 |fn).Retu|rns sens|
|00004600| 69 74 69 76 69 74 79 20 | 6f 66 20 74 65 73 74 20 |itivity |of test |
|00004610| 67 69 76 65 6e 20 74 72 | 75 65 20 70 6f 73 69 74 |given tr|ue posit|
|00004620| 69 76 65 20 72 65 73 75 | 6c 74 73 20 6f 76 65 72 |ive resu|lts over|
|00004630| 20 61 6c 6c 20 70 6f 73 | 69 74 69 76 65 73 2e 09 | all pos|itives..|
|00004640| 53 45 4e 53 20 3d 20 28 | 74 70 2f 28 74 70 2b 66 |SENS = (|tp/(tp+f|
|00004650| 6e 29 29 2a 31 30 30 09 | 0d 53 49 47 4e 28 78 29 |n))*100.|.SIGN(x)|
|00004660| 09 49 6e 20 74 68 69 73 | 20 64 65 6d 6f 6e 73 74 |.In this| demonst|
|00004670| 72 61 74 69 6f 6e 20 76 | 65 72 73 69 6f 6e 20 6f |ration v|ersion o|
|00004680| 66 20 4f 6e 65 20 53 68 | 6f 74 2c 20 74 68 65 20 |f One Sh|ot, the |
|00004690| 68 65 6c 70 20 66 6f 72 | 20 74 68 69 73 20 66 75 |help for| this fu|
|000046a0| 6e 63 74 69 6f 6e 20 69 | 73 20 64 69 73 61 62 6c |nction i|s disabl|
|000046b0| 65 64 2e 09 54 72 79 20 | 61 6e 6f 74 68 65 72 20 |ed..Try |another |
|000046c0| 66 75 6e 63 74 69 6f 6e | 2e 0d 53 49 4e 28 78 29 |function|..SIN(x)|
|000046d0| 09 52 65 74 75 72 6e 73 | 20 74 68 65 20 73 69 6e |.Returns| the sin|
|000046e0| 65 20 28 72 61 74 69 6f | 20 6f 66 20 74 68 65 20 |e (ratio| of the |
|000046f0| 6c 65 6e 67 74 68 20 6f | 66 20 74 68 65 20 6f 70 |length o|f the op|
|00004700| 70 6f 73 69 74 65 20 73 | 69 64 65 20 6f 76 65 72 |posite s|ide over|
|00004710| 20 74 68 65 20 68 79 70 | 6f 74 65 6e 75 73 65 29 | the hyp|otenuse)|
|00004720| 20 6f 66 20 61 20 67 69 | 76 65 6e 20 72 61 64 69 | of a gi|ven radi|
|00004730| 61 6e 20 61 6e 67 6c 65 | 2e 09 53 49 4e 28 31 2e |an angle|..SIN(1.|
|00004740| 30 29 20 3d 20 30 2e 38 | 34 31 35 20 20 52 65 74 |0) = 0.8|415 Ret|
|00004750| 75 72 6e 73 20 74 68 65 | 20 73 69 6e 65 20 6f 66 |urns the| sine of|
|00004760| 20 61 20 31 2e 30 20 72 | 61 64 69 61 6e 20 61 6e | a 1.0 r|adian an|
|00004770| 67 6c 65 2e 20 20 54 6f | 20 63 6f 6e 76 65 72 74 |gle. To| convert|
|00004780| 20 74 68 65 20 65 6e 74 | 72 79 20 76 61 6c 75 65 | the ent|ry value|
|00004790| 20 74 6f 20 64 65 67 72 | 65 65 73 20 75 73 65 20 | to degr|ees use |
|000047a0| 74 68 65 20 72 61 64 69 | 61 6e 20 63 6f 6e 76 65 |the radi|an conve|
|000047b0| 72 73 69 6f 6e 20 66 75 | 6e 63 74 69 6f 6e 20 53 |rsion fu|nction S|
|000047c0| 49 4e 28 52 41 44 28 78 | 5f 64 65 67 73 29 29 09 |IN(RAD(x|_degs)).|
|000047d0| 69 65 2e 20 53 49 4e 28 | 52 41 44 28 39 30 29 29 |ie. SIN(|RAD(90))|
|000047e0| 20 3d 20 31 20 61 6e 64 | 20 74 6f 20 63 6f 6e 76 | = 1 and| to conv|
|000047f0| 65 72 74 20 66 72 6f 6d | 20 72 61 64 69 61 6e 73 |ert from| radians|
|00004800| 20 74 6f 20 64 65 67 72 | 65 65 73 20 74 68 65 20 | to degr|ees the |
|00004810| 64 65 67 72 65 65 20 63 | 6f 6e 76 65 72 73 69 6f |degree c|onversio|
|00004820| 6e 20 66 75 6e 63 74 69 | 6f 6e 20 44 45 47 28 41 |n functi|on DEG(A|
|00004830| 53 49 4e 28 31 29 29 20 | 3d 20 39 30 0d 53 49 4e |SIN(1)) |= 90.SIN|
|00004840| 48 28 78 29 09 49 6e 20 | 74 68 69 73 20 64 65 6d |H(x).In |this dem|
|00004850| 6f 6e 73 74 72 61 74 69 | 6f 6e 20 76 65 72 73 69 |onstrati|on versi|
|00004860| 6f 6e 20 6f 66 20 4f 6e | 65 20 53 68 6f 74 2c 20 |on of On|e Shot, |
|00004870| 74 68 65 20 68 65 6c 70 | 20 66 6f 72 20 74 68 69 |the help| for thi|
|00004880| 73 20 66 75 6e 63 74 69 | 6f 6e 20 69 73 20 64 69 |s functi|on is di|
|00004890| 73 61 62 6c 65 64 2e 09 | 54 72 79 20 61 6e 6f 74 |sabled..|Try anot|
|000048a0| 68 65 72 20 66 75 6e 63 | 74 69 6f 6e 2e 0d 53 4c |her func|tion..SL|
|000048b0| 4e 28 63 6f 73 74 2c 73 | 61 6c 76 61 67 65 2c 74 |N(cost,s|alvage,t|
|000048c0| 65 72 6d 2c 70 65 72 69 | 6f 64 29 09 52 65 74 75 |erm,peri|od).Retu|
|000048d0| 72 6e 73 20 74 68 65 20 | 64 65 70 72 65 63 69 61 |rns the |deprecia|
|000048e0| 74 69 6f 6e 20 6f 66 20 | 61 6e 20 61 73 73 65 74 |tion of |an asset|
|000048f0| 20 66 6f 72 20 61 20 73 | 70 65 63 69 66 69 65 64 | for a s|pecified|
|00004900| 20 70 65 72 69 6f 64 2c | 20 62 61 73 65 64 20 6f | period,| based o|
|00004910| 6e 20 74 68 65 20 61 73 | 73 65 74 d5 73 20 63 6f |n the as|set.s co|
|00004920| 73 74 2c 20 73 61 6c 76 | 61 67 65 2c 20 61 6e 64 |st, salv|age, and|
|00004930| 20 75 73 65 66 75 6c 20 | 74 65 72 6d 2c 20 75 73 | useful |term, us|
|00004940| 69 6e 67 20 74 68 65 20 | 73 74 72 61 69 67 68 74 |ing the |straight|
|00004950| 20 6c 69 6e 65 20 6d 65 | 74 68 6f 64 2e 09 53 4c | line me|thod..SL|
|00004960| 4e 28 33 30 30 30 30 2c | 37 35 30 30 2c 31 30 2c |N(30000,|7500,10,|
|00004970| 31 29 20 3d 20 32 32 35 | 30 20 52 65 74 75 72 6e |1) = 225|0 Return|
|00004980| 73 20 74 68 65 20 64 65 | 70 72 65 63 69 61 74 69 |s the de|preciati|
|00004990| 6f 6e 20 76 61 6c 75 65 | 20 64 75 72 69 6e 67 20 |on value| during |
|000049a0| 61 6e 79 20 70 65 72 69 | 6f 64 20 6f 66 20 61 6e |any peri|od of an|
|000049b0| 20 69 74 65 6d d5 73 20 | 74 65 6e 20 79 65 61 72 | item.s |ten year|
|000049c0| 20 6c 69 66 65 20 77 68 | 69 63 68 20 68 61 73 20 | life wh|ich has |
|000049d0| 61 20 63 6f 73 74 20 6f | 66 20 24 33 30 2c 30 30 |a cost o|f $30,00|
|000049e0| 30 20 61 6e 64 20 61 20 | 73 61 6c 76 61 67 65 20 |0 and a |salvage |
|000049f0| 76 61 6c 75 65 20 6f 66 | 20 24 37 35 30 30 2e 09 |value of| $7500..|
|00004a00| 0d 53 50 45 43 28 74 70 | 2c 66 70 2c 74 6e 2c 66 |.SPEC(tp|,fp,tn,f|
|00004a10| 6e 29 09 49 6e 20 74 68 | 69 73 20 64 65 6d 6f 6e |n).In th|is demon|
|00004a20| 73 74 72 61 74 69 6f 6e | 20 76 65 72 73 69 6f 6e |stration| version|
|00004a30| 20 6f 66 20 4f 6e 65 20 | 53 68 6f 74 2c 20 74 68 | of One |Shot, th|
|00004a40| 65 20 68 65 6c 70 20 66 | 6f 72 20 74 68 69 73 20 |e help f|or this |
|00004a50| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 64 69 73 61 |function| is disa|
|00004a60| 62 6c 65 64 2e 09 54 72 | 79 20 61 6e 6f 74 68 65 |bled..Tr|y anothe|
|00004a70| 72 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 53 51 52 28 |r functi|on..SQR(|
|00004a80| 78 29 09 52 65 74 75 72 | 6e 73 20 74 68 65 20 73 |x).Retur|ns the s|
|00004a90| 71 75 61 72 65 20 6f 66 | 20 74 68 65 20 67 69 76 |quare of| the giv|
|00004aa0| 65 6e 20 76 61 6c 75 65 | 2e 09 53 51 52 28 32 37 |en value|..SQR(27|
|00004ab0| 29 20 3d 20 37 32 39 20 | 52 65 74 75 72 6e 73 20 |) = 729 |Returns |
|00004ac0| 74 68 65 20 73 71 75 61 | 72 65 20 6f 66 20 32 37 |the squa|re of 27|
|00004ad0| 2e 09 0d 53 51 52 53 55 | 4d 28 52 61 6e 67 65 29 |...SQRSU|M(Range)|
|00004ae0| 09 49 6e 20 74 68 69 73 | 20 64 65 6d 6f 6e 73 74 |.In this| demonst|
|00004af0| 72 61 74 69 6f 6e 20 76 | 65 72 73 69 6f 6e 20 6f |ration v|ersion o|
|00004b00| 66 20 4f 6e 65 20 53 68 | 6f 74 2c 20 74 68 65 20 |f One Sh|ot, the |
|00004b10| 68 65 6c 70 20 66 6f 72 | 20 74 68 69 73 20 66 75 |help for| this fu|
|00004b20| 6e 63 74 69 6f 6e 20 69 | 73 20 64 69 73 61 62 6c |nction i|s disabl|
|00004b30| 65 64 2e 09 54 72 79 20 | 61 6e 6f 74 68 65 72 20 |ed..Try |another |
|00004b40| 66 75 6e 63 74 69 6f 6e | 2e 0d 53 51 52 54 28 78 |function|..SQRT(x|
|00004b50| 29 09 52 65 74 75 72 6e | 73 20 74 68 65 20 73 71 |).Return|s the sq|
|00004b60| 75 61 72 65 20 72 6f 6f | 74 20 6f 66 20 74 68 65 |uare roo|t of the|
|00004b70| 20 67 69 76 65 6e 20 76 | 61 6c 75 65 2e 09 53 51 | given v|alue..SQ|
|00004b80| 52 54 28 37 32 39 29 20 | 3d 20 32 37 20 52 65 74 |RT(729) |= 27 Ret|
|00004b90| 75 72 6e 73 20 74 68 65 | 20 73 71 75 61 72 65 20 |urns the| square |
|00004ba0| 72 6f 6f 74 20 6f 66 20 | 37 32 39 2e 09 0d 53 54 |root of |729...ST|
|00004bb0| 41 52 54 53 28 74 78 74 | 2c 77 69 74 68 5f 74 78 |ARTS(txt|,with_tx|
|00004bc0| 74 29 09 49 6e 20 74 68 | 69 73 20 64 65 6d 6f 6e |t).In th|is demon|
|00004bd0| 73 74 72 61 74 69 6f 6e | 20 76 65 72 73 69 6f 6e |stration| version|
|00004be0| 20 6f 66 20 4f 6e 65 20 | 53 68 6f 74 2c 20 74 68 | of One |Shot, th|
|00004bf0| 65 20 68 65 6c 70 20 66 | 6f 72 20 74 68 69 73 20 |e help f|or this |
|00004c00| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 64 69 73 61 |function| is disa|
|00004c10| 62 6c 65 64 2e 09 54 72 | 79 20 61 6e 6f 74 68 65 |bled..Tr|y anothe|
|00004c20| 72 20 66 75 6e 63 74 69 | 6f 6e 2e 0d 53 54 44 45 |r functi|on..STDE|
|00004c30| 56 28 52 61 6e 67 65 29 | 09 52 65 74 75 72 6e 73 |V(Range)|.Returns|
|00004c40| 20 74 68 65 20 73 61 6d | 70 6c 65 20 73 74 61 6e | the sam|ple stan|
|00004c50| 64 61 72 64 20 64 65 76 | 69 61 74 69 6f 6e 20 6f |dard dev|iation o|
|00004c60| 66 20 74 68 65 20 6e 75 | 6d 65 72 69 63 20 76 61 |f the nu|meric va|
|00004c70| 6c 75 65 73 20 69 6e 20 | 52 61 6e 67 65 2e 09 53 |lues in |Range..S|
|00004c80| 54 44 45 56 28 52 61 6e | 67 65 29 20 3d 20 39 2e |TDEV(Ran|ge) = 9.|
|00004c90| 34 36 30 20 20 52 61 6e | 67 65 20 63 6f 6e 74 61 |460 Ran|ge conta|
|00004ca0| 69 6e 69 6e 67 20 74 68 | 65 20 76 61 6c 75 65 73 |ining th|e values|
|00004cb0| 20 31 30 2c 37 2c 39 2c | 32 37 2c 32 20 20 09 0d | 10,7,9,|27,2 ..|
|00004cc0| 53 54 44 45 56 50 28 52 | 61 6e 67 65 29 09 49 6e |STDEVP(R|ange).In|
|00004cd0| 20 74 68 69 73 20 64 65 | 6d 6f 6e 73 74 72 61 74 | this de|monstrat|
|00004ce0| 69 6f 6e 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 4f |ion vers|ion of O|
|00004cf0| 6e 65 20 53 68 6f 74 2c | 20 74 68 65 20 68 65 6c |ne Shot,| the hel|
|00004d00| 70 20 66 6f 72 20 74 68 | 69 73 20 66 75 6e 63 74 |p for th|is funct|
|00004d10| 69 6f 6e 20 69 73 20 64 | 69 73 61 62 6c 65 64 2e |ion is d|isabled.|
|00004d20| 09 54 72 79 20 61 6e 6f | 74 68 65 72 20 66 75 6e |.Try ano|ther fun|
|00004d30| 63 74 69 6f 6e 2e 0d 53 | 55 4d 28 52 61 6e 67 65 |ction..S|UM(Range|
|00004d40| 29 09 52 65 74 75 72 6e | 73 20 74 68 65 20 73 75 |).Return|s the su|
|00004d50| 6d 20 6f 66 20 74 68 65 | 20 76 61 6c 75 65 73 20 |m of the| values |
|00004d60| 69 6e 20 52 61 6e 67 65 | 2e 20 4f 6e 6c 79 20 63 |in Range|. Only c|
|00004d70| 65 6c 6c 73 20 74 68 61 | 74 20 68 61 76 65 20 6e |ells tha|t have n|
|00004d80| 75 6d 62 65 72 20 76 61 | 6c 75 65 73 20 61 72 65 |umber va|lues are|
|00004d90| 20 61 64 64 65 64 20 61 | 6e 64 20 63 6f 75 6e 74 | added a|nd count|
|00004da0| 65 64 2e 09 53 55 4d 20 | 28 52 61 6e 67 65 29 20 |ed..SUM |(Range) |
|00004db0| 3d 20 36 20 20 52 61 6e | 67 65 20 76 61 6c 75 65 |= 6 Ran|ge value|
|00004dc0| 73 20 3d 20 31 2c 20 32 | 2c 20 33 20 20 20 20 09 |s = 1, 2|, 3 .|
|00004dd0| 0d 53 59 44 28 63 6f 73 | 74 2c 73 61 6c 76 61 67 |.SYD(cos|t,salvag|
|00004de0| 65 2c 74 65 72 6d 2c 70 | 65 72 69 6f 64 29 09 49 |e,term,p|eriod).I|
|00004df0| 6e 20 74 68 69 73 20 64 | 65 6d 6f 6e 73 74 72 61 |n this d|emonstra|
|00004e00| 74 69 6f 6e 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |tion ver|sion of |
|00004e10| 4f 6e 65 20 53 68 6f 74 | 2c 20 74 68 65 20 68 65 |One Shot|, the he|
|00004e20| 6c 70 20 66 6f 72 20 74 | 68 69 73 20 66 75 6e 63 |lp for t|his func|
|00004e30| 74 69 6f 6e 20 69 73 20 | 64 69 73 61 62 6c 65 64 |tion is |disabled|
|00004e40| 2e 09 54 72 79 20 61 6e | 6f 74 68 65 72 20 66 75 |..Try an|other fu|
|00004e50| 6e 63 74 69 6f 6e 2e 0d | 54 41 4e 28 78 29 09 52 |nction..|TAN(x).R|
|00004e60| 65 74 75 72 6e 73 20 74 | 68 65 20 74 61 6e 67 65 |eturns t|he tange|
|00004e70| 6e 74 20 28 72 61 74 69 | 6f 20 6f 66 20 74 68 65 |nt (rati|o of the|
|00004e80| 20 6c 65 6e 67 74 68 20 | 6f 66 20 74 68 65 20 6f | length |of the o|
|00004e90| 70 70 6f 73 69 74 65 20 | 73 69 64 65 20 6f 76 65 |pposite |side ove|
|00004ea0| 72 20 74 68 65 20 61 64 | 6a 61 63 65 6e 74 20 73 |r the ad|jacent s|
|00004eb0| 69 64 65 29 20 6f 66 20 | 61 20 67 69 76 65 6e 20 |ide) of |a given |
|00004ec0| 72 61 64 69 61 6e 20 61 | 6e 67 6c 65 2e 09 54 41 |radian a|ngle..TA|
|00004ed0| 4e 28 31 2e 30 29 20 3d | 20 31 2e 35 35 37 34 20 |N(1.0) =| 1.5574 |
|00004ee0| 20 52 65 74 75 72 6e 73 | 20 74 68 65 20 74 61 6e | Returns| the tan|
|00004ef0| 67 65 6e 74 20 6f 66 20 | 61 20 31 2e 30 20 72 61 |gent of |a 1.0 ra|
|00004f00| 64 69 61 6e 20 61 6e 67 | 6c 65 2e 09 54 6f 20 63 |dian ang|le..To c|
|00004f10| 6f 6e 76 65 72 74 20 74 | 68 65 20 65 6e 74 72 79 |onvert t|he entry|
|00004f20| 20 76 61 6c 75 65 20 74 | 6f 20 64 65 67 72 65 65 | value t|o degree|
|00004f30| 73 20 75 73 65 20 74 68 | 65 20 72 61 64 69 61 6e |s use th|e radian|
|00004f40| 20 63 6f 6e 76 65 72 73 | 69 6f 6e 20 66 75 6e 63 | convers|ion func|
|00004f50| 74 69 6f 6e 20 54 41 4e | 28 52 41 44 28 78 5f 64 |tion TAN|(RAD(x_d|
|00004f60| 65 67 73 29 29 20 69 65 | 2e 20 54 41 4e 28 52 41 |egs)) ie|. TAN(RA|
|00004f70| 44 28 34 35 29 29 20 3d | 20 31 20 61 6e 64 20 74 |D(45)) =| 1 and t|
|00004f80| 6f 20 63 6f 6e 76 65 72 | 74 20 66 72 6f 6d 20 72 |o conver|t from r|
|00004f90| 61 64 69 61 6e 73 20 74 | 6f 20 64 65 67 72 65 65 |adians t|o degree|
|00004fa0| 73 20 74 68 65 20 64 65 | 67 72 65 65 20 63 6f 6e |s the de|gree con|
|00004fb0| 76 65 72 73 69 6f 6e 20 | 66 75 6e 63 74 69 6f 6e |version |function|
|00004fc0| 20 44 45 47 28 41 54 41 | 4e 28 31 29 29 20 3d 20 | DEG(ATA|N(1)) = |
|00004fd0| 34 35 0d 54 41 4e 48 28 | 78 29 09 49 6e 20 74 68 |45.TANH(|x).In th|
|00004fe0| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00004ff0| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|00005000| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|00005010| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|00005020| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|00005030| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|00005040| 6f 6e 2e 0d 54 45 52 4d | 28 70 6d 74 2c 69 6e 74 |on..TERM|(pmt,int|
|00005050| 2c 66 75 74 5f 70 72 69 | 6e 29 09 52 65 74 75 72 |,fut_pri|n).Retur|
|00005060| 6e 73 20 74 68 65 20 74 | 65 72 6d 20 72 65 71 75 |ns the t|erm requ|
|00005070| 69 72 65 64 20 66 6f 72 | 20 61 20 73 70 65 63 69 |ired for| a speci|
|00005080| 66 69 65 64 20 70 61 79 | 6d 65 6e 74 2c 20 62 61 |fied pay|ment, ba|
|00005090| 73 65 64 20 6f 6e 20 61 | 20 67 69 76 65 6e 20 69 |sed on a| given i|
|000050a0| 6e 74 65 72 65 73 74 2c | 20 74 6f 20 72 65 61 63 |nterest,| to reac|
|000050b0| 68 20 61 20 66 75 74 75 | 72 65 20 70 72 69 6e 63 |h a futu|re princ|
|000050c0| 69 70 6c 65 2e 09 54 45 | 52 4d 28 37 30 30 2c 31 |iple..TE|RM(700,1|
|000050d0| 30 25 2c 32 35 30 30 30 | 29 20 3d 20 31 35 2e 39 |0%,25000|) = 15.9|
|000050e0| 34 36 31 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |461 Retu|rns the |
|000050f0| 6e 75 6d 62 65 72 20 6f | 66 20 70 65 72 69 6f 64 |number o|f period|
|00005100| 73 20 72 65 71 75 69 72 | 65 64 20 74 6f 20 61 63 |s requir|ed to ac|
|00005110| 63 75 6d 75 6c 61 74 65 | 20 24 32 35 2c 30 30 30 |cumulate| $25,000|
|00005120| 20 77 68 65 6e 20 61 20 | 70 61 79 6d 65 6e 74 20 | when a |payment |
|00005130| 6f 66 20 24 37 30 30 20 | 70 65 72 20 70 65 72 69 |of $700 |per peri|
|00005140| 6f 64 20 69 73 20 6d 61 | 64 65 20 77 69 74 68 20 |od is ma|de with |
|00005150| 61 6e 20 69 6e 74 65 72 | 65 73 74 20 72 61 74 65 |an inter|est rate|
|00005160| 20 6f 66 20 31 30 25 20 | 70 65 72 20 70 65 72 69 | of 10% |per peri|
|00005170| 6f 64 2e 09 0d 54 4f 44 | 41 59 09 49 6e 20 74 68 |od...TOD|AY.In th|
|00005180| 69 73 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |is demon|stration|
|00005190| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 6e 65 20 | version| of One |
|000051a0| 53 68 6f 74 2c 20 74 68 | 65 20 68 65 6c 70 20 66 |Shot, th|e help f|
|000051b0| 6f 72 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |or this |function|
|000051c0| 20 69 73 20 64 69 73 61 | 62 6c 65 64 2e 09 54 72 | is disa|bled..Tr|
|000051d0| 79 20 61 6e 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |y anothe|r functi|
|000051e0| 6f 6e 2e 0d 54 52 49 4d | 28 74 78 74 29 09 52 65 |on..TRIM|(txt).Re|
|000051f0| 74 75 72 6e 73 20 74 68 | 65 20 67 69 76 65 6e 20 |turns th|e given |
|00005200| 74 65 78 74 20 77 69 74 | 68 20 61 6e 79 20 65 78 |text wit|h any ex|
|00005210| 74 72 61 20 73 70 61 63 | 65 73 20 72 65 6d 6f 76 |tra spac|es remov|
|00005220| 65 64 2e 09 54 52 49 4d | 28 22 20 20 20 20 41 2e |ed..TRIM|(" A.|
|00005230| 20 20 20 20 20 20 20 20 | 20 4c 69 6e 63 6f 6c 6e | | Lincoln|
|00005240| 22 29 20 3d 20 22 41 2e | 20 4c 69 6e 63 6f 6c 6e |") = "A.| Lincoln|
|00005250| 22 20 52 65 74 75 72 6e | 73 20 74 68 65 20 74 65 |" Return|s the te|
|00005260| 78 74 20 22 20 20 20 20 | 41 2e 20 20 20 20 20 20 |xt " |A. |
|00005270| 20 20 20 4c 69 6e 63 6f | 6c 6e 22 20 77 69 74 68 | Linco|ln" with|
|00005280| 20 61 6c 6c 20 65 78 74 | 72 61 20 73 70 61 63 65 | all ext|ra space|
|00005290| 73 20 72 65 6d 6f 76 65 | 64 2e 09 0d 54 52 55 45 |s remove|d...TRUE|
|000052a0| 09 49 6e 20 74 68 69 73 | 20 64 65 6d 6f 6e 73 74 |.In this| demonst|
|000052b0| 72 61 74 69 6f 6e 20 76 | 65 72 73 69 6f 6e 20 6f |ration v|ersion o|
|000052c0| 66 20 4f 6e 65 20 53 68 | 6f 74 2c 20 74 68 65 20 |f One Sh|ot, the |
|000052d0| 68 65 6c 70 20 66 6f 72 | 20 74 68 69 73 20 66 75 |help for| this fu|
|000052e0| 6e 63 74 69 6f 6e 20 69 | 73 20 64 69 73 61 62 6c |nction i|s disabl|
|000052f0| 65 64 2e 09 54 72 79 20 | 61 6e 6f 74 68 65 72 20 |ed..Try |another |
|00005300| 66 75 6e 63 74 69 6f 6e | 2e 0d 55 50 50 45 52 28 |function|..UPPER(|
|00005310| 74 78 74 29 09 52 65 74 | 75 72 6e 73 20 74 68 65 |txt).Ret|urns the|
|00005320| 20 67 69 76 65 6e 20 74 | 65 78 74 20 77 69 74 68 | given t|ext with|
|00005330| 20 61 6c 6c 20 63 68 61 | 72 61 63 74 65 72 73 20 | all cha|racters |
|00005340| 63 61 70 69 74 61 6c 69 | 7a 65 64 2e 09 55 50 50 |capitali|zed..UPP|
|00005350| 45 52 28 22 4e 6f 77 20 | 69 73 20 74 68 65 20 74 |ER("Now |is the t|
|00005360| 69 6d 65 22 29 20 3d 20 | 22 4e 4f 57 20 49 53 20 |ime") = |"NOW IS |
|00005370| 54 48 45 20 54 49 4d 45 | 22 20 52 65 74 75 72 6e |THE TIME|" Return|
|00005380| 73 20 74 68 65 20 74 65 | 78 74 20 22 4e 6f 77 20 |s the te|xt "Now |
|00005390| 69 73 20 74 68 65 20 74 | 69 6d 65 22 20 69 6e 20 |is the t|ime" in |
|000053a0| 61 6c 6c 20 63 61 70 69 | 74 61 6c 20 6c 65 74 74 |all capi|tal lett|
|000053b0| 65 72 73 2e 09 0d 56 09 | 49 6e 20 74 68 69 73 20 |ers...V.|In this |
|000053c0| 64 65 6d 6f 6e 73 74 72 | 61 74 69 6f 6e 20 76 65 |demonstr|ation ve|
|000053d0| 72 73 69 6f 6e 20 6f 66 | 20 4f 6e 65 20 53 68 6f |rsion of| One Sho|
|000053e0| 74 2c 20 74 68 65 20 68 | 65 6c 70 20 66 6f 72 20 |t, the h|elp for |
|000053f0| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |this fun|ction is|
|00005400| 20 64 69 73 61 62 6c 65 | 64 2e 09 54 72 79 20 61 | disable|d..Try a|
|00005410| 6e 6f 74 68 65 72 20 66 | 75 6e 63 74 69 6f 6e 2e |nother f|unction.|
|00005420| 0d 56 41 4c 55 45 28 6e | 75 6d 5f 74 78 74 29 09 |.VALUE(n|um_txt).|
|00005430| 52 65 74 75 72 6e 73 20 | 74 68 65 20 67 69 76 65 |Returns |the give|
|00005440| 6e 20 74 65 78 74 20 61 | 73 20 61 20 6e 75 6d 65 |n text a|s a nume|
|00005450| 72 69 63 20 76 61 6c 75 | 65 2e 09 56 41 4c 55 45 |ric valu|e..VALUE|
|00005460| 28 22 31 2e 33 65 33 22 | 29 20 3d 20 31 33 30 30 |("1.3e3"|) = 1300|
|00005470| 20 52 65 74 75 72 6e 73 | 20 74 68 65 20 74 65 78 | Returns| the tex|
|00005480| 74 20 22 31 2e 33 65 33 | 22 20 61 73 20 61 20 6e |t "1.3e3|" as a n|
|00005490| 75 6d 65 72 69 63 20 76 | 61 6c 75 65 2e 09 0d 56 |umeric v|alue...V|
|000054a0| 41 52 28 52 61 6e 67 65 | 29 09 49 6e 20 74 68 69 |AR(Range|).In thi|
|000054b0| 73 20 64 65 6d 6f 6e 73 | 74 72 61 74 69 6f 6e 20 |s demons|tration |
|000054c0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 4f 6e 65 20 53 |version |of One S|
|000054d0| 68 6f 74 2c 20 74 68 65 | 20 68 65 6c 70 20 66 6f |hot, the| help fo|
|000054e0| 72 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |r this f|unction |
|000054f0| 69 73 20 64 69 73 61 62 | 6c 65 64 2e 09 54 72 79 |is disab|led..Try|
|00005500| 20 61 6e 6f 74 68 65 72 | 20 66 75 6e 63 74 69 6f | another| functio|
|00005510| 6e 2e 0d 56 41 52 50 28 | 52 61 6e 67 65 29 09 52 |n..VARP(|Range).R|
|00005520| 65 74 75 72 6e 73 20 74 | 68 65 20 70 6f 70 75 6c |eturns t|he popul|
|00005530| 61 74 69 6f 6e 20 76 61 | 72 69 61 6e 63 65 20 6f |ation va|riance o|
|00005540| 66 20 6e 75 6d 65 72 69 | 63 20 76 61 6c 75 65 73 |f numeri|c values|
|00005550| 20 69 6e 20 61 20 72 61 | 6e 67 65 2e 09 56 41 52 | in a ra|nge..VAR|
|00005560| 50 28 52 61 6e 67 65 29 | 20 3d 20 37 31 2e 36 20 |P(Range)| = 71.6 |
|00005570| 20 52 61 6e 67 65 20 63 | 6f 6e 74 61 69 6e 69 6e | Range c|ontainin|
|00005580| 67 20 74 68 65 20 76 61 | 6c 75 65 73 20 31 30 2c |g the va|lues 10,|
|00005590| 37 2c 39 2c 32 37 2c 32 | 20 09 0d 57 41 56 47 28 |7,9,27,2| ..WAVG(|
|000055a0| 76 61 6c 5f 52 61 6e 67 | 65 2c 77 65 69 67 68 74 |val_Rang|e,weight|
|000055b0| 5f 52 61 6e 67 65 29 09 | 49 6e 20 74 68 69 73 20 |_Range).|In this |
|000055c0| 64 65 6d 6f 6e 73 74 72 | 61 74 69 6f 6e 20 76 65 |demonstr|ation ve|
|000055d0| 72 73 69 6f 6e 20 6f 66 | 20 4f 6e 65 20 53 68 6f |rsion of| One Sho|
|000055e0| 74 2c 20 74 68 65 20 68 | 65 6c 70 20 66 6f 72 20 |t, the h|elp for |
|000055f0| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |this fun|ction is|
|00005600| 20 64 69 73 61 62 6c 65 | 64 2e 09 54 72 79 20 61 | disable|d..Try a|
|00005610| 6e 6f 74 68 65 72 20 66 | 75 6e 63 74 69 6f 6e 2e |nother f|unction.|
|00005620| 0d 57 45 45 4b 44 41 59 | 28 64 61 74 65 5f 6e 75 |.WEEKDAY|(date_nu|
|00005630| 6d 29 09 52 65 74 75 72 | 6e 73 20 74 68 65 20 64 |m).Retur|ns the d|
|00005640| 61 79 20 6f 66 20 74 68 | 65 20 77 65 65 6b 20 28 |ay of th|e week (|
|00005650| 31 2d 37 29 20 66 6f 72 | 20 74 68 65 20 67 69 76 |1-7) for| the giv|
|00005660| 65 6e 20 64 61 74 65 20 | 6e 75 6d 62 65 72 2e 20 |en date |number. |
|00005670| 20 53 75 6e 64 61 79 20 | 3d 20 31 2e 09 57 45 45 | Sunday |= 1..WEE|
|00005680| 4b 44 41 59 28 33 31 34 | 34 33 29 20 3d 20 35 20 |KDAY(314|43) = 5 |
|00005690| 20 52 65 74 75 72 6e 73 | 20 74 68 65 20 64 61 79 | Returns| the day|
|000056a0| 20 6f 66 20 74 68 65 20 | 77 65 65 6b 20 6f 6e 20 | of the |week on |
|000056b0| 77 68 69 63 68 20 46 65 | 62 72 75 61 72 79 20 31 |which Fe|bruary 1|
|000056c0| 2c 20 31 39 39 30 20 66 | 65 6c 6c 2e 09 0d 59 45 |, 1990 f|ell...YE|
|000056d0| 41 52 28 64 61 74 65 5f | 6e 75 6d 29 09 49 6e 20 |AR(date_|num).In |
|000056e0| 74 68 69 73 20 64 65 6d | 6f 6e 73 74 72 61 74 69 |this dem|onstrati|
|000056f0| 6f 6e 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 4f 6e |on versi|on of On|
|00005700| 65 20 53 68 6f 74 2c 20 | 74 68 65 20 68 65 6c 70 |e Shot, |the help|
|00005710| 20 66 6f 72 20 74 68 69 | 73 20 66 75 6e 63 74 69 | for thi|s functi|
|00005720| 6f 6e 20 69 73 20 64 69 | 73 61 62 6c 65 64 2e 09 |on is di|sabled..|
|00005730| 54 72 79 20 61 6e 6f 74 | 68 65 72 20 66 75 6e 63 |Try anot|her func|
|00005740| 74 69 6f 6e 2e 0d 59 4c | 44 28 70 72 65 73 5f 70 |tion..YL|D(pres_p|
|00005750| 72 69 6e 2c 66 75 74 5f | 70 72 69 6e 2c 74 65 72 |rin,fut_|prin,ter|
|00005760| 6d 73 29 09 52 65 74 75 | 72 6e 73 20 74 68 65 20 |ms).Retu|rns the |
|00005770| 63 6f 6d 70 6f 75 6e 64 | 65 64 20 79 69 65 6c 64 |compound|ed yield|
|00005780| 20 70 65 72 20 70 65 72 | 69 6f 64 2c 20 69 6e 20 | per per|iod, in |
|00005790| 77 68 69 63 68 20 74 68 | 65 20 70 72 65 73 65 6e |which th|e presen|
|000057a0| 74 20 70 72 69 6e 63 69 | 70 61 6c 20 77 69 6c 6c |t princi|pal will|
|000057b0| 20 67 72 6f 77 20 74 6f | 20 74 68 65 20 66 75 74 | grow to| the fut|
|000057c0| 75 72 65 20 70 72 69 6e | 63 69 70 61 6c 20 64 75 |ure prin|cipal du|
|000057d0| 72 69 6e 67 20 61 20 67 | 69 76 65 6e 20 6e 75 6d |ring a g|iven num|
|000057e0| 62 65 72 20 6f 66 20 70 | 65 72 69 6f 64 73 2e 09 |ber of p|eriods..|
|000057f0| 59 4c 44 28 31 30 30 30 | 2c 31 32 30 30 2c 32 29 |YLD(1000|,1200,2)|
|00005800| 20 3d 20 30 2e 30 39 35 | 34 09 52 65 74 75 72 6e | = 0.095|4.Return|
|00005810| 73 20 74 68 65 20 63 6f | 6d 70 75 6e 64 65 64 20 |s the co|mpunded |
|00005820| 79 69 65 6c 64 20 70 65 | 72 20 79 65 61 72 2c 20 |yield pe|r year, |
|00005830| 69 6e 20 77 68 69 63 68 | 20 24 31 30 30 30 20 77 |in which| $1000 w|
|00005840| 69 6c 6c 20 67 72 6f 77 | 20 74 6f 20 24 31 32 30 |ill grow| to $120|
|00005850| 30 20 64 75 72 69 6e 67 | 20 61 20 70 65 72 69 6f |0 during| a perio|
|00005860| 64 20 6f 66 20 32 20 79 | 65 61 72 73 2e 09 00 00 |d of 2 y|ears....|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 01 00 00 00 01 fa | 00 00 00 fa 00 00 00 82 |........|........|
|00005890| 03 59 65 73 00 00 00 00 | 00 00 21 01 48 00 33 01 |.Yes....|..!.H.3.|
|000058a0| 8c 04 02 4e 6f 00 00 00 | 00 00 39 01 48 00 4b 01 |...No...|..9.H.K.|
|000058b0| 0e 4f 6e 65 20 53 68 6f | 74 aa 20 48 65 6c 70 6c |.One Sho|t. Helpl|
|000058c0| 02 00 00 00 54 45 58 54 | 31 53 48 54 01 00 ff ff |....TEXT|1SHT....|
|000058d0| 00 00 54 45 58 54 31 53 | 48 54 01 00 ff ff ff ff |..TEXT1S|HT......|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 a3 6b 5e 95 00 00 | 57 ee 00 00 02 7c 02 00 |...k^...|W....|..|
|00005900| 02 00 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00005910| 00 00 58 00 04 00 00 00 | 00 00 07 01 48 00 17 01 |..X.....|....H...|
|00005920| 8c 04 02 4f 4b 00 00 00 | 00 00 0a 00 50 00 3a 01 |...OK...|....P.:.|
|00005930| 2c 88 02 5e 30 00 00 00 | 00 00 3a 00 fe 00 4a 01 |,..^0...|..:...J.|
|00005940| 90 88 09 63 6f 64 65 20 | 3d 20 5e 31 00 00 00 00 |...code |= ^1....|
|00005950| 00 00 0a 00 14 00 2a 00 | 34 a0 02 00 00 00 00 00 |......*.|4.......|
|00005960| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 6a 00 |........|......j.|
|00005970| 03 00 00 00 00 00 07 01 | 48 00 17 01 8c 04 02 4f |........|H......O|
|00005980| 00 00 00 08 00 5a 00 0a | 01 81 02 32 00 00 00 06 |.....Z..|...2....|
|00005990| 05 47 4c 58 59 31 00 00 | 00 40 00 09 06 47 65 6e |.GLXY1..|.@...Gen|
|000059a0| 65 76 61 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |eva.....|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 04 00 06 |........|........|
|000059e0| 00 28 00 00 00 94 00 00 | 00 00 00 00 00 9d 00 00 |.(......|........|
|000059f0| 00 9d 00 00 00 00 00 00 | 00 50 00 01 ff ff 00 01 |........|.P......|
|00005a00| 00 00 00 00 ff ff ff ff | ff ff 00 00 00 00 00 00 |........|........|
|00005a10| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff ff ff |........|........|
|00005a20| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00005a30| ff ff ff ff 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 47 00 03 01 dc 02 7d | 00 00 00 00 00 00 00 00 |.G.....}|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00005a80| 01 fa 00 00 00 fa 00 00 | 00 82 00 0a 29 c0 09 8e |........|....)...|
|00005a90| 00 00 00 1c 00 82 00 04 | 52 45 43 54 00 00 00 2a |........|RECT...*|
|00005aa0| 53 54 52 20 00 00 00 36 | 45 46 4e 54 00 00 00 42 |STR ...6|EFNT...B|
|00005ab0| 45 54 41 42 00 00 00 4e | 45 50 4f 53 00 00 00 5a |ETAB...N|EPOS...Z|
|00005ac0| 01 01 ff ff 00 00 00 00 | 00 00 00 00 01 00 ff ff |........|........|
|00005ad0| 00 00 00 0c 00 00 00 00 | 03 eb ff ff 00 00 00 16 |........|........|
|00005ae0| 00 00 00 00 03 ec ff ff | 00 00 00 5a 00 00 00 00 |........|...Z....|
|00005af0| 03 ed ff ff 00 00 00 62 | 00 00 00 00 00 00 00 00 |.......b|........|
+--------+-------------------------+-------------------------+--------+--------+