DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ c

⟦6295131e7⟧

    Length: 1667 (0x683)
    Names: »calc.man«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/stat-5.3/eu/stat/doc/calc.man« 

Hex Dump

0x000…020 43 41 4c 43 28 31 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆CALC(1)                         ┆
0x020…040 20 20 20 7c 53 54 41 54 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4e 6f 76 65 6d   ┆   |STAT                   Novem┆
0x040…060 62 65 72 20 32 2c 20 31 39 38 35 0a 0a 4e 41 4d 45 0a 20 20 20 20 20 63 61 6c 63 20 2d 20 61 6c   ┆ber 2, 1985  NAME      calc - al┆
0x060…080 67 65 62 72 61 69 63 20 66 6f 72 6d 75 6c 61 20 63 61 6c 63 75 6c 61 74 6f 72 20 77 69 74 68 20   ┆gebraic formula calculator with ┆
0x080…0a0 76 61 72 69 61 62 6c 65 73 0a 0a 53 59 4e 4f 50 53 49 53 0a 20 20 20 20 20 63 61 6c 63 20 5b 66   ┆variables  SYNOPSIS      calc [f┆
0x0a0…0c0 69 6c 65 73 5d 0a 0a 44 45 53 43 52 49 50 54 49 4f 4e 0a 20 20 20 20 20 5f 08 63 5f 08 61 5f 08   ┆iles]  DESCRIPTION      _ c_ a_ ┆
0x0c0…0e0 6c 5f 08 63 20 69 73 20 61 20 63 61 6c 63 75 6c 61 74 6f 72 20 66 6f 72 20 64 6f 69 6e 67 20 72   ┆l_ c is a calculator for doing r┆
0x0e0…100 65 61 6c 20 61 72 69 74 68 6d 65 74 69 63 20 75 73 69 6e 67 20 66 61 6d 69 6c 69 61 72 20 69 6e   ┆eal arithmetic using familiar in┆
0x100…120 66 69 78 0a 20 20 20 20 20 6e 6f 74 61 74 69 6f 6e 2e 20 20 5f 08 63 5f 08 61 5f 08 6c 5f 08 63   ┆fix      notation.  _ c_ a_ l_ c┆
0x120…140 20 75 73 65 73 20 61 20 63 61 6c 63 75 6c 61 74 69 6f 6e 20 6d 65 74 68 6f 64 20 62 61 73 65 64   ┆ uses a calculation method based┆
0x140…160 20 6f 6e 20 74 68 65 20 70 6f 70 75 6c 61 72 20 70 72 6f 67 72 61 6d 0a 20 20 20 20 20 56 69 73   ┆ on the popular program      Vis┆
0x160…180 69 43 61 6c 63 20 69 6e 20 74 68 61 74 20 69 74 20 61 6c 6c 6f 77 73 20 76 61 72 69 61 62 6c 65   ┆iCalc in that it allows variable┆
0x180…1a0 73 20 74 6f 20 62 65 20 64 65 66 69 6e 65 20 62 79 20 65 71 75 61 74 69 6f 6e 73 2e 20 20 46 6f   ┆s to be define by equations.  Fo┆
0x1a0…1c0 72 0a 20 20 20 20 20 65 78 61 6d 70 6c 65 2c 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆r      example,                 ┆
0x1c0…1e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 41 20 3d 20 42 20 2b 20 43 20 2a 20 44 0a 20   ┆                 A = B + C * D  ┆
0x1e0…200 20 20 20 20 73 61 79 73 20 74 68 61 74 20 77 68 61 74 65 76 65 72 20 42 2c 20 43 2c 20 61 6e 64   ┆    says that whatever B, C, and┆
0x200…220 20 44 20 61 72 65 2c 20 41 20 69 73 20 65 71 75 61 6c 20 74 6f 20 74 68 65 20 61 62 6f 76 65 20   ┆ D are, A is equal to the above ┆
0x220…240 66 75 6e 63 74 69 6f 6e 0a 20 20 20 20 20 6f 66 20 74 68 65 6d 2e 20 20 49 66 20 42 2c 20 43 2c   ┆function      of them.  If B, C,┆
0x240…260 20 6f 72 20 44 20 63 68 61 6e 67 65 2c 20 74 68 65 6e 20 73 6f 20 64 6f 65 73 20 74 68 65 20 76   ┆ or D change, then so does the v┆
0x260…280 61 6c 75 65 20 6f 66 20 41 20 62 65 63 61 75 73 65 20 69 74 0a 20 20 20 20 20 64 65 70 65 6e 64   ┆alue of A because it      depend┆
0x280…2a0 73 20 6f 6e 20 74 68 65 6d 2e 20 20 28 54 6f 20 73 65 74 20 41 20 74 6f 20 74 68 65 20 76 61 6c   ┆s on them.  (To set A to the val┆
0x2a0…2c0 75 65 20 6f 66 20 61 20 66 75 6e 63 74 69 6f 6e 20 6f 66 20 73 65 76 65 72 61 6c 0a 20 20 20 20   ┆ue of a function of several     ┆
0x2c0…2e0 20 76 61 72 69 61 62 6c 65 73 20 73 6f 20 74 68 61 74 20 69 74 20 64 6f 65 73 6e 27 74 20 63 68   ┆ variables so that it doesn't ch┆
0x2e0…300 61 6e 67 65 20 6f 76 65 72 20 74 69 6d 65 2c 20 79 6f 75 20 70 72 65 70 65 6e 64 20 61 20 23 20   ┆ange over time, you prepend a # ┆
0x300…320 62 65 66 6f 72 65 0a 20 20 20 20 20 74 68 65 20 3d 20 73 69 67 6e 20 74 6f 20 65 6d 70 68 61 73   ┆before      the = sign to emphas┆
0x320…340 69 7a 65 20 79 6f 75 20 77 61 6e 74 20 74 68 65 20 63 75 72 72 65 6e 74 20 76 61 6c 75 65 2e 29   ┆ize you want the current value.)┆
0x340…360 20 49 6e 20 5f 08 63 5f 08 61 5f 08 6c 5f 08 63 2c 20 79 6f 75 20 67 65 74 0a 20 20 20 20 20 74   ┆ In _ c_ a_ l_ c, you get      t┆
0x360…380 68 65 20 70 72 6f 6d 70 74 2c 20 22 43 41 4c 43 3a 20 22 2c 20 61 6e 64 20 79 6f 75 20 74 79 70   ┆he prompt, "CALC: ", and you typ┆
0x380…3a0 65 20 69 6e 20 61 6e 20 65 78 70 72 65 73 73 69 6f 6e 20 74 6f 20 62 65 20 63 61 6c 63 75 6c 61   ┆e in an expression to be calcula┆
0x3a0…3c0 74 65 64 2e 0a 20 20 20 20 20 59 6f 75 20 63 61 6e 20 75 73 65 20 6e 75 6d 62 65 72 73 20 61 6e   ┆ted.      You can use numbers an┆
0x3c0…3e0 64 20 65 76 65 6e 20 76 61 72 69 61 62 6c 65 73 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 0a   ┆d even variables.  For example, ┆
0x3e0…400 0a 20 20 20 20 20 31 32 20 2b 20 31 32 33 2f 36 0a 20 20 20 20 20 61 20 3d 20 62 5e 32 20 2b 20   ┆      12 + 123/6      a = b^2 + ┆
0x400…420 6c 6f 67 20 28 73 71 72 74 20 28 63 29 29 0a 20 20 20 20 20 41 56 65 72 79 4c 6f 6e 67 56 61 72   ┆log (sqrt (c))      AVeryLongVar┆
0x420…440 69 61 62 6c 65 4e 61 6d 65 20 3d 20 28 61 2b 62 29 20 2d 20 63 2a 64 2f 65 20 5e 20 66 25 6c 6f   ┆iableName = (a+b) - c*d/e ^ f%lo┆
0x440…460 67 20 28 73 71 72 74 20 28 65 78 70 20 28 61 62 73 20 28 78 29 29 29 29 0a 0a 20 20 20 20 20 54   ┆g (sqrt (exp (abs (x))))       T┆
0x460…480 68 65 20 75 73 75 61 6c 20 6f 70 65 72 61 74 6f 72 73 20 61 6e 64 20 70 72 65 63 65 64 65 6e 63   ┆he usual operators and precedenc┆
0x480…4a0 65 73 20 61 72 65 20 61 76 61 69 6c 61 62 6c 65 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 65 0a   ┆es are available along with the ┆
0x4a0…4c0 20 20 20 20 20 63 6f 6d 6d 6f 6e 20 6d 61 74 68 65 6d 61 74 69 63 61 6c 20 66 75 6e 63 74 69 6f   ┆     common mathematical functio┆
0x4c0…4e0 6e 73 2e 20 20 50 61 72 65 6e 74 68 65 73 65 73 20 63 61 6e 20 62 65 20 75 73 65 64 20 66 6f 72   ┆ns.  Parentheses can be used for┆
0x4e0…500 20 63 6c 61 72 69 74 79 2e 0a 0a 45 58 41 4d 50 4c 45 0a 20 20 20 20 20 54 68 65 20 66 6f 6c 6c   ┆ clarity.  EXAMPLE      The foll┆
0x500…520 6f 77 69 6e 67 20 65 78 61 6d 70 6c 65 20 63 6f 6d 70 75 74 65 73 20 74 68 65 20 72 6f 6f 74 73   ┆owing example computes the roots┆
0x520…540 20 6f 66 20 74 68 65 20 65 71 75 61 74 69 6f 6e 3a 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ of the equation:               ┆
0x540…560 20 20 20 20 20 20 20 20 20 20 20 20 79 20 3d 20 61 20 2a 20 78 5e 32 20 20 2b 20 20 62 20 2a 20   ┆            y = a * x^2  +  b * ┆
0x560…580 78 20 20 2b 20 20 63 0a 20 20 20 20 20 77 68 65 72 65 20 61 2c 20 62 2c 20 61 6e 64 20 63 20 61   ┆x  +  c      where a, b, and c a┆
0x580…5a0 72 65 20 6c 65 66 74 20 75 6e 64 65 66 69 6e 65 64 2e 0a 0a 20 20 20 20 20 79 20 20 20 20 20 20   ┆re left undefined.       y      ┆
0x5a0…5c0 20 20 20 3d 20 28 28 28 61 20 2a 20 28 78 20 5e 20 32 29 29 20 2b 20 28 62 20 2a 20 78 29 29 20   ┆   = (((a * (x ^ 2)) + (b * x)) ┆
0x5c0…5e0 2b 20 63 29 0a 20 20 20 20 20 72 61 64 69 63 61 6c 20 20 20 3d 20 73 71 72 74 28 28 28 62 20 2a   ┆+ c)      radical   = sqrt(((b *┆
0x5e0…600 20 62 29 20 2d 20 28 28 34 20 2a 20 61 29 20 2a 20 63 29 29 29 0a 20 20 20 20 20 72 6f 6f 74 31   ┆ b) - ((4 * a) * c)))      root1┆
0x600…620 20 20 20 20 20 3d 20 28 28 2d 62 20 2d 20 72 61 64 69 63 61 6c 29 20 2f 20 28 32 20 2a 20 61 29   ┆     = ((-b - radical) / (2 * a)┆
0x620…640 29 0a 20 20 20 20 20 72 6f 6f 74 32 20 20 20 20 20 3d 20 28 28 2d 62 20 2b 20 72 61 64 69 63 61   ┆)      root2     = ((-b + radica┆
0x640…660 6c 29 20 2f 20 28 32 20 2a 20 61 29 29 0a 0a 53 45 45 20 41 4c 53 4f 0a 20 20 20 20 20 54 68 65   ┆l) / (2 * a))  SEE ALSO      The┆
0x660…680 20 43 41 4c 43 20 4d 61 6e 75 61 6c 20 69 6e 20 74 68 65 20 7c 53 54 41 54 20 48 61 6e 64 62 6f   ┆ CALC Manual in the |STAT Handbo┆
0x680…683 6f 6b 0a   ┆ok ┆