home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / PROGRAMS / SPREDSHT / EXTRCAL1.ARK / MANUAL < prev    next >
Text File  |  1986-12-04  |  73KB  |  1,810 lines

  1. .PO 8
  2. .MB 15
  3. .PN 1
  4. .HE                                                                -#-   
  5. .OP
  6. `14           EXTRACALC-1
  7.                            Release 1.2
  8.  
  9.  
  10.  
  11.  
  12. ============================CONTENTS=============================
  13.  
  14.  
  15. 1. INTRODUCTION                                            2
  16.  
  17. 2. SETTING UP ExtraCalc-1 SOFTWARE                         3
  18.  
  19.    a.  Distribution Diskettes                              4
  20.    b.  System Configuration - Single Density               5
  21.    c.  System Configuration - Double Density               8
  22.  
  23. 3. PRINCIPLES OF ExtraCalc-1 OPERATION. DEFINITIONS       10 
  24.  
  25.    a.  System Flowchart and Operation.                    10  
  26.    b.  Definitions of Matrix Operands                     12
  27.    c.  Matrices. Definitions of Operations.               13
  28.        Determination of Operand sizes.
  29.  
  30. 4. OPERATING INSTRUCTIONS                                 18
  31.  
  32.    a.  Manual Operation                                   18  
  33.    b.  Using SuperCalc's XQT file≤                        19
  34.    c«  Usinτ Programmablσ Keys and XQT files              20
  35.    d.  Automatic Operation                                21
  36.  
  37. 5. NUMERIC EXAMPLES                                       22
  38.  
  39. 6. COMPOSITE OPERATIONS. APPLICATIONS                     36
  40.    
  41.    a. Least Squares Technique                             36
  42.    b. Numeric Example: Dow Jones Regression model         37
  43.  
  44. 7. ExtraCalc-1 ERROR MESSAGES                             51
  45.  
  46. =================================================================
  47. .PAè1. INTRODUCTION
  48.  
  49. ExtraCalc-1TMùáá i≤á aεá add-oεá t∩á thσá SuperCalcTMùáá electroniπ ì
  50. spreadshee⌠á prograφ whicΦ add≤ matri° operation≤ t∩á SuperCalc'≤ ì
  51. rangσáá oµá operatioεá unde≥á CP/MTMùá operatinτáá system«áá Thesσ ì
  52. operation≤ arσ 
  53.  
  54. 1  - Transposition along main diagonal
  55. 2  - Transposition along secondary diagonal
  56. 3  - Reflection in a row
  57. 4  - Reflection in a column
  58. 5  - Inversion (including calculation of determinant)
  59. ╢  - Findinτ Eigenvalue≤ anΣ Eigenvector≤ oµ symmetriπ matrices
  60. 7  - Solution of system of linear equations
  61. 8  - Addition of general matrices
  62. 9  - Subtraction of general matrices
  63. 10 - Multiplication of general matrices
  64.  
  65. T∩á initiatσ onσ oµ thσ abovσ  operation≤ thσ use≥ ha≤ t∩ specif∙ ì
  66. entr∙áá rangσá anΣá operatioεá type«áá Afte≥áá tha⌠áá ExtraCalc-▒ ì
  67. automaticall∙á transfer≤á datß froφ electroniπ speadshee⌠ t∩á thσ ì
  68. datß processinτ softwarσ (.CO═ type)¼á perform≤ computations¼ anΣ ì
  69. return≤ bacδ t∩ thσ spreadshee⌠ anΣ load≤ result≤ oµá computatioε ì
  70. int∩ ß designateΣ area« Thσ abovσ basicÖ operation≤ allo≈ thσ use≥ ì
  71. t∩á perforφ compositσ matri° operation≤ usinτ separatσ steps«á A⌠ ì
  72. thσá enΣ oµ thi≤ guidσ wσ illustratσ usσ oµ thσ packagσá fo≥á Do≈ ì
  73. Jone≤ inde° forecastinτ usinτ Leas⌠ Square≤ Technique« 
  74.  
  75. Afte≥áá installatioεá ExtraCalc-▒á doe≤á no⌠á becomσá ßá par⌠á oµ ì
  76. Supercalπá bu⌠á remain≤á ß separatσá entit∙á consistinτá oµá fou≥ ì
  77. permanen⌠á program≤ anΣ numbe≥ oµ permanen⌠ anΣ transien⌠á files« ì
  78. Becausσá i⌠á i≤ no⌠ ß templateÖ bu⌠ ß systeφ oµá machinσá languagσ ì
  79. file≤á (programs)¼á i⌠ allow≤ t∩ havσ al∞ oµ SuperCalc'≤ interna∞ ì
  80. memor∙ fo≥ speadshee⌠ calculation≤ and/o≥ templates«á ExtraCalc-▒ ì
  81. work≤á witΦá AN┘á sizσ oµ workshee⌠á tha⌠á SupecCalπá caεá handlσ ì
  82. withou⌠ occupyinτ ß singlσ bi⌠ oµ valuablσ speadshee⌠ memory« 
  83.  
  84. ExtraCalc-▒á i≤á thσá firs⌠ prograφ iεá thσá ExtraCalc-nÖá series« ì
  85. Futurσá release≤á oµá ExtraCalc-2TM¼áá ExtraCalc-3TM¼áá etc«á arσ ì
  86. intendeΣá t∩á supplemen⌠á SuperCalπ iε area≤á othe≥á thaεá Matri° ì
  87. Algebra«á Thσá labe∞ oε you≥ ExtraCalc-▒ mus⌠ matcΦ you≥ compute≥ ì
  88. systeφ anΣ thσ releasσ numbe≥ oµ you≥ SuperCalc«á Iµ not¼á ge⌠ iε ì
  89. toucΦá witΦ you≥ deale≥ o≥ witΦ Smirno÷á Associates¼ (617⌐964-6607.
  90.  
  91. TMùá SuperCalπ i≤ thσ registereΣ trademarδ oµ Sorcim¼á CP/═ i≤ thσ ì
  92. registereΣ trademarδ oµ Digita∞ ResearcΦ Inc.¼á anΣá ExtraCalc-1¼ ì
  93. ExtraCalc-2¼áá etc«áá arσáá registereΣáá trademark≤á oµáá Smirno÷ ì
  94. AssociatesR.è2. SETTING UP ExtraCalc-1 SOFTWARE
  95.  
  96.  
  97.  
  98.  
  99. Wσá recommenΣ tha⌠ yo⌡ makσ backup≤ oµ al∞ distributioε diskette≤ ì
  100. immediatelyÖá t∩á avoiΣ accidenta∞ los≤ o≥ damagσá oµá ExtraCalc-▒ ì
  101. files (consult user guide for your system)«  
  102.  
  103. Please¼á notσ tha⌠ therσ i≤ n∩ systeφ oε thσ systeφ track≤ oµ thσ ì
  104. ExtraCalc-▒áá distributioεá diskettes«áá D∩á no⌠á boo⌠á t∩á thesσ ì
  105. diskette≤ !!í D∩ no⌠ exi⌠ froφ you≥ COP┘ o≥ PI╨ utilit∙ whilσ thσ ì
  106. distributioε diskettσ i≤ iε drivσ A«á Doinτ eithe≥ wil∞ producσ ß ì
  107. screeε ful∞ oµ garbagσ anΣ possibl∙ overwritσ diskette.
  108.  
  109. Thσ ExtraCalc-▒ distributioε diskette/diskette≤ ma∙ bσ iεá singlσ ì
  110. density«á Iµ yo⌡ arσ usinτ doublσ density¼á makσ ß doublσ densit∙ ì
  111. copy«á Afte≥á yo⌡á havσ madσ thσ copy¼á pu⌠ ß cop∙ oµá you≥á CP/═ ì
  112. systeφ oε it≤ systeφ tracks« 
  113.  
  114. .PAè   a.  Distribution Diskettes
  115.  
  116.  
  117. Diskettσá o≥á diskette≤ tha⌠ yo⌡ havσ receiveΣ witΦá thi≤á manua∞ ì
  118. contaiεá thσá followinτ file≤ (sizσ i≤ giveε fo≥á singlσá densit∙ ì
  119. versioε - roundeΣ t∩ highe≥ eveε #)
  120.  
  121. OP.CO═ (8k)é i≤ thσ Matri° Operation≤ Manage≥ program«á I⌠á serve≤ ì
  122. a≤á interfacσ betweeε SuperCalπ anΣ thσ numbe≥ processinτ par⌠ oµ ì
  123. ExtraCalc-1« Thi≤ prograφ als∩ support≤ selectioε oµ ß particula≥ ì
  124. matri° operatioε b∙ user.
  125.  
  126. OP04.CO═ (32k)é i≤ thσ firs⌠ oµ threσ number-crunchingÖ program≤ oµ ì
  127. ExtraCalc-1« I⌠ perform≤ operations
  128.  
  129.               1  - Transposition along main diagonal
  130.               2  - Transposition along secondary diagonal
  131.               3  - Reflection in a row
  132.               4  - Reflection in a column
  133.               8  - Addition
  134.               9  - Subtraction
  135.               10 - Multiplication
  136.  
  137. remark: ## correspond to ## in program module
  138.  
  139. OP13.CO═á (36k)éá i≤á thσá seconΣ oµá thσá abovσá mentioneΣá threσ ì
  140. programs« I⌠ perform≤ operation≤ of
  141.  
  142.               ╡á - Inversioεá(includinτ calculatioεáoµ determinant)
  143.               7  - Solution of a system of linear equations
  144.  
  145. OP2.CO═ (40k)é i≤ thσ las⌠ onσ oµ three« I⌠ perform≤ operation
  146.  
  147.               ╢á - Findinτáof Eigenvalue≤áanΣ Eigenvectors
  148.                    of symmetric matrices
  149.  
  150. MAT1.PRN¼á MAT2.PRN¼ MAT3.PR╬ (0δ each)é arσ Matri° OperandÖ files« ì
  151. The∙ currentl∙ don't contaiε anything.
  152.  
  153. $.▒á (0k)é i≤ temporar∙ defaul⌠ SuperCalπ (.CAL⌐ typσ file«á I⌠ i≤ ì
  154. als∩ initiall∙ set a≤ zer∩ file.
  155.  
  156. SAV.XQ╘á (2k)é i≤ thσ SuperCalπ eXecutσ (.XQT⌐ filσ tha⌠á prepare≤ ì
  157. speadshee⌠á anΣ defaul⌠ $.▒ filσ iε preparatioε fo≥á transfe≥á t∩ ì
  158. ExtraCalc-1.
  159.  
  160. RES.XQ╘á (2k)é i≤ SuperCalπ eXecutσ filσ tha⌠ control≤ loadinτá oµ ì
  161. result≤ oµ computatioε froφ ExtraCalc-1.è   b.  ExtraCalc-1 Configuration - Single Density
  162.  
  163. T∩ proceed¼á yo⌡ wil∞ neeΣ fou≥ blanδ diskettes« Wσ wil∞ cal∞ thσ ì
  164. firs⌠á - Maste≥ diskettσ (D1⌐ anΣ seconΣ througΦ fourtΦ - D2¼á D│ ì
  165. anΣ D┤ diskettes.
  166.  
  167. 1«á Placσá you≥á CP/═á diskettσ iε drivσ ┴ anΣá thσá firs⌠á blanδ ì
  168.     formatteΣá    diskettσá (D1⌐á iε drivσá B«á Pres≤á RESE╘á anΣ ì
  169.     carriagσ returε <CR╛ (o≥ d∩ othe≥ appropriatσ step≤ t∩ invokσ ì
  170.     CP/═ - consul⌠ you≥ systeφ use≥ manual)
  171.  
  172. 2.  When you see A> prompt, type PIP<CR>.
  173.  
  174. 3«á Wheεá yo⌡áseσ ¬ promp⌠, placσ firs⌠ distributioε diskettσá iε ì
  175.     drive A and type
  176.  
  177.     *B:=A:OP.COM<CR>
  178.     *B:=A:RES.XQT<CR>
  179.     *B:=A:SAV.XQT<CR>
  180.  
  181.    note║á firs⌠ characte≥ (*⌐ iε abovσ threσ line≤ i≤ PI╨ prompt« ì
  182.               D╧ NO╘ TYP┼ I╘ IN.
  183.  
  184. 4«á Placσ diskettσ containinτ SuperCalπ (v1.1▓ anΣ up⌐ iε drivσ ┴ ì
  185.     and type
  186.  
  187.     *B:=A:SC.*<CR>ì
  188.  
  189.     note║ S├ i≤ thσ namσ oµ SuperCalπ oε you≥ diskette
  190.  
  191. 5«á Iµá yo⌡á havσ SUBMIT.CO═ o≥ simila≥ batcΦ processinτá utilit∙ ì
  192.     placσ diskettσ containinτ i⌠ int∩ drivσ ┴ aεd type
  193.  
  194.     *B:=A:SUBMIT.COM
  195.  
  196. 6«á Next¼á cop∙á CP/═ ont∩ you≥ Maste≥ disδ b∙ usinτá thσá SYSGE╬ ì
  197.     utilit∙á (o≥á similar⌐ oε you≥ CP/═ disk«á T∩ d∩á this,inser⌠     ì
  198.     you≥á CP/═ diskettσ iε drivσ ┴ anΣ pres≤ ^C«á Wheε yo⌡ seσ A╛     ì
  199.     prompt¼ type
  200.  
  201.     A>SYSGEN<CR>
  202.  
  203.     note 1: Do not type in CP/M prompt A>
  204.             Specify A as the source and B as the destination
  205.     note 2║ Yo⌡ ma∙ als∩ wan⌠ t∩ usσ thσ SETU╨ utilit∙ (o≥ similar⌐ ì
  206.             t∩ specif∙ thσ prope≥ interfacσ fo≥ you≥ printer.
  207.  
  208. 7.  Put away your Master disk now (D1)è8«á Placσá you≥á CP/═á diskettσá iε drivσá ┴á anΣá seconΣá blanδ ì
  209.     formatteΣá diskettσá (D2⌐ iε drivσ B«á Pres≤ ^├ o≥á d∩á othe≥ ì
  210.     appropriatσ step≤ t∩ REINITIALIZ┼ CP/═ - consul⌠ you≥á systeφ ì
  211.     use≥ manual.
  212.  
  213. 9.  When you see A> prompt, type PIP<CR>.
  214.  
  215. 10«áWheεá yo⌡ seσ ¬ promp⌠ placσ firs⌠ distributioε diskettσá iε ì
  216.     drivσ ┴ anΣ type
  217.  
  218.     *B:=A:OP04.COM<CR>
  219.     *B:=A:*.PRN<CR>
  220.     *B:=A:$.1<CR>
  221.  
  222. 11«áNext¼á cop∙á CP/═  ont∩  you≥ D▓  disδ b∙  usinτá thσá SYSGE╬ ì
  223.     utilit∙á (o≥ similar⌐ oε you≥ CP/═ disk«á T∩ d∩ this¼á inser⌠ ì
  224.     you≥á CP/═ diskettσ iε drivσ ┴ anΣ pres≤ ^C«á Wheε yo⌡ seσ A╛ ì
  225.     prompt¼ type
  226.  
  227.     A>SYSGEN<CR>
  228.  
  229.     note 1: Do not type in CP/M prompt A>
  230.             Specify A as the source and B as the destination
  231.     note 2║ Yo⌡ ma∙ als∩ wan⌠ t∩ usσ thσ SETU╨ utilit∙ (o≥ similar⌐ ì
  232.             t∩ specif∙ thσ prope≥ interfacσ fo≥ you≥ printer.
  233.  
  234. 12. Put away your D2 disk.
  235.  
  236. 13« Placσ you≥ CP/═ diskettσ iε drivσ ┴ anΣ third blanδ formatteΣ ì
  237.     diskettσá (D3⌐ iε drivσ B«á Pres≤ ^├ o≥ d∩ othe≥á appropriatσ ì
  238.     step≤ t∩ REINITIALIZ┼ CP/═ - consul⌠ you≥ systeφ use≥ manual.
  239.  
  240. 14. When you see A> prompt, type PIP<CR>.
  241.  
  242. 15«áWheεá yo⌡ seσ ¬ promp⌠ placσ firs⌠ distributioε diskettσá iε ì
  243.     drivσ ┴ anΣ type
  244.  
  245.     *B:=A:OP13.COM<CR>
  246.     *B:=A:*.PRN<CR>
  247.     *B:=A:$.1<CR>
  248.  
  249. 16«áNext¼á cop∙á  CP/═  ont∩  you≥ D│  disδ b∙  usinτ thσá SYSGE╬ ì
  250.     utilit∙ (o≥ similar⌐ oε you≥ CP/═ disk«á T∩ d∩á this¼á inser⌠     ì
  251.     you≥ CP/═ diskettσ iε drivσ ┴ anΣ pres≤ ^C«á Wheε yo⌡ seσá A╛     ì
  252.     prompt¼ type
  253.  
  254.  
  255.     A>SYSGEN<CR>è    note 1: Do not type in CP/M prompt A>
  256.             Specify A as the source and B as the destination
  257.     note 2║ Yo⌡ ma∙ als∩ wan⌠ t∩ usσ thσ SETU╨ utilit∙ (o≥ similar⌐ ì
  258.             t∩ specif∙ thσ prope≥ interfacσ fo≥ you≥ printer.
  259.  
  260. 17. Put away your D3 disk.
  261.  
  262. 18« Placσ you≥ CP/═ diskettσ iε drivσ ┴ anΣ fourth blanδ formatteΣ ì
  263.     diskettσá (D4⌐ iε drivσ B«á Pres≤ ^├ o≥ d∩ othe≥á appropriatσ ì
  264.     step≤ t∩ REINITIALIZ┼ CP/═ - consul⌠ you≥ systeφ use≥ manual.
  265.  
  266. 19. When you see A> prompt, type PIP<CR>.
  267.  
  268. 20«áWheεá yo⌡ seσ ¬ promp⌠ placσ seconΣ distributioε diskettσ iε ì
  269.     drivσ ┴ anΣ type
  270.  
  271.     *B:=A:OP2.COM<CR>
  272.     *B:=A:*.PRN<CR>
  273.     *B:=A:$.1<CR>
  274.  
  275. 21«áNext¼á cop∙á CP/═  ont∩  you≥ D┤  disδ b∙  usinτá thσá SYSGE╬ ì
  276.     utilit∙á (o≥ similar⌐ oε you≥ CP/═ disk«á T∩ d∩ this¼á inser⌠ ì
  277.     you≥á CP/═ diskettσ iε drivσ ┴ anΣ pres≤ ^C«á Wheε yo⌡ seσ A╛ ì
  278.     prompt¼ type
  279.  
  280.     A>SYSGEN<CR>
  281.  
  282.     note 1: Do not type in CP/M prompt A>
  283.             Specify A as the source and B as the destination
  284.     note 2║ Yo⌡ ma∙ als∩ wan⌠ t∩ usσ thσ SETU╨ utilit∙ (o≥ similar⌐ ì
  285.             t∩ specif∙ thσ prope≥ interfacσ fo≥ you≥ printer.
  286.  
  287. 22«áPu⌠á awa∙á you≥ D┤ disk«á You≥á ExtraCalc-▒á SINGL┼á densit∙ ì
  288.     configuratioε i≤ no≈ complete« 
  289.  
  290. .PAè   c.  System Configuration - Double Density
  291.  
  292.  
  293. T∩ proceed¼á yo⌡ wil∞ neeΣ tw∩ blanδ diskettes«á Wσ wil∞ cal∞ thσ ì
  294. firs⌠ - Maste≥ diskettσ (D1⌐ anΣ thσ seconΣ D2.
  295.  
  296. 1«á Placσ you≥ CP/═ diskettσ iε drivσ ┴ anΣ firs⌠ blanδ formatteΣ ì
  297.     diskettσá (D1⌐á iε drivσ B«á Pres≤ RESE╘ anΣ carriagσá returε ì
  298.     <CR╛ (o≥ d∩ othe≥ appropriatσ step≤ t∩ invokσ CP/═á - consul⌠ ì
  299.     you≥ systeφ use≥ manual)
  300.  
  301. 2.  When you see A> prompt, type PIP<CR>.
  302.  
  303. 3«á Wheεáyo⌡á seσ ¬ promp⌠, placσ firs⌠ distributioε diskettσá iε ì
  304.     drive A and type
  305.  
  306.     *B:=A:*.COM<CR>
  307.     *B:=A:RES.XQT<CR>
  308.     *B:=A:SAV.XQT<CR>
  309.  
  310.     note║ firs⌠ characte≥ (*⌐ iε abovσ threσ line≤ i≤ PI╨ prompt« ì
  311.           D╧ NO╘ TYP┼ I╘ IN.
  312.  
  313. 4«á Placσ seconΣ  distributioε diskettσ (witΦ OP2.COM⌐ iε drivσ ┴ ì
  314.     (iµ yo⌡ receiveΣ onl∙ onσ diskettσ iε doublσ densityÖ leavσ i⌠ ì
  315.     iε drivσ A:⌐ anΣ type
  316.  
  317.     *B:=A:*.COM
  318.  
  319. 5«á Placσ diskettσ containinτ SuperCalπ (v1.1▓ anΣ up⌐ iε drivσ ┴ ì
  320.     and type
  321.  
  322.     *B:=A:SC.*<CR>ì
  323.  
  324.     note║ S├ i≤ thσ namσ oµ SuperCalπ oε you≥ diskette
  325.  
  326. 6«á Iµ yo⌡ havσ SUBMIT.CO═ o≥ a simila≥ batcΦ processinτáutilit∙, ì
  327.     placσ diskettσ containinτ i⌠ int∩ drivσ ┴ aε type
  328.  
  329.     *B:=A:SUBMIT.COM
  330.  
  331. 7«á Next¼á cop∙á CP/═  ont∩ you≥ Maste≥ disδ b∙ usinτ thσá SYSGE╬ ì
  332.     utilit∙ (o≥ similar⌐ oε you≥ CP/═ disk«á T∩ d∩á this¼á inser⌠ ì
  333.     you≥ CP/═ diskettσ iε drivσ ┴ anΣ pres≤ ^C«á Wheε yo⌡ seσá A╛ ì
  334.     prompt¼ type
  335.  
  336.  
  337.     A>SYSGEN<CR>è    note 1: Do not type in CP/M prompt A>
  338.             Specify A as the source and B as the destination
  339.     note 2║ Yo⌡ ma∙ als∩ wan⌠ t∩ usσ thσ SETU╨ utilit∙ (o≥ similar⌐ ì
  340.             t∩ specif∙ thσ prope≥ interfacσ fo≥ you≥ printer.
  341.  
  342. 8.  Put away your Master disk now (D1)
  343.  
  344. 9«  Placσ you≥ CP/═ diskettσ iε drivσ ┴ anΣ seconΣ blanδ formatteΣ ì
  345.     diskettσá (D2⌐ iε drivσ B«á Pres≤ ^├ o≥ d∩ othe≥á appropriatσ ì
  346.     step≤ t∩ REINITIALIZ┼ CP/═ - consul⌠ you≥ systeφ use≥ manual.
  347.  
  348. 10. When you see A> prompt, type PIP<CR>.
  349.  
  350. 11«áWheεáyo⌡ seσ ¬ promp⌠, placσ firs⌠ distributioε diskettσá iε ì
  351.     drivσ ┴ anΣ type
  352.  
  353.     *B:=A:*.PRN<CR>
  354.     *B:=A:$.1<CR>
  355.  
  356. 12«áNext¼á cop∙á CP/═  ont∩  you≥ D▓  disδ  b∙  usinτ thσá SYSGE╬ ì
  357.     utilit∙á (o≥ similar⌐ oε you≥ CP/═ disk«á T∩ d∩ this¼á inser⌠ ì
  358.     you≥á CP/═ diskettσ iε drivσ ┴ anΣ pres≤ ^C«á Wheε yo⌡ seσ A╛ ì
  359.     prompt¼ type
  360.  
  361.     A>SYSGEN<CR>
  362.  
  363.     note 1: Do not type in CP/M prompt A>
  364.             Specify A as the source and B as the destination
  365.     note 2║ Yo⌡ ma∙ als∩ wan⌠ t∩ usσ thσ SETU╨ utilit∙ (o≥ similar⌐ ì
  366.             t∩ specif∙ thσ prope≥ interfacσ fo≥ you≥ printer.
  367.  
  368.  
  369. No≈á pu⌠á awa∙á you≥ D▓ disk«á You≥á ExtraCalc-▒á DOUBL┼á densit∙ ì
  370. configuratioε i≤ no≈ complete« 
  371. .PAè4. PRINCIPLES OF ExtraCalc-1 OPERATION. DEFINITIONS
  372.  
  373.    a.  System Flowchart and Operation.
  374.  
  375. Flowchar⌠ oµ ExtraCalc-▒ i≤ showε iε Figurσ ▒ below« Blacδ arrow≤ ì
  376. stanΣá fo≥á connection≤ betweeε prograφ file≤ whilσá grayÖá arrow≤ ì
  377. sho≈á connection≤ betweeε datß file≤ anΣ programs«á Thσ arro≈á i≤ ì
  378. blacδá anΣá gra∙  betweeε SuperCalπ anΣ $.▒ filσ becausσá oµá thσ ì
  379. structurσá oµá SuperCalπá files«á Pleasσ notσá tha⌠á gra∙á (data⌐ ì
  380. connection≤ arσ eithe≥ unidirectiona∞ (operanΣ MAT1¼ operanΣ MAT│ ì
  381. - inpu⌠ o≥ outpu⌠ file≤ only⌐ o≥ bidirectiona∞ (operanΣ MAT2).
  382.  
  383. T∩ operatσ ExtraCalπ yo⌡ shoulΣ alway≤ havσ you≥ Maste≥á diskettσ ì
  384. iεá drivσ ┴ anΣ DnÖ diskettσ iε drivσ ┬ (nÖ ╜ ▓ fo≥ doublσ density¼ ì
  385. o≥ 2¼ 3¼ ┤ fo≥ singlσ densit∙ versions)« Thσ numbe≥ nÖ (fo≥ singlσ ì
  386. density⌐ i≤ defineΣ b∙ thσ typσ oµ operation≤ i⌠ performs:
  387.  
  388.              n = 2 for operations ## 1-4 and ## 8-10
  389.              n = 3 for operations # 5 and # 7 
  390.              n = 4 for operations # 6
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.                             Figure 1èInteractioεá witΦá ExtraCalπá usuall∙á begin≤á iεá thσá SuperCalπ ì
  419. environment«á Iεá spreadshee⌠á yo⌡á shoulΣá specif∙á you≥á matri° ì
  420. operand≤á - MAT1¼á MAT▓ anΣ maybσ MAT│ (seσ nex⌠ section)«á Afte≥ ì
  421. tha⌠á yo⌡á havσá t∩á leavσá SuperCalπá anΣá ente≥á (manuall∙áá o≥ ì
  422. automatically⌐á thσá firs⌠ prograφ oµ ExtraCalc-1¼á whicΦ b∙á thσ ì
  423. way¼ alway≤ reside≤ oε drivσ ┴ (OP.COM).
  424.  
  425. Afte≥ loadinτ itself¼á OP.CO═ wil∞ displa∙ thσ maiε men⌡ a≤ showε ì
  426. below:
  427.  
  428.   MATRIX OPERATIONS
  429.  
  430.      1)  TRANSPOSITION (MAIN DIAGONAL)
  431.      2)  TRANSPOSITION (SECONDARY DIAGONAL)
  432.      3)  REFLECTION IN A COLUMN
  433.      4)  REFLECTION IN A ROW
  434.      5)  INVERSION
  435.      6)  EIGENVALUES AND EIGENVECTORS
  436.      7)  SOLUTION OF SYSTEM OF LINEAR EQUATIONS
  437.      8)  ADDITION
  438.      9)  SUBTRACTION
  439.      10) MULTIPLICATION 
  440.  
  441.  
  442.   11) EXIT TO SUPERCALC
  443.  
  444.  
  445. ENTER YOUR CHOICE:
  446.  
  447. Dependinτá oε thσ choice≤ yo⌡ make¼á OP.CO═ wil∞ routσ yo⌡á t∩á ß ì
  448. numbe≥á oµá differen⌠á programs¼á tha⌠á (durinτá execution⌐á wil∞ ì
  449. providσáá yo⌡á witΦá differen⌠á run-time¼áá diagnostiπá o≥á erro≥ ì
  450. messages« Example≤ oµ typica∞ message≤ showε below
  451.  
  452.     CHAINING TO OPERATION #         n
  453.         SIZING THE MATRIX ...
  454.         THE MATRIX IS    p\q
  455.         SIZING THE MATRIX ...
  456.         THE MATRIX IS    P1\Q1
  457. ERROR: WRONG OUTPUT MATRIX DIMENSIONS
  458.  
  459. Afte≥á succesfu∞ computation≤ (n∩ ERRO╥ messages⌐ ExtraCalπá wil∞ ì
  460. returεá t∩ you≥ spreadshee⌠ (seσ sectioε oε automatiπá operation⌐ ì
  461. anΣ reaΣ iε result≤ int∩ you≥ spreadshee⌠ automatically«á Iε casσ ì
  462. oµá unsuccessfu∞á computation≤ (errors)¼á ExtraCalπ wil∞ iεá mos⌠ ì
  463. case≤á returεá yo⌡á t∩ thσ OP.CO═ prograφá anΣá asδá fo≥á furthe≥ ì
  464. instructions.
  465. .PAè   b.  Definitions of Matrix Operands
  466.  
  467.  
  468. ExtraCalc-▒ ha≤ provision≤ fo≥ threσ matri° operanΣ file≤ - MAT1¼ ì
  469. MAT▓ anΣ MAT3« OperanΣ file≤ arσ createΣ oε SuperCalπ leve∞ usinτ ì
  470. /Outpu⌠ commanΣ anΣ thereforσ havσ .PR╬ type.
  471.  
  472. Thσá use≥á ha≤á t∩ creatσ tw∩ operanΣ file≤ (MAT▒ anΣá MAT2⌐á  t∩ ì
  473. perforφáá unitaryÖáá operation≤áá (transpositions¼ááá reflections¼ ì
  474. inversion)
  475.  
  476.  
  477.                      MAT2 = operation {MAT1} 
  478.  
  479.  
  480. o≥ threσ  operanΣ file≤ (MAT1¼á MAT2¼ MAT3⌐ fo≥ binaryÖ operation≤ ì
  481. (addition¼ subtraction¼ multiplication¼ solutioε oµ systems)
  482.  
  483.  
  484.                   MAT3 = operation {MAT1, MAT2}  
  485.  
  486.  
  487. anΣá fo≥á unitaryÖ operatioε witΦ binaryÖ outpu⌠á (eigenvalue≤á anΣ ì
  488. eigenvectors)
  489.  
  490.  
  491.                  {MAT2, MAT3} = operation {MAT1}  
  492.  
  493.  
  494. Worksheet≤á iε SuperCalπ tha⌠ arσ useΣ t∩ derivσ matri°á operand≤ ì
  495. shoulΣ consis⌠ oµ number≤ witΦ o≥ withou⌠ underlyinτ formulae« N∩ ì
  496. BLANK≤á o≥á TEX╘ i≤ allowed«á BLANK≤ iεá workshee⌠á wil∞á producσ ì
  497. ExtraCalc-▒á ERRO╥ messagσ whilσ TEXT≤ wil∞ bσ interpreteΣ a≤ 0s« ì
  498. Dimension≤á oµá matrice≤á (size≤ oµ matri°á operands⌐á shoulΣá bσ ì
  499. consisten⌠ witΦ eacΦ othe≥ a≤ wel∞ a≤ witΦ matri° operatioε t∩ bσ ì
  500. performeΣ (seσ nex⌠ section).
  501.  
  502. .PAè   c.  Matrices. Definitions of Operations. 
  503.        Determination of Operand sizes.
  504.  
  505. Matrices:éá Herσ wσ formulatσ onl∙ basiπ definition≤ anΣá concept≤ ì
  506. oµ matri° algebrß tha⌠ werσ useΣ iε ExtraCalc-▒ design«á Iεá casσ ì
  507. use≥á doe≤á no⌠ completel∙ understanΣ thi≤ materia∞ o≥á need≤á t∩ ì
  508. kno≈ abou⌠ morσ advanceΣ concept≤ tha⌠ arσ mentioneΣ herσ withou⌠ ì
  509. explanation¼á wσá recommenΣ readinτ thσ firs⌠ fe≈ chapter≤ oµ an∙ ì
  510. booδ oε linea≥ o≥ matri° algebrß « 
  511.  
  512. ┴ matri° i≤ ß rectangula≥ arra∙ oµ term≤ calleΣ elements¼ sucΦ as
  513.  
  514.  
  515.                    1 2 3  7        `` a11 a12 ``
  516.                    3 4 0  4   or   `` a21 a22 ``
  517.                    5 6 7 -1        ` a31 a32 `
  518.  
  519.  
  520. ┴á rea∞ matrixÖ anΣ ß comple° matrixÖ arσ matrice≤á whosσá element≤ ì
  521. arσá rea∞á number≤ o≥ comple° number≤á respectively«á ExtraCalc-▒ ì
  522. work≤á witΦá rea∞ matrice≤ only«á T∩á perforφá calculation≤á witΦ ì
  523. comple°á number≤ onσ shoulΣ usσ compositeÖ matri° operation≤á (seσ ì
  524. sectioε below)« 
  525.  
  526. Thσ orderÖ o≥ dimensionÖ oµ ß matri° i≤ giveε b∙ statinτ thσ numbe≥ ì
  527. oµá row≤ (N⌐ anΣ theε thσ numbe≥ oµ column≤ (M⌐ iε thσ matri°á a≤ ì
  528. N\M«á Therefore¼á thσá abovσá matrice≤ arσ oµ 3\┤ anΣá 3\▓á orde≥ ì
  529. respectively.
  530.  
  531. ┴ squareÖ matri° i≤ ß matri° fo≥ whicΦ thσ numbe≥ oµ row≤ i≤ equa∞ ì
  532. t∩ thσ numbe≥ oµ columns« 
  533.  
  534. Thσ diagona∞ froφ thσ uppe≥ lef⌠ corne≥ t∩ thσ lowe≥ righ⌠ corne≥ ì
  535. i≤á thσ principalÖ o≥ mainÖ diagonal«á Thσ diagona∞ froφ thσá lowe≥ ì
  536. lef⌠ corne≥ t∩ thσ uppe≥ righ⌠ corne≥ i≤ thσ secondaryÖ diagonal« 
  537.  
  538. Thσ determinantÖ oµ ß squarσ matri° i≤ thσ determinan⌠ obtaineΣ b∙ ì
  539. considerinτ thσ arra∙ oµ element≤ iε thσ matri° a≤ ß determinant« 
  540.  
  541. ┴ squarσ matri° i≤ singularÖ iµ it≤ determinan⌠ i≤ equa∞ t∩á zero« ì
  542. Otherwisσ i⌠ i≤  nonsingular.
  543.  
  544. ┴á diagonalÖá matri°á i≤á ß squarσ matri°á witΦá al∞á it≤á nonzer∩ ì
  545. element≤ iε thσ principa∞ diagonal« 
  546.  
  547. Aεá identityÖ (o≥ unit⌐ matri° i≤ ß diagona∞ matri° whosσ element≤ ì
  548. iε thσ principa∞ diagona∞ arσ al∞ unity.
  549. èDefinition≤ oµ Operations« Determinatioε oµ OperanΣ sizes.
  550.  
  551.  
  552. 1) TRANSPOSITION (MAIN DIAGONAL)    
  553.    unitary operation
  554.  
  555. Thσ transposσ oµ ß matri° alonτ maiε diagona∞ i≤ thσ matri°á (AT⌐ ì
  556. resultinτá froφá interchanginτ thσ row≤ anΣ column≤ iε thσá giveε ì
  557. matri°á (A⌐á alonτá thσ diagona∞ drawε froφ to≡á lef⌠á corne≥á t∩ ì
  558. bottoφ righ⌠ corner« Iµ 
  559.  
  560.        A = {ai,j} then AT = {aj,i), i=1,2,...N, j=1,2,...M
  561.  
  562. Herσá ╬ i≤ numbe≥ oµ row≤ iε ┴ anΣ ═ i≤ numbe≥ oµ column≤á iεá A« ì
  563. Therefore¼á iµá MAT▒á i≤ N\═ theε matri° MAT▓ shoulΣá bσá oµá M\╬ ì
  564. dimension« MAT│ i≤ no⌠ requireΣ fo≥ thi≤ operation« 
  565.  
  566.  
  567. 2) TRANSPOSITION (SECONDARY DIAGONAL)
  568.    unitary operation
  569.  
  570. Thσ transposσ oµ ß matri° alonτ secondar∙ diagona∞ i≤ thσá matri° ì
  571. (At⌐á resultinτá froφ interchanginτ thσ row≤ anΣ column≤á iεá thσ ì
  572. giveεá matri° (A⌐ alonτ thσ diagona∞ drawε froφ to≡ righ⌠á corne≥ ì
  573. t∩ bottoφ lef⌠ corner« Iµ 
  574.  
  575.        A = {ai,j} then At = {aM-j+1,N-i+1), i=1,2,...N, j=1,2,...M
  576.  
  577. Herσá ╬ i≤ numbe≥ oµ row≤ iε ┴ anΣ ═ i≤ numbe≥ oµ column≤á iεá A« ì
  578. Therefore¼á iµá MAT▒á i≤á N\═ theε matri° MAT▓ shoulΣ bσá oµá M\╬ ì
  579. dimension« MAT│ i≤ no⌠ requireΣ fo≥ thi≤ operation.
  580.  
  581.  
  582. 3) REFLECTION IN A COLUMN
  583.    unitary operation
  584.  
  585. Thσá reflectioεá oµá ßá matri° iε ß columεá i≤á thσá matri°á (AC⌐ ì
  586. resultinτ froφ interchanginτ thσ row≤ iε thσ giveε matri° (A)« If
  587.  
  588.      A = {ai,j} then AC = {aN-i+1,j), i=1,2,...N, j=1,2,...M
  589.  
  590. Herσá ╬ i≤ numbe≥ oµ row≤ iε ┴ anΣ ═ i≤ numbe≥ oµ column≤á iεá A« ì
  591. Therefore¼á iµ MAT▒ i≤ N\═ matri° theε MAT▓ shoulΣ als∩ bσ oµ N\═ ì
  592. dimension« MAT│ i≤ no⌠ requireΣ fo≥ thi≤ operation.
  593. .PAè4) REFLECTION IN A COLUMN
  594.    unitary operation
  595.  
  596.  
  597. Thσá reflectioε oµ ß matri° iε ß ro≈ i≤ thσ matri° (AR⌐ resultinτ ì
  598. froφ interchanginτ thσ column≤ iε thσ giveε matri° (A)« If
  599.  
  600.      A = {ai,j} then AR = {ai,M-j+1), i=1,2,...N, j=1,2,...M
  601.  
  602. Herσá ╬ i≤ numbe≥ oµ row≤ iε ┴ anΣ ═ i≤ numbe≥ oµ column≤á iεá A« ì
  603. Therefore¼á iµ MAT▒ i≤ N\═ matri° theε MAT▓ shoulΣ als∩ bσ oµ N\═ ì
  604. dimension« MAT│ i≤ no⌠ requireΣ fo≥ thi≤ operation.
  605.  
  606.  
  607. 5) INVERSION and calculation of determinants
  608.    unitary operation
  609.  
  610. Fo≥á ß nonsingularÖ squarσ matri° (A)¼á thσ inversσ (A-1⌐á i≤á thσ ì
  611. quotien⌠á oµ thσ adjointÖ oµ thσ matri° anΣ thσ determinantÖ oµ thσ ì
  612. matrix« Iµ A-1ù i≤ thσ inversσ oµ A¼ theε produc⌠ AA-1ù ╜ A-1┴ ╜ I¼ ì
  613. wherσ ╔ i≤ thσ identit∙ matrix«á Thσ inversσ i≤ defineΣ onl∙á fo≥ ì
  614. nonsingula≥á squarσá matrices«á MAT▒ shoulΣ thereforσ bσá oµá N\╬ ì
  615. dimensioε anΣ havσ ß non-zer∩ determinant« MAT▓ i≤ als∩ N\N« Iε ß ì
  616. thσá coursσá oµá thi≤á operatioε thσ determinan⌠á oµá ┴á i≤á als∩ ì
  617. calculated¼á checkeΣá fo≥á non-zero¼á anΣ storeΣ fo≥ usσá iεá thσ ì
  618. spreadsheet.
  619.  
  620.  
  621. 6) Eigenvalues and Eigenvectors.
  622.    unitary operation with binary result
  623.  
  624.  
  625. Fo≥ ß squarσ matri° ANxN¼á thσ eigenvaluσ i≤ ß scala≥ ∞ fo≥ whicΦ ì
  626. therσ i≤ ß nonzer∩ columε matri° ° ╜ {x1,x2,...,xN² anΣ fo≥ which
  627.  
  628.                             A.x = l.x
  629.  
  630. Thσá vecto≥ ° i≤ aε eigenvectorÖ o≥ Öá characteristicÖá vector«á Thσ ì
  631. matri°á ┴ caε havσ ╬ eigenvalue≤ tha⌠ arσ a⌠ thσ samσ timσá root≤ ì
  632. oµ characteristicÖ equation
  633.  
  634.                        det |B[ lI - A |E] = 0
  635.  
  636. Characteristiπá root≤ arσ als∩ calleΣ latentÖá roots«á ExtraCalc-▒ ì
  637. caεá calculatσá botΦá thσ eigenvalue≤ anΣ thσ eigenvector≤á oµá ß ì
  638. symmetricÖá matri° A«á MAT▒ anΣ MAT│ shoulΣ bσ squarσ matrice≤á oµ ì
  639. N\╬á order«á MAT▓ shoulΣ havσ numbe≥ oµ element≤ greate≥ thaεá o≥ ì
  640. equa∞ t∩ N.è7) SOLUTION OF SYSTEM OF LINEAR EQUATIONS
  641.    binary operation
  642.  
  643.  
  644. ┴á systeφá oµá simultaneousÖá linea≥á equation≤á i≤á ßá systeφá oµ ì
  645. equation≤ tha⌠ arσ linea≥ (oµ thσ firs⌠ degree⌐ iε thσ variables« ì
  646. Matri°á (A⌐á oµá coefficient≤ oµ ßá se⌠á oµá simultaneou≤á linea≥ ì
  647. equation≤á i≤á thσá rectangula≥á arra∙ lef⌠á afte≥á droppinτá thσ ì
  648. variable≤á froφá thσ equation≤ s∩ tha⌠ thσ coefficient≤á oµá likσ ì
  649. variable≤á arσ iε thσ samσ column≤ (zer∩ beinτ useΣ iµ ß terφá i≤ ì
  650. missing)« Iµ thσ systeφ oµ equation≤ is
  651.  
  652.  
  653.             a11x1 + a12x2 + a13x3 + ... + a1MxM = d1
  654.             a21x1 + a22x2 + a23x3 + ... + a2MxM = d2
  655.             a31x1 + a32x2 + a33x3 + ... + a3MxM = d3
  656.             ........................................
  657.             aN1x1 + aN2x2 + aN3x3 + ... + aNMxM = dN
  658.  
  659. then 
  660.  
  661.  
  662.            A = {ai,j} , i=1,2,3,...,N; j=1,2,3,...,M.
  663.  
  664.  
  665. Columε matri° (D⌐ oµ constan⌠ term≤ oµ thσ equation≤ above is
  666.  
  667.  
  668.                      D = {di}, i=1,2,3,...,N
  669.  
  670.  
  671. Thσ systeφ oµ linea≥ equatioε iε matri° forφ is¼ therefore¼ giveε ì
  672. by
  673.  
  674.                              Ax = D 
  675.  
  676. wherσá ° ╜ {xi}¼á i=1,2,3,...,M«á AlthougΦ solutioε oµ thσ systeφ ì
  677. caεá als∩á bσ founΣ b∙ usinτ inversσ matri° A-1ù (a≤á °á ╜á A-1D)¼ ì
  678. ExtraCalc-▒ employ≤ ß differen⌠ procedurσ fo≥ solvinτ thσ system« ì
  679. Thσá methoΣ oµ solutioε i≤ b∙ elimination¼á usinτ larges⌠ pivota∞ ì
  680. divisor« EacΦ stagσ oµ eliminatioε consist≤ oµ interchanginτ row≤ ì
  681. wheε necessar∙ t∩ avoiΣ divisioε b∙ zer∩ o≥ smal∞ elements« 
  682.  
  683. T∩á avoiΣ error≤ MAT▒ (matri° A⌐ shoulΣ bσ oµá N\╬á order¼á whilσ ì
  684. MAT▓ (columε matri° D⌐ oµ N\1¼ anΣ MAT│ (vecto≥ x⌐ oµ N\▒ o≥ 1\N.
  685. .PAè8. ADDDITION
  686.    binary operation
  687.  
  688. Thσá suφá ┴á ½á ┬ oµ tw∩ matrice≤ ┴ anΣ ┬á i≤á thσá matri°á whosσ ì
  689. element≤á arσá formeΣ b∙ thσ rulσ tha⌠ thσ elemen⌠ iε ro≈á iÖá anΣ ì
  690. columεá jÖá i≤á thσ suφ oµ thσ element≤ aijù anΣ bijù iε ro≈á iÖá anΣ ì
  691. columε jÖ oµ ┴ anΣ B« Or¼ if
  692.  
  693.       A = {ai,j} and B = {bi,j} then A + B = {ai,j + bi,j}  
  694.  
  695. Thi≤ operatioε i≤ defineΣ onl∙ iµ ┴ anΣ ┬ havσ thσ samσ numbe≥ oµ ì
  696. row≤á anΣ thσ samσ numbe≥ oµ columns«á Thereforσ MAT1¼á MAT▓á anΣ ì
  697. MAT│ shoulΣ al∞ bσ oµ samσ dimensioε N\M.
  698.  
  699.  
  700. 9. SUBTRACTION
  701.    binary operation
  702.  
  703. Thσá differencσ ┴ - ┬ oµ tw∩ matrice≤ aµ matrice≤ ┴ anΣ ┬ i≤á thσ ì
  704. matri°á whosσ element≤ arσ formeΣ b∙ thσ rulσ tha⌠ thσ elemen⌠ iε ì
  705. ro≈ iÖ anΣ columε jÖ i≤ thσ differencσ oµ thσ element≤ aijù anΣá bijù ì
  706. iε ro≈ iÖ anΣ columε jÖ oµ ┴ anΣ B« Or¼ if
  707.  
  708.       A = {ai,j} and B = {bi,j} then A - B = {ai,j - bi,j}  
  709.  
  710. Thi≤ operatioε i≤ defineΣ onl∙ iµ ┴ anΣ ┬ havσ thσ samσ numbe≥ oµ ì
  711. row≤á anΣ thσ samσ numbe≥ oµ columns«á Thereforσ MAT1¼á MAT▓á anΣ ì
  712. MAT│ shoulΣ al∞ bσ oµ samσ dimensioε N\M.
  713.   
  714.  
  715. 10«áMULTIPLICATION
  716.     binary operation
  717.  
  718. Thσá produc⌠ A┬ oµ matrice≤ ┴ anΣ ┬ i≤ thσ matri° whosσá element≤ ì
  719. arσá determineΣ b∙ thσ rulσ tha⌠ thσ elemen⌠ cijù oµ matri° resul⌠ ì
  720. iεá ro≈á Θ anΣ columε Ω i≤ thσ suφ ove≥ kÖ oµ thσ produc⌠á oµá thσ ì
  721. elemen⌠ aikù iε ro≈ Θ anΣ columε kÖ oµ ┴ b∙ thσ elemen⌠ bkjù iεá ro≈ ì
  722. kÖ anΣ columε Ω oµ B:
  723.  
  724.                                 P    
  725.                      C = ci,j = $#% aikbkj = A.B
  726.                                 k=1
  727.  
  728. herσá i=1,2,...,N╗áá j=1,2,...,M╗á k=1,2,...,P«á Thσá produc⌠á i≤ ì
  729. defineΣá onl∙á iµá thσ numbe≥ ═ oµ column≤ iε ┴ i≤ equa∞á t∩á thσ ì
  730. numbe≥ oµ row≤ iε B«á Therefore¼ MAT▒ shoulΣ bσ oµ N\╨ dimension¼ ì
  731. MAT▓ oµ P\═ anΣ MAT│ oµ N\M«á Iε al∞ othe≥ situation≤ ExtraCalc-▒ ì
  732. wil∞ senΣ an erro≥ messagσ t∩ thσ terminal..PO 8è4. OPERATING INSTRUCTIONS
  733.  
  734.    a.  Manual Operation
  735.  
  736. Iεá thi≤á sectioε wσ describσ al∞ thσ entrie≤ t∩ perforφá onσá oµ ì
  737. abovσá matri°á operation≤ wheε yo⌡ d∩ no⌠ wan⌠ t∩á usσá SuperCalπ ì
  738. eXecutσá file≤ and/o≥ programmablσ keys«á Keyinτ oµ operatioεá i≤ ì
  739. ver∙á slo≈ anΣ tediou≤ iε thi≤ case«á I⌠ i≤ no⌠ expecteΣ tha⌠ thσ ì
  740. averagσá use≥á wil∞ emplo∙ thi≤ optioεá often«á Manua∞á entr∙á i≤ ì
  741. presenteΣáá herσáá t∩á providσá completσá understandinτá oµáá ho≈ ì
  742. ExtraCalc-▒ work≤ anΣ interact≤ witΦ SuperCalπ anΣ CP/M.
  743.  
  744. Al∞ expanation≤ belo≈ arσ giveε t∩ thσ righ⌠ oµ ";"« Line≤ markeΣ ì
  745. witΦá *ùá iε explanationsÖ arσ no⌠ necessar∙ bu⌠á makσá runninτá oµ ì
  746. spreadshee⌠á and/o≥á program≤ smoother«á No≈ inser⌠á you≥á Maste≥ ì
  747. diskettσá iεá drivσá A║á anΣá DnÖ diskettσá iεá drivσá B:«á Invokσ ì
  748. SuperCalπ anΣ creatσ samplσ worksheet.
  749.  
  750. note: 1> is the SuperCalc prompt
  751.  
  752. ^                ; Position the cursor UP*.
  753. =A1<CR>          ; Move cursor to top left corner*.
  754. /SB:$.1,B┴       ╗ Save curren⌠ workshee⌠ iε backu≡ file $.1.
  755. /CA1:BK254,A1,V  ; Eliminate formulae and text in worksheet.
  756. =A1<CR>          ; Move cursor to top left corner*.
  757.  
  758. /OCn1:m1,DB:MAT1,B<CR>      ; Create operand MAT1=n1:m1.
  759. /OCn2:m2,DB:MAT2,B<CR>      ; Create operand MAT2=n2:m2.
  760. /OCn3:m3,DB:MAT3,B<CR>      ; Create operand MAT3=n3:m3.
  761. /QY                         ; Leave SuperCalc.
  762. O╨<CR>                      ╗ Star⌠ firs⌠ prograφ oµ ExtraCalc« In
  763.                             ╗áresponsσ t∩ ExtraCalπ-1á promp⌠
  764.                             ╗ use≥  wil∞ havσ t∩ ente≥ hi≤ choicσ                               ì
  765.                             ; of OPERATION (## 1:10) or EXIT code
  766.                             ╗áú 11«á ExtraCalc-▒  wil∞á terminatσ ì
  767.                             ╗áwitΦáSTO╨ámessage« A╛ i≤ CP/═ prompt
  768. SC<CR>               ; Return to SuperCalc.
  769. /LB:$.1,A            ; Load last version of spreadsheet. 
  770. >                    ; Set cursor direction to the RIGHT.
  771. /GM                  ; Switch to manual recalculation.
  772. /XB:RES▒<CR>         ╗áExecutσáfilσ  RES1.XQ╘. It will load inì
  773.                      ; the result≤ oµ matri° operation.
  774. /XB:RES2<CR>         ; Optional command used with operations # 5 
  775.                      ; and # 6. In case of # 5 it will load value
  776.                      ; of matrix determinant in the first row, just 
  777.                      ; above the current worksheet« Wheε useΣ afte≥
  778.                      ; operatioε ú ╢ i⌠ wil∞ loaΣ eigenvector≤ iε
  779.                      ; locatioε tha⌠ i≤ specified b∙ MAT3.è   b.  Using SuperCalc's XQT file≤
  780.  
  781.  
  782. Significan⌠ numbe≥ oµ entrie≤ iε 4a« i≤ eliminateΣ iµ onσ employ≤ ì
  783. powerfu∞ SuperCalπ  eXecutσ optioε (versioε 1.1▓ anΣ higher⌐ tha⌠ ì
  784. allow≤ yo⌡ t∩ ruε sequence≤ oµ SuperCalπ command≤á automatically« ì
  785. Wσá wil∞á translatσ thσ sequencσ oµ statement≤ describeΣá iεá 4a« ì
  786. usinτ tw∩ eXecutσ file≤ - RES.XQ╘ anΣ SAV.XQT.
  787.  
  788. /XSAV<CR>
  789. /OCn1:m1,DB:MAT1,B<CR>
  790. /OCn2:m2,DB:MAT2,B<CR>
  791. /OCn3:m3,DB:MAT3,B<CR>
  792. /QY
  793. O╨              ; Choice of operation ## 1:10 or EXIT # 11.
  794. SC RES<CR>      ; It is allowed to specify XQT filename when 
  795.                 ; SuperCalc is invoked.
  796. /XB:RES2<CR>    ; Optional for operations 5 and 6.
  797.  
  798.  
  799. Here file SAV.XQT consists of
  800.  
  801.  
  802. =A1
  803. /SB:$.1,B┴ 
  804. /CA1:BK254,A1,V
  805. =A1
  806.  
  807.  
  808.  
  809. and file RES.XQT is
  810.  
  811.  
  812. /LB:$.1,A
  813. >
  814. /GM
  815. /XB:RES▒ì
  816.  
  817.  
  818. note║á N∩á space≤á arσ alloweΣ iε .XQ╘ file≤ afte≥á las⌠á (right⌐ ì
  819. characte≥ oε eacΦ oµ lines.
  820. .PAè   c«  Usinτ Programmablσ Keys and XQT files
  821.  
  822.  
  823. Usinτ XQ╘ file≤ alread∙ simplifieΣ ExtraCalc-▒ operatioε t∩  onl∙ ì
  824. seveε line≤ oµ entrie≤ pe≥ matri° operation« Herσ wσ arσ goinτ t∩ ì
  825. sho≈á thσ conveniencσ oµ usinτ programmablσ key≤ t∩ reducσ numbe≥ ì
  826. oµá character≤ iε eacΦ linσ oµ entries«á Wσ recommenΣ t∩ usσá thσ ì
  827. followinτ programminτ fo≥ you≥ keys
  828.  
  829.  
  830.                         0: /XSAV<CR>
  831.                         1: ,DB:MAT1,B<CR>
  832.                         2: ,DB:MAT2,B<CR>
  833.                         3: ,DB:MAT3,B<CR>
  834.                         6: /XB:RES2<CR>
  835.                         7: /QY
  836.                         9: /OC
  837.  
  838.  
  839.  
  840. Iε thi≤ casσ thσ abovσ sequencσ oµ entrie≤ fo≥ onσ operatioε wil∞ ì
  841. looδ a≤ follows
  842.  
  843. ^0
  844. ^9n1:m1^1    ; User should enter MATn ranges manually, of course.
  845. ^9n2:m2^2     
  846. ^9n3:m3^3
  847. ^7
  848. O╨<CR>       ; Choice of operation ## 1:10 or EXIT # 11.
  849. SC RES<CR> 
  850.  
  851. notσá 1║á N∩ space≤ arσ alloweΣ iε .XQ╘ file≤ afte≥ las⌠á (right⌐ ì
  852. characte≥ oε eacΦ oµ lines.
  853.  
  854. notσ  2║á N∩ space≤ arσ alloweΣ iε ke∙ definitioε line≤ afte≥ las⌠ ì
  855. (right⌐ characte≥ oε thσ linσ.
  856.  
  857. .PAè   d.  Automatic Operation
  858.  
  859.  
  860. T∩á providσ ß trul∙ efficien⌠ anΣ automaticÖ runninτ oµ ExtraCalc-ì
  861. 1¼á onσ shoulΣ usσ CP/M'≤ SUBMIT.CO═ utility«á I⌠ wil∞ securσá aε ì
  862. automatiπá transitioε betweeε SuperCalπ anΣ OP.CO═ (firs⌠ prograφ ì
  863. oµ ExtraCalc-1⌐ anΣ bacδ t∩ SuperCalπ spreadsheet«á Wσá recommenΣ ì
  864. usσ oµ filσ O.SU┬ whicΦ consist≤ oµ tw∩ lines
  865.  
  866. OP
  867. SC RES
  868.  
  869. anΣ to reprograφ ke∙ 7║ as follows
  870.  
  871.  7: /QY1SUBMIT O<CR>
  872.  
  873. No≈ thσ sequencσ oµ operation≤ become≤ ß ver∙ shor⌠ anΣ efficien⌠ ì
  874. onσ indeed
  875.  
  876. ^0              ; Worksheet initialization. 
  877. ^9n1:m1^1       ; Operand (MAT1) specification.
  878. ^9n2:m2^2       ; Operand (MAT2) specification.
  879. ^9n3:m3^3       ; Operand (MAT3) specification.
  880. ^7              ; ExtraCalc-1 will be invoked automatically. User 
  881.                 ; should select one of ExtraCalc-1 options (1:11). 
  882.                 ; SuperCalc will be automatically invoked at the
  883.                 ╗ácompletitioεáoµ selecteΣámatri° operation.
  884.                 ; Results of computation will be automatically 
  885.                 ╗áloaded iε thσ area specified by outpu⌠ámatri° 
  886.                 ; operanΣ MAT2 and/or MAT3.
  887.  
  888.  
  889. Le⌠ u≤ reminΣ thσ use≥ tha⌠ file≤ RES.XQT¼á SAV.XQ╘ anΣ O.SU┬ arσ ì
  890. provideΣá oεá thσá distributioε diskette«á You≥á key≤á shoulΣá bσ ì
  891. programmeΣ a≤ summarizeΣ below
  892.  
  893.  
  894.                         0: /XSAV<CR>
  895.                         1: ,DB:MAT1,B<CR>
  896.                         2: ,DB:MAT2,B<CR>
  897.                         3: ,DB:MAT3,B<CR>
  898.                         6: /XB:RES2<CR>
  899.                         7: /QY1SUBMIT O<CR>
  900.                         9: /OC
  901.  
  902.  
  903. notσá 3║á Maste≥ diskettσ shoulΣ bσ unprotecteΣ iµ SUBMIT.CO═á i≤ ì
  904. used..PO 8è5. NUMERIC EXAMPLES
  905.  
  906.  
  907. Iε thσ firs⌠ examplσ (transpositition⌐ aε initia∞ speadshee⌠ wil∞ ì
  908. bσá thσ onσ presenteΣ oε Figurσ 2«á Forma⌠ oµ eacΦá examplσá wil∞ ì
  909. consis⌠ of
  910.  
  911. a. Sequence of entries as outlined in section 4d. (Auto. Operation).
  912. b. Answer to ExtraCalc-1 prompt (there is only one)
  913. c. Resulting Speadsheet 
  914. d. Comments (sometimes) and additional entry for operations 5, 6. 
  915.  
  916.  
  917. .PO 0
  918.  
  919.  
  920.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  921.   1|        1        2        3        4        5        6        7        8
  922.   2|        5        5        5        5        5        5        5        5
  923.   3|       -1        1       -1        1       -1        1       -1        1
  924.   4|        2        4        2        1        4        5        5        6
  925.   5|                                                                        
  926.   6|                                                                        
  927.   7|        0        0        0        0                 1                 0
  928.   8|        0        0        0        0                 2                 0
  929.   9|        0        0        0        0                 3                 0
  930.  10|        0        0        0        0                 4                 0
  931.  11|        0        0        0        0        0                           
  932.  12|        0        0        0        0                 0                  
  933.  13|        0        0        0        0                          0         
  934.  14|        0        0        0        0                                   0
  935.  15|                                                                        
  936.  16|                                                                        
  937.  17|        1        4       -6       -2        1        2       -3        4
  938.  18|        4        3        5        7        2       -3        4        7
  939.  19|       -6        5        1       -1        5        3        0        6
  940.  20|       -2        7       -1        3        7       -1       -5       -2
  941.  
  942. .PO 8
  943.  
  944.                             Figure 2
  945.  
  946.  
  947.  
  948. Resultinτá spreadshee⌠á afte≥á eacΦ operatioε wil∞á servσá a≤á aε ì
  949. initia∞ speadshee⌠ oµ operatioε tha⌠ follow≤ it.
  950.  
  951. note║á Kee≡á workshee⌠ number≤ iε DEFAUL╘ forma⌠ only«á Otherwisσ ì
  952. thσ ExtraCalc-▒ wil∞ misinterpre⌠ o≥ misusσ thσ data.
  953. .PAè1)  TRANSPOSITION (MAIN DIAGONAL)
  954.  
  955.  
  956. =================================================================
  957. a.                     `` b.
  958.                        `` 
  959. ^0                     `` 1<CR> 
  960. ^9A1:H4^1              ``
  961. ^9A7:D14^2             ``
  962. ^7                     `
  963. =================================================================
  964. c.`
  965. ==
  966. .PO 0
  967.  
  968.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  969.   1|        1        2        3        4        5        6        7        8
  970.   2|        5        5        5        5        5        5        5        5
  971.   3|       -1        1       -1        1       -1        1       -1        1
  972.   4|        2        4        2        1        4        5        5        6
  973.   5|                                                                        
  974.   6|                                                                        
  975.   7|        1        5       -1        2                 1                 0
  976.   8|        2        5        1        4                 2                 0
  977.   9|        3        5       -1        2                 3                 0
  978.  10|        4        5        1        1                 4                 0
  979.  11|        5        5       -1        4        0                           
  980.  12|        6        5        1        5                 0                  
  981.  13|        7        5       -1        5                          0         
  982.  14|        8        5        1        6                                   0
  983.  15|                                                                        
  984.  16|                                                                        
  985.  17|        1        4       -6       -2        1        2       -3        4
  986.  18|        4        3        5        7        2       -3        4        7
  987.  19|       -6        5        1       -1        5        3        0        6
  988.  20|       -2        7       -1        3        7       -1       -5       -2
  989.  
  990. .PO 8
  991.  
  992.                             Figure 3
  993. .PAè2)  TRANSPOSITION (SECONDARY DIAGONAL)
  994.  
  995. =================================================================
  996. a.                     `` b.
  997.                        `` 
  998. ^0                     `` 2<CR> 
  999. ^9A7:D14^1             ``
  1000. ^9A1:H4^2              ``
  1001. ^7                     `
  1002. =================================================================
  1003. c.`
  1004. ==
  1005. .PO 0
  1006.  
  1007.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1008.   1|        6        5        5        4        1        2        4        2
  1009.   2|        1       -1        1       -1        1       -1        1       -1
  1010.   3|        5        5        5        5        5        5        5        5
  1011.   4|        8        7        6        5        4        3        2        1
  1012.   5|                                                                        
  1013.   6|                                                                        
  1014.   7|        1        5       -1        2                 1                 0
  1015.   8|        2        5        1        4                 2                 0
  1016.   9|        3        5       -1        2                 3                 0
  1017.  10|        4        5        1        1                 4                 0
  1018.  11|        5        5       -1        4        0                           
  1019.  12|        6        5        1        5                 0                  
  1020.  13|        7        5       -1        5                          0         
  1021.  14|        8        5        1        6                                   0
  1022.  15|                                                                        
  1023.  16|                                                                        
  1024.  17|        1        4       -6       -2        1        2       -3        4
  1025.  18|        4        3        5        7        2       -3        4        7
  1026.  19|       -6        5        1       -1        5        3        0        6
  1027.  20|       -2        7       -1        3        7       -1       -5       -2
  1028.  
  1029. .PO 8
  1030.  
  1031.                             Figure 4
  1032. .PAè3)  REFLECTION IN A COLUMN
  1033.  
  1034. =================================================================
  1035. a.                     `` b.
  1036.                        `` 
  1037. ^0                     `` 3<CR> 
  1038. ^9A7:D14^1             ``
  1039. ^9A7:D14^2             ``
  1040. ^7                     `
  1041. =================================================================
  1042. c.`
  1043. ==
  1044. .PO 0
  1045.  
  1046.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1047.   1|        6        5        5        4        1        2        4        2
  1048.   2|        1       -1        1       -1        1       -1        1       -1
  1049.   3|        5        5        5        5        5        5        5        5
  1050.   4|        8        7        6        5        4        3        2        1
  1051.   5|                                                                        
  1052.   6|                                                                        
  1053.   7|        8        5        1        6                 1                 0
  1054.   8|        7        5       -1        5                 2                 0
  1055.   9|        6        5        1        5                 3                 0
  1056.  10|        5        5       -1        4                 4                 0
  1057.  11|        4        5        1        1        0                           
  1058.  12|        3        5       -1        2                 0                  
  1059.  13|        2        5        1        4                          0         
  1060.  14|        1        5       -1        2                                   0
  1061.  15|                                                                        
  1062.  16|                                                                        
  1063.  17|        1        4       -6       -2        1        2       -3        4
  1064.  18|        4        3        5        7        2       -3        4        7
  1065.  19|       -6        5        1       -1        5        3        0        6
  1066.  20|       -2        7       -1        3        7       -1       -5       -2
  1067. .PO 8
  1068.  
  1069.  
  1070.                             Figure 5
  1071. .PAè4)  REFLECTION IN A ROW
  1072.  
  1073. =================================================================
  1074. a.                     `` b.
  1075.                        `` 
  1076. ^0                     `` 4<CR> 
  1077. ^9A7:D14^1             ``
  1078. ^9A7:D14^2             ``
  1079. ^7                     `
  1080. =================================================================
  1081. c.`
  1082. ==
  1083. .PO 0
  1084.  
  1085.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1086.   1|        6        5        5        4        1        2        4        2
  1087.   2|        1       -1        1       -1        1       -1        1       -1
  1088.   3|        5        5        5        5        5        5        5        5
  1089.   4|        8        7        6        5        4        3        2        1
  1090.   5|                                                                        
  1091.   6|                                                                        
  1092.   7|        6        1        5        8                 1                 0
  1093.   8|        5       -1        5        7                 2                 0
  1094.   9|        5        1        5        6                 3                 0
  1095.  10|        4       -1        5        5                 4                 0
  1096.  11|        1        1        5        4        0                           
  1097.  12|        2       -1        5        3                 0                  
  1098.  13|        4        1        5        2                          0         
  1099.  14|        2       -1        5        1                                   0
  1100.  15|                                                                        
  1101.  16|                                                                        
  1102.  17|        1        4       -6       -2        1        2       -3        4
  1103.  18|        4        3        5        7        2       -3        4        7
  1104.  19|       -6        5        1       -1        5        3        0        6
  1105.  20|       -2        7       -1        3        7       -1       -5       -2
  1106. .PO 8
  1107.  
  1108.                             Figure 6
  1109. .PAè5)  INVERSION
  1110.  
  1111. =================================================================
  1112. a.                     `` b.
  1113.                        `` 
  1114. ^0                     `` 5<CR> 
  1115. ^9A17:D20^1            ``
  1116. ^9E17:H20^2            ``
  1117. ^7                     `
  1118. =================================================================
  1119. c.`
  1120. ==
  1121. .PO 0
  1122.  
  1123.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1124.   1|        6        5        5        4        1        2        4        2
  1125.   2|        1       -1        1       -1        1       -1        1       -1
  1126.   3|        5        5        5        5        5        5        5        5
  1127.   4|        8        7        6        5        4        3        2        1
  1128.   5|                                                                        
  1129.   6|                                                                        
  1130.   7|        6        1        5        8                 1                 0
  1131.   8|        5       -1        5        7                 2                 0
  1132.   9|        5        1        5        6                 3                 0
  1133.  10|        4       -1        5        5                 4                 0
  1134.  11|        1        1        5        4        0                           
  1135.  12|        2       -1        5        3                 0                  
  1136.  13|        4        1        5        2                          0         
  1137.  14|        2       -1        5        1                                   0
  1138.  15|                                                                        
  1139.  16|                                                                        
  1140.  17|        1        4       -6       -2 .2206572 .1924882 .0892019 -.272300
  1141.  18|        4        3        5        7 .1924882  .157277 .1948356 -.173709
  1142.  19|       -6        5        1       -1 .0892019 .1948357 .2488263 -.312207
  1143.  20|       -2        7       -1        3 -.272300 -.173709 -.312207 .4530516
  1144. .PO 8
  1145.  
  1146.                             Figure 7
  1147. .PAè
  1148.  
  1149.  
  1150. =================================================================
  1151. d. To display value of determinant one should type in
  1152.   
  1153. ^6
  1154. =================================================================
  1155.  
  1156.  
  1157.                      Resulting spreadsheet. 
  1158.  
  1159. .PO 0
  1160.  
  1161.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1162.   1|DET=      -852.000                                                      
  1163.   2|        6        5        5        4        1        2        4        2
  1164.   3|        1       -1        1       -1        1       -1        1       -1
  1165.   4|        5        5        5        5        5        5        5        5
  1166.   5|        8        7        6        5        4        3        2        1
  1167.   6|                                                                        
  1168.   7|                                                                        
  1169.   8|        6        1        5        8                 1                 0
  1170.   9|        5       -1        5        7                 2                 0
  1171.  10|        5        1        5        6                 3                 0
  1172.  11|        4       -1        5        5                 4                 0
  1173.  12|        1        1        5        4        0                           
  1174.  13|        2       -1        5        3                 0                  
  1175.  14|        4        1        5        2                          0         
  1176.  15|        2       -1        5        1                                   0
  1177.  16|                                                                        
  1178.  17|                                                                        
  1179.  18|        1        4       -6       -2 .2206572 .1924882 .0892019 -.272300
  1180.  19|        4        3        5        7 .1924882  .157277 .1948356 -.173709
  1181.  20|       -6        5        1       -1 .0892019 .1948357 .2488263 -.312207
  1182.  21|       -2        7       -1        3 -.272300 -.173709 -.312207 .4530516
  1183.  
  1184. .PO 0
  1185.  
  1186.                             Figure 8
  1187. .PAè6)  EIGENVALUES AND EIGENVECTORS
  1188.  
  1189.  
  1190. =================================================================
  1191. a.                     `` b.
  1192.                        `` 
  1193. ^0                     `` 6<CR> 
  1194. ^9E18:H21^1            ``
  1195. ^9E12:H15^2            ``
  1196. ^9E2:H5^3              ``
  1197. ^7                     `
  1198. =================================================================
  1199. c.`
  1200. ==
  1201. .PO 0
  1202.  
  1203.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1204.   1|DET=      -852.000                                                      
  1205.   2|        6        5        5        4        1        2        4        2
  1206.   3|        1       -1        1       -1        1       -1        1       -1
  1207.   4|        5        5        5        5        5        5        5        5
  1208.   5|        8        7        6        5        4        3        2        1
  1209.   6|                                                                        
  1210.   7|                                                                        
  1211.   8|        6        1        5        8                 1                 0
  1212.   9|        5       -1        5        7                 2                 0
  1213.  10|        5        1        5        6                 3                 0
  1214.  11|        4       -1        5        5                 4                 0
  1215.  12|        1        1        5        4 .9334186                           
  1216.  13|        2       -1        5        3          .1477654                  
  1217.  14|        4        1        5        2                   .0915645         
  1218.  15|        2       -1        5        1                            -.092936
  1219.  16|                                                                        
  1220.  17|                                                                        
  1221.  18|        1        4       -6       -2 .2206572 .1924882 .0892019 -.272300
  1222.  19|        4        3        5        7 .1924882  .157277 .1948356 -.173709
  1223.  20|       -6        5        1       -1 .0892019 .1948357 .2488263 -.312207
  1224.  21|       -2        7       -1        3 -.272300 -.173709 -.312207 .4530516
  1225. .PO 8
  1226.  
  1227.                             Figure 9
  1228. .PAè
  1229.  
  1230. =================================================================
  1231. d.  To display Eigenvectors one should type in
  1232.  
  1233. ^6
  1234. =================================================================
  1235.  
  1236.  
  1237.                      Resulting spreadsheet. 
  1238.  
  1239. .PO 0
  1240.  
  1241.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1242.   1|DET=      -852.000                                                      
  1243.   2|        6        5        5        4 .4196722 -.742605 -.021986 -.521469
  1244.   3|        1       -1        1       -1 .3744284 -.191104 .7270643 .5428264
  1245.   4|        5        5        5        5 .4711288 .6290308 .3184456 -.530048
  1246.   5|        8        7        6        5 -.679497 -.127817 .6078543 -.390461
  1247.   6|                                                                        
  1248.   7|                                                                        
  1249.   8|        6        1        5        8                 1                 0
  1250.   9|        5       -1        5        7                 2                 0
  1251.  10|        5        1        5        6                 3                 0
  1252.  11|        4       -1        5        5                 4                 0
  1253.  12|        1        1        5        4 .9334186                           
  1254.  13|        2       -1        5        3          .1477654                  
  1255.  14|        4        1        5        2                   .0915645         
  1256.  15|        2       -1        5        1                            -.092936
  1257.  16|                                                                        
  1258.  17|                                                                        
  1259.  18|        1        4       -6       -2 .2206572 .1924882 .0892019 -.272300
  1260.  19|        4        3        5        7 .1924882  .157277 .1948356 -.173709
  1261.  20|       -6        5        1       -1 .0892019 .1948357 .2488263 -.312207
  1262.  21|       -2        7       -1        3 -.272300 -.173709 -.312207 .4530516
  1263.  
  1264.  
  1265. .PO 8
  1266.  
  1267.                             Figure 10
  1268. .PAè     7)  SOLUTION OF SYSTEM OF LINEAR EQUATIONS
  1269.  
  1270. =================================================================
  1271. a.                     `` b.
  1272.                        `` 
  1273. ^0                     `` 7<CR> 
  1274. ^9A18:D21^1            ``
  1275. ^9F8:F11^2             ``
  1276. ^9H8:H11^3             ``
  1277. ^7                     `
  1278. =================================================================
  1279. c.`
  1280. ==
  1281. .PO 0
  1282.  
  1283.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1284.   1|DET=      -852.000                                                      
  1285.   2|        6        5        5        4 .4196722 -.742605 -.021986 -.521469
  1286.   3|        1       -1        1       -1 .3744284 -.191104 .7270643 .5428264
  1287.   4|        5        5        5        5 .4711288 .6290308 .3184456 -.530048
  1288.   5|        8        7        6        5 -.679497 -.127817 .6078543 -.390461
  1289.   6|                                                                        
  1290.   7|                                                                        
  1291.   8|        6        1        5        8                 1          -.215962
  1292.   9|        5       -1        5        7                 2          .3967136
  1293.  10|        5        1        5        6                 3          -.023474
  1294.  11|        4       -1        5        5                 4          .2558685
  1295.  12|        1        1        5        4 .9334186                           
  1296.  13|        2       -1        5        3          .1477654                  
  1297.  14|        4        1        5        2                   .0915645         
  1298.  15|        2       -1        5        1                            -.092936
  1299.  16|                                                                        
  1300.  17|                                                                        
  1301.  18|        1        4       -6       -2 .2206572 .1924882 .0892019 -.272300
  1302.  19|        4        3        5        7 .1924882  .157277 .1948356 -.173709
  1303.  20|       -6        5        1       -1 .0892019 .1948357 .2488263 -.312207
  1304.  21|       -2        7       -1        3 -.272300 -.173709 -.312207 .4530516
  1305.  
  1306. .PO 8
  1307.                             Figure 11
  1308.  
  1309. ExtraCalc-▒á wil∞á displa∙ (durinτ execution⌐ ß valuσ oµá minima∞ ì
  1310. pivo⌠á tha⌠ wa≤ useΣ iε computations«á Iµ i⌠ think≤ tha⌠ pivo⌠ i≤ ì
  1311. to∩ smal∞, thσ warning
  1312.  
  1313.                     SYSTEM IS ALMOST SINGULAR
  1314.  
  1315. wil∞á bσá displayed«á I⌠ doe≤ no⌠ alway≤ meaεá tha⌠á solutioεá i≤ ì
  1316. incorrec⌠ o≥ no⌠ precisσ bu⌠ serve≤ t∩ aler⌠ thσ user.
  1317. .PAè     8)  ADDITION
  1318.  
  1319.  
  1320. =================================================================
  1321. a.                     `` b.
  1322.                        `` 
  1323. ^0                     `` 8<CR> 
  1324. ^9A2:H5^1              ``
  1325. ^9A18:H21^2            ``
  1326. ^9A18:H21^3            ``
  1327. ^7                     `
  1328. =================================================================
  1329. c.`
  1330. ==
  1331. .PO 0
  1332.  
  1333.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1334.   1|DET=      -852.000                                                      
  1335.   2|        6        5        5        4 .4196722 -.742605 -.021986 -.521469
  1336.   3|        1       -1        1       -1 .3744284 -.191104 .7270643 .5428264
  1337.   4|        5        5        5        5 .4711288 .6290308 .3184456 -.530048
  1338.   5|        8        7        6        5 -.679497 -.127817 .6078543 -.390461
  1339.   6|                                                                        
  1340.   7|                                                                        
  1341.   8|        6        1        5        8                 1          -.215962
  1342.   9|        5       -1        5        7                 2          .3967136
  1343.  10|        5        1        5        6                 3          -.023474
  1344.  11|        4       -1        5        5                 4          .2558685
  1345.  12|        1        1        5        4 .9334186                           
  1346.  13|        2       -1        5        3          .1477654                  
  1347.  14|        4        1        5        2                   .0915645         
  1348.  15|        2       -1        5        1                            -.092936
  1349.  16|                                                                        
  1350.  17|                                                                        
  1351.  18|        7        9       -1        2 .6403294 -.550117 .0672158 -.793769
  1352.  19|        5        2        6        6 .5669166 -.033827 .9218999 .3691175
  1353.  20|       -1       10        6        4 .5603307 .8238665 .5672719 -.842254
  1354.  21|        6       14        5        8 -.951798 -.301526 .2956478 .0625908
  1355. .PO 8
  1356.  
  1357.  
  1358.                             Figure 12
  1359. .PAè     9)  SUBTRACTION
  1360.  
  1361.  
  1362. =================================================================
  1363. a.                     `` b.
  1364.                        `` 
  1365. ^0                     `` 9<CR> 
  1366. ^9A2:H5^1              ``
  1367. ^9A18:H21^2            ``
  1368. ^9A18:H21^3            ``
  1369. ^7                     `
  1370. =================================================================
  1371. c.`
  1372. ==
  1373. .PO 0
  1374.  
  1375.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1376.   1|DET=      -852.000                                                      
  1377.   2|        6        5        5        4 .4196722 -.742605 -.021986 -.521469
  1378.   3|        1       -1        1       -1 .3744284 -.191104 .7270643 .5428264
  1379.   4|        5        5        5        5 .4711288 .6290308 .3184456 -.530048
  1380.   5|        8        7        6        5 -.679497 -.127817 .6078543 -.390461
  1381.   6|                                                                        
  1382.   7|                                                                        
  1383.   8|        6        1        5        8                 1          -.215962
  1384.   9|        5       -1        5        7                 2          .3967136
  1385.  10|        5        1        5        6                 3          -.023474
  1386.  11|        4       -1        5        5                 4          .2558685
  1387.  12|        1        1        5        4 .9334186                           
  1388.  13|        2       -1        5        3          .1477654                  
  1389.  14|        4        1        5        2                   .0915645         
  1390.  15|        2       -1        5        1                            -.092936
  1391.  16|                                                                        
  1392.  17|                                                                        
  1393.  18|       -1       -4        6        2 -.220657 -.192488 -.089202 .2723004
  1394.  19|       -4       -3       -5       -7 -.192488 -.157277 -.194836 .1737089
  1395.  20|        6       -5       -1        1 -.089202 -.194836 -.248826 .3122066
  1396.  21|        2       -7        1       -3 .2723004 .1737089 .3122065 -.453052
  1397. .PO 8
  1398.  
  1399.  
  1400.                             Figure 13
  1401. .PAè     10) MULTIPLICATION 
  1402.  
  1403.  
  1404. =================================================================
  1405. a.                     `` b.
  1406.                        `` 
  1407. ^0                     `` 10<CR> 
  1408. ^9A18:D21^1            ``
  1409. ^9E18:H21^2            ``
  1410. ^9E2:H5^3              ``
  1411. ^7                     `
  1412. =================================================================
  1413. c.`
  1414. ==
  1415.  
  1416. .PO 0
  1417.  
  1418.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1419.   1|DET=      -852.000                                                      
  1420.   2|        6        5        5        4 .9999994 -2.09e-7 -.000001 .0000004
  1421.   3|        1       -1        1       -1 .0000001        1 .0000002 -2.38e-7
  1422.   4|        5        5        5        5        0 .0000004 .9999997 -2.98e-7
  1423.   5|        8        7        6        5 -1.19e-7 .0000003 -2.38e-7 .9999999
  1424.   6|                                                                        
  1425.   7|                                                                        
  1426.   8|        6        1        5        8                 1          -.215962
  1427.   9|        5       -1        5        7                 2          .3967136
  1428.  10|        5        1        5        6                 3          -.023474
  1429.  11|        4       -1        5        5                 4          .2558685
  1430.  12|        1        1        5        4 .9334186                           
  1431.  13|        2       -1        5        3          .1477654                  
  1432.  14|        4        1        5        2                   .0915645         
  1433.  15|        2       -1        5        1                            -.092936
  1434.  16|                                                                        
  1435.  17|                                                                        
  1436.  18|       -1       -4        6        2 -.220657 -.192488 -.089202 .2723004
  1437.  19|       -4       -3       -5       -7 -.192488 -.157277 -.194836 .1737089
  1438.  20|        6       -5       -1        1 -.089202 -.194836 -.248826 .3122066
  1439.  21|        2       -7        1       -3 .2723004 .1737089 .3122065 -.453052
  1440. .PO 8
  1441.  
  1442.                             Figure 14
  1443. .PAèAfte≥á reformattinτá 
  1444.  
  1445.  
  1446.  
  1447. /FE2:H5,$<CR>
  1448.  
  1449. .PO 0
  1450.  
  1451.     |   A   ||   B   ||   C   ||   D   ||   E   ||   F   ||   G   ||   H   |
  1452.   1|DET=      -852.000                                                      
  1453.   2|        6        5        5        4     1.00      .00      .00      .00
  1454.   3|        1       -1        1       -1      .00     1.00      .00      .00
  1455.   4|        5        5        5        5      .00      .00     1.00      .00
  1456.   5|        8        7        6        5      .00      .00      .00     1.00
  1457.   6|                                                                        
  1458.   7|                                                                        
  1459.   8|        6        1        5        8                 1          -.215962
  1460.   9|        5       -1        5        7                 2          .3967136
  1461.  10|        5        1        5        6                 3          -.023474
  1462.  11|        4       -1        5        5                 4          .2558685
  1463.  12|        1        1        5        4 .9334186                           
  1464.  13|        2       -1        5        3          .1477654                  
  1465.  14|        4        1        5        2                   .0915645         
  1466.  15|        2       -1        5        1                            -.092936
  1467.  16|                                                                        
  1468.  17|                                                                        
  1469.  18|       -1       -4        6        2 -.220657 -.192488 -.089202 .2723004
  1470.  19|       -4       -3       -5       -7 -.192488 -.157277 -.194836 .1737089
  1471.  20|        6       -5       -1        1 -.089202 -.194836 -.248826 .3122066
  1472.  21|        2       -7        1       -3 .2723004 .1737089 .3122065 -.453052
  1473.  
  1474. .PO 8
  1475.  
  1476.                            Figure 14a
  1477.  
  1478.  
  1479.  
  1480. I⌠ i≤ clea≥ tha⌠ thσ resul⌠ (E2:H5⌐ i≤ aε identit∙ matrix« .PO 8
  1481. .PAè6. COMPOSITE OPERATIONS. APPLICATIONS.
  1482.  
  1483. Usinτá successivσá matri°á operation≤ a≤ outlineΣ abovσá onσá ma∙ ì
  1484. solvσá ßá tremendou≤ numbe≥ oµ morσ comple°á problem≤á oµá matri° ì
  1485. algebra¼á operation≤ research¼ anΣ iε general¼ man∙ problem≤ tha⌠ ì
  1486. allo≈á matri°á description«á Iε thi≤ sectioε wσá wil∞á illustratσ ì
  1487. time-serie≤á analysi≤á usinτ ß s∩ calleΣ  Leas⌠ Square≤á Techiquσ ì
  1488. whicΦá serve≤ a≤ ß foundatioε oµ linea≥ anΣ nonlinea≥á regressioε ì
  1489. analysis.
  1490.  
  1491. a. Least Squares Technique
  1492.  
  1493. Suppose that we have made a series of observations
  1494.  
  1495.                       t1,y1,t2,y2,...,tN,yN
  1496.  
  1497. tk can be interpreted as time instants, while
  1498. yk is observed value (price, temperature, etc.)
  1499.  
  1500. I⌠á i≤ ofteε assumeΣ tha⌠ thσ observeΣ valuσ (y⌐ i≤ ß functioε oµ ì
  1501. time (t), or
  1502.  
  1503.                             y = y(t)                       (1)
  1504.  
  1505. Defininτá thi≤á dependenc∙ iε ß morσ specifiπ wa∙á wσá ofteεá ma∙ ì
  1506. writσ it down as
  1507.                               M 
  1508.                           y = $#% ap.fp(t)                   (2)
  1509.                               p=1
  1510.  
  1511. where ap are constants, and
  1512.       fp(t⌐á arσ choseε systeφ oµ function≤ sucΦ a≤á polynomials¼ ì
  1513.       trigonometriπ functions¼ exponential≤ anΣ s∩ on.
  1514.  
  1515. Example≤ oµ fpù arσ t2ù ½ ⌠ -3¼á sin3t-con5t¼ e-2tù - -t1« Iε thσ casσ ì
  1516. oµ polynomia∞ regressioε fp(t⌐ ╜ tp« Oµ coursσ wσ ma∙ rewritσ (2⌐ ì
  1517. fo≥ aε arbitrar∙ k-tΦ observation
  1518.  
  1519.                        M 
  1520.                   yk = $#% ap.fp(tk), k=1,2,...,N            (3) 
  1521.                        p=1
  1522.  
  1523. Or in the matrix form
  1524.  
  1525.  
  1526.              ┘ ╜ ╞ «áa¼á FNxMù ╜ {fp(tk}¼áaMx1ù ╜ {ap}       (4)
  1527.  
  1528. Thσ probleφ oµ Leas⌠ Square≤ Techiquσ i≤ t∩ finΣ vecto≥ ß ╜ {ap}¼ ìèp=1,2,...,M╗ tha⌠ minimize≤ ß form
  1529.  
  1530.  
  1531.                             N        M               
  1532.              |B[ Y - F.a |E]2 = $#% |B[ yk - $#% ap.fp(tk) |E]2        (5)
  1533.                             k=1      p=1 
  1534.  
  1535. B∙ takinτ partia∞ derivative≤ witΦ respec⌠ t∩ apù anΣ puttinτ theφ ì
  1536. equa∞ t∩ zer∩ wσ have
  1537.  
  1538.  
  1539.                           FT.F.a = FT.Y                    (6)
  1540.  
  1541. Thereforσ apù caε bσ founΣ iε fivσ step≤ usinτ ExtraCalc-1
  1542.  
  1543.  
  1544. 1) Calculate matrix F using SuperCalc built in functions
  1545.  
  1546. 2) Calculate transpose of F using ExtraCalc-1
  1547.  
  1548. 3) Calculate FT.F = A
  1549.  
  1550. 4) Calculate FT.Y = D
  1551.  
  1552. 5) Solve system of equations A.a = D with respect to a.
  1553.  
  1554. Applications to forecasting and trend analysis
  1555.  
  1556. T∩á usσá thσá obtaineΣá regresioεá model¼á onσá simpl∙á ma∙á pluτ ì
  1557. differen⌠áá number≤áá specifyinτá tkùá outsidσá oµáá interva∞áá oµ ì
  1558. observation«á Iµ thσ systeφ oµ fpù function≤ wa≤ choseεá correctl∙ ì
  1559. (baseΣ oε somσ theoretica∞ analysi≤ oµ process¼á o≥ b∙ shee≥ lucδ ì
  1560. thσ predictioε caε bσ ver∙ precise« Oµ coursσ onσ shoulΣ no⌠ takσ ì
  1561. moment≤á oµá timσ tkù to∩ fa≥ iε thσ futurσ bu⌠ rathe≥ iε 5Ñá - 7Ñ ì
  1562. rangσ oµ observatioε interva∞ length« 
  1563.  
  1564. Fo≥á morσá informatioεá oεá ho≈á t∩á usσá regressioεá model≤áá iε ì
  1565. forecasting¼ interpolatioε anΣ trenΣ analysi≤ onσ shoulΣ refe≥ t∩ ì
  1566. aε appropriatσ booδ oε Probability and Statistics.
  1567.  
  1568.  
  1569. b. Numeric Example: Dow Jones Regression Model.
  1570.  
  1571. A≤ aε illustratioε oµ abovσ techniquσ wσ wil∞ conside≥ ßá probleφ ì
  1572. oµ D╩ forecasting«á Ou≥ initia∞ spreadshee⌠ i≤ showε oε Figurσ 1╡ ì
  1573. anΣá consist≤á oµá tw∩ column≤ oµ ~10░á observations«á Thσá firs⌠ ì
  1574. columεá i≤á ß datσ oµ observation¼á whilσ thσ seconΣá i≤á closinτ ì
  1575. valuσ oµ D╩ inde° (Pk⌐ oε thi≤ (k-th⌐ week.è.PN 39
  1576. .OP
  1577. Wσá wil∞ usσ firs⌠ 5░ observation≤ t∩ obtaiε thσ mode∞ anΣá late≥ ì
  1578. usσ othe≥ 5▓ observation≤ t∩ comparσ actua∞ anΣ forecasteΣ value≤ ì
  1579. of Dow index.
  1580.  
  1581.  
  1582. 1⌐ Le⌠ u≤ firs⌠ blanδ thσ las⌠ 5▓ row≤ oµ observation≤ anΣ definσ ì
  1583. fp(tk⌐ as
  1584.  
  1585.  
  1586. fp(tk⌐ ╜ a1.Pk-1ù ½ a2.(Pk-2-Pk-1⌐ ½ a3.(Pk-3-Pk-2⌐ ½ a4.(Pk-4-Pk-3)
  1587.  
  1588.  
  1589. I⌠á i≤ goinτ t∩ meaε tha⌠ Presen⌠ Valuσ oµ D╩ inde° i≤ ß functioε ì
  1590. oµ last four week indices«     
  1591.  
  1592.  
  1593. Sequencσ oµ SupecCalπ statementsÖ fo≥ thσ abovσ wil∞ be
  1594.  
  1595.  
  1596. /BA52:B102<CR>
  1597. >
  1598. =C6
  1599. B5<CR>
  1600. B5-B4<CR>
  1601. B4-B3<CR>
  1602. B3-B2<CR>
  1603. /RC6:F6,C7:C51<CR>
  1604. !
  1605.  
  1606. Resultinτá matri° (F⌐ i≤ 46\┤ anΣ occupie≤ workshee⌠ C6:F5▒á (seσ ì
  1607. Figurσ 16).
  1608. .PAè.PN 41
  1609. .OP
  1610. 2)  Calculate transpose of F using ExtraCalc-1.
  1611.  
  1612. Sequence of SuperCalc and ExtraCalc-1 statements for this will be
  1613.  
  1614. =C2
  1615. 0
  1616. /RC2,D2:AV2<CR>
  1617. /RC2:AV2,C3:C5<CR>
  1618. ^0
  1619. ^9C6:F51^1
  1620. ^9C2:AV5^2
  1621. ^7
  1622.  
  1623. Answer to ExtraCalc-1 prompt is 1.
  1624.  
  1625. 3) Calculate FT.F = A
  1626.  
  1627. Sequence of ExtraCalc-1 statements for this will be
  1628.  
  1629. ^0
  1630. ^9C2:AV5^1
  1631. ^9C6:F51^2
  1632. ^9C6:F9^3
  1633. ^7
  1634.  
  1635. Answe≥ t∩ ExtraCalc-▒ promp⌠ i≤ 10«á Afte≥ thi≤ operatioε wσá ma∙ ì
  1636. blanδá unnecessar∙á no≈ part≤ oµ worksheet«á Wheεá creatinτá MATnÖ ì
  1637. (matri° operand⌐ KEE╨ WORKSHEE╘ I╬ DEFAULTÖ FORMA╘ ONL┘ !!!
  1638.  
  1639. /BC10:F51<CR>
  1640.  
  1641. 4) Calculate FT.Y = D
  1642.  
  1643. Sequence of ExtraCalc-1 statements for this will be
  1644.  
  1645. ^0
  1646. ^9B6:B51^2
  1647. ^9C2:C5^3
  1648. ^7
  1649.  
  1650. Answe≥á t∩ ExtraCalc-▒ promp⌠ i≤ 10«á Afte≥ thi≤ operatioε wσ ma∙ ì
  1651. blanδá unnecessar∙á no≈ part≤ oµá worksheet«á KEE╨á WORKSHEE╘á I╬ ì
  1652. DEFAULTÖ FORMA╘ ONL┘ !!!
  1653.  
  1654. /BD2:AV5<CR>
  1655. Resulting worksheet is shown below (Figure 17).
  1656. .PAè.PN 43
  1657. .OP
  1658. 5) Solve system of equations A.a = D with respect to a.
  1659.  
  1660.  
  1661. Sequence of ExtraCalc-1 statements for this will be
  1662.  
  1663. ^0
  1664. ^9C6:F9^1
  1665. ^9C2:C5^2
  1666. ^9C2:C5^3
  1667. ^7
  1668.  
  1669. Answe≥á t∩ ExtraCalc-▒ promp⌠ i≤ 7«á Afte≥ thi≤ operatioε wσá ma∙ ì
  1670. now blanδ unnecessar∙ part≤ oµ workshee⌠.
  1671.  
  1672. /BC6:F9<CR>
  1673.  
  1674. Resulting worksheet is shown below (Figure 18).
  1675. .PAè.PN 45
  1676. .OP
  1677. Le⌠á u≤á no≈ creatσ ß workshee⌠ t∩ comparσ actua∞ anΣá forecasteΣ ì
  1678. value≤ oµ Do≈ Jone≤ index«á First¼á wσ replacσ thσ analyzeΣá datß ì
  1679. witΦá ne≈á se⌠ oµ datß usinτ thσ followinτ sequencσ oµá SuperCalπ ì
  1680. statements
  1681.  
  1682. /BA2:B51<CR>
  1683. /LB:DOW.CAL,PA48:B102,A2,V
  1684.  
  1685. Le⌠á u≤á theεá calculatσá forecasteΣ value≤á iεá columεá dÖá usinτ ì
  1686. obtaineΣ value≤ oµ ap¼ p=1,2,3,┤ (entr∙ C2:C5)« 
  1687.  
  1688.  
  1689. =D6<CR>
  1690. C2*B5+C3*(B5-B4)+C4*(B4-B3)+C5*(B3-B2)<CR>
  1691. /RD6,D7:D56,ANYYNYYNYYNYY
  1692. !
  1693.  
  1694. Resulting spreadsheet is shown on Figure 19.
  1695.  
  1696. .PAè.PN 47
  1697. .OP
  1698. Fo≥ comparisoε oµ actua∞ anΣ forecasteΣ value≤ oµ inde° yo⌡á havσ ì
  1699. t∩ ente≥ followinτ (SuperCalc)
  1700.  
  1701. >
  1702. =C6
  1703. IF(((B6-B5)*(D6-B5)>0,C5+1,C5)
  1704. /RC6,C7:C56<CR>
  1705. =C6
  1706. IF(((B6-B5)*(D6-B5)>0,C1+1,C1)
  1707. =C1
  1708. 0
  1709. =B57<CR>
  1710. "       %=
  1711. C56*100/(52-5)
  1712. !
  1713.  
  1714. Tota∞á Ñá oµá correc⌠á prediction≤ i≤á ~52Ñá anΣá is¼á obviously¼ ì
  1715. unsatisfactor∙á (Fiτá 20)¼á althougΦá onσá ma∙á noticσá tha⌠á thσ ì
  1716. predictioεá wa≤á ver∙á gooΣá fo≥ firs⌠ fe≈á week≤á (seσá analysi≤ ì
  1717. below).
  1718. .PAè.PN 49
  1719. .OP
  1720. Let'≤á looδá a⌠á ho≈ thσ predictioεá accurac∙á change≤á witΦá thσ ì
  1721. distancσá froφ B╡ (las⌠ datß useΣ iε regressioε model)«á Let'≤ d∩ ì
  1722. followinτ transformations
  1723.  
  1724. =D5
  1725. "Dow.Fore
  1726. =E5
  1727. "     % =
  1728. =F5
  1729. "# of Forecast
  1730. =F6
  1731. 1
  1732. =F7
  1733. F6+1
  1734. /RF7,F8:F56<CR>
  1735. =E6
  1736. 100*C6/F6
  1737. /RE6,E7:E56<CR>
  1738.  
  1739. A≤á i⌠ caε bσ seeε (Figurσ 21)¼á forecasteΣ value≤ oµ D╩ movσá iε ì
  1740. thσá samσá directioεá a≤á nex⌠ week actua∞ value≤á iεá 100Ñá case≤ ì
  1741. THROUG╚ 4tΦ week«á Iε othe≥ words¼ wσ shoulΣ recalculatσ apù ever∙ ì
  1742. 4-╡ week≤ at least t∩ ge⌠ ß gooΣ prediction.
  1743. .PAè.PN 51
  1744. .OP
  1745. 7. ExtraCalc-1 ERROR MESSAGES  
  1746.  
  1747.  
  1748. Thσ ExtraCalc-▒ detect≤ tw∩ kind≤ oµ errors║á Warning≤ anΣá Fata∞ ì
  1749. Errors«á Wheεá ß Warninτ i≤ issued¼á executioε contro∞ return≤ t∩ ì
  1750. ExtraCalc-▒ manage≥ prograφ OP.COM«á Wheε ß Fata∞ Erro≥ i≤ found¼ ì
  1751. ExtraCalc-▒ cease≤ executioε anΣ contro∞ i≤ returneΣ t∩ operatinτ ì
  1752. systeφ (batcΦ filσ under SUBMIT.COM, iµ yo⌡ usσ one).
  1753.  
  1754. Examples of Warnings:
  1755.  
  1756. OP.COM
  1757.  
  1758. no error messages in OP.COM program
  1759.  
  1760.  
  1761. OP04.COM
  1762.  
  1763. ERROR: WRONG OUTPUT MATRIX DIMENSIONS
  1764. ERROR: DIMENSIONS OF INPUT MATRICES
  1765.        DO NOT MATCH
  1766.  
  1767.  
  1768. OP13.COM
  1769.  
  1770. ERROR: NON-SQUARE INPUT MATRIX
  1771. ERROR: NON-SQUARE OUTPUT MATRIX
  1772. ERROR: NON-SQUARE SYSTEM MATRIX
  1773. ERROR: NON-MATCHING SYSTEM VECTOR
  1774. ERROR: NON-MATCHING OUTPUT VECTOR
  1775.  
  1776. MATRIX DETERMINANT = 0.0
  1777. INVERSION CANNOT BE COMPLETED
  1778.  
  1779. NO SOLUTION OBTAINED: SINGULAR SYSTEM)
  1780.  
  1781. MINIMAL PIVOT = xxx
  1782. !!! SYSTEM IS ALMOST SINGULAR
  1783.     AVERAGE PIVOT = xxx 
  1784.  
  1785.  
  1786. OP2.COM
  1787.  
  1788. ERROR: NON-SQUARE INPUT MATRIX
  1789. ERROR: WRONG OUTPUT MATRIX DIMENSIONS (MAT3)
  1790. ERROR: OUTPUT FILE SIZE = N1 < N = REQUIRED
  1791.  
  1792. èFatal Error Messages are surrounded by asterisks as follows
  1793.  
  1794. **XX** at address XXXX**
  1795.  
  1796. Iµá yo⌡á encountereΣ Fata∞ Erro≥ messagσ firs⌠ checδá ExtraCalc-▒ ì
  1797. anΣá SuperCalπ file≤ location«á Imprope≥ occurencσ o≥ absencσá oµ ì
  1798. thσ onσ oε specifieΣ drivσ i≤ onσ oµ thσ primar∙ reasoε fo≥ Fata∞ ì
  1799. Error« Nex⌠ checδ logiπ oµ you≥ computatioε witΦ ExtraCalc-1.
  1800.  
  1801. Iµá yo⌡ arσ no⌠ ablσ t∩ detec⌠ ß causσ fo≥ Fata∞á Error¼á please¼ ì
  1802. recorΣáá al∞á circumstance≤á oµá it≤á occurencσá anΣá mai∞áá thi≤ ì
  1803. informatioεá t∩ Smirno÷ Associates«á Normall∙ i⌠ i≤ no⌠á expecteΣ ì
  1804. tha⌠ yo⌡ registe≥ Fata∞ Erro≥ messagσ iµ you≥ systeφ i≤ correctl∙ ì
  1805. configured.
  1806.  
  1807.  
  1808. ThirΣ kinΣ oµ erro≥ message≤ ma∙ comσ froφ you≥ operatinτ system« ì
  1809. Please refer to your user's manual for guidance.