Пример #1
0
        public void p74p75()
        {
            // Storage Register Overflow
            UIMap.Seven();
            UIMap.Period();
            UIMap.Three();
            UIMap.Three();
            UIMap.AssertNumeric(" 7.33          ");
            UIMap.EEX();
            UIMap.Five();
            UIMap.Two();
            UIMap.AssertNumeric(" 7.33        52");
            UIMap.STO();
            UIMap.One();
            UIMap.AssertNumeric(" 7.330000000 52");
            UIMap.EEX();
            UIMap.Five();
            UIMap.Zero();
            UIMap.AssertNumeric(" 1.          50");
            UIMap.STO();
            UIMap.Multiplication();
            UIMap.One();
            UIMap.AssertText(" Error         ");
            UIMap.AssertPrinter("        7.33+52 STO1",
                                "          1.+50 ST×1",
                                "               ERROR");

            UIMap.CLx();
            UIMap.AssertNumeric(" 1.000000000 50");
            UIMap.RCL();
            UIMap.One();
            UIMap.AssertNumeric(" 7.330000000 52");
            UIMap.AssertPrinter("                RCL1");
        }
Пример #2
0
        public void p44()
        {
            // Calculator Overflow
            UIMap.CLx();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.EEX();
            UIMap.Four();
            UIMap.Nine();
            UIMap.ENTER();
            UIMap.AssertNumeric(" 1.000000000 49");
            UIMap.EEX();
            UIMap.Five();
            UIMap.Zero();
            UIMap.Multiplication();
            UIMap.AssertNumeric(" 1.000000000 99");
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 1.000000000 99");
            UIMap.AssertPrinter("                 CLX",
                                "          1.+49 ENT↑",
                                "          1.+50   × ",
                                " 1.000000000+99  ***");

            UIMap.One();
            UIMap.Zero();
            UIMap.Zero();
            UIMap.Multiplication();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 9.999999999 99");
            UIMap.AssertPrinter(" 9.999999999+99  ***");
        }
Пример #3
0
 public void p45()
 {
     // Error Display
     UIMap.Four();
     UIMap.CHS();
     UIMap.AssertNumeric("-4.            ");
     UIMap.Sqrt();
     UIMap.AssertText(" Error         ");
     UIMap.AssertPrinter("          -4.00   √X",
                         "               ERROR");
     UIMap.CLx();
     UIMap.AssertNumeric("-4.00          ");
 }
Пример #4
0
        public void p53p54()
        {
            // Two-Number Functions and the Stack
            UIMap.CLx();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.Three();
            UIMap.Four();
            UIMap.AssertNumeric(" 34.           ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 34.00         ");
            UIMap.AssertPrinter("                 CLX",
                                "                ENT↑",
                                "                ENT↑",
                                "                ENT↑",
                                "          34.00 ENT↑");

            UIMap.Two();
            UIMap.One();
            UIMap.AssertNumeric(" 21.           ");
            UIMap.PrintStack();
            UIMap.AssertNumeric(" 21.00         ");
            UIMap.AssertPrinter("          21.00 PRST",
                                "",
                                "           0.00   T ",
                                "           0.00   Z ",
                                "          34.00   Y ",
                                "          21.00   X ",
                                "");

            UIMap.Addition();
            UIMap.AssertNumeric(" 55.00         ");
            UIMap.PrintStack();
            UIMap.AssertNumeric(" 55.00         ");
            UIMap.AssertPrinter("                  + ",
                                "                PRST",
                                "",
                                "           0.00   T ",
                                "           0.00   Z ",
                                "           0.00   Y ",
                                "          55.00   X ",
                                "");
        }
Пример #5
0
        public void p42p43()
        {
            // Automatic Display Switching
            UIMap.CLx();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.Period();
            UIMap.Zero();
            UIMap.Five();
            UIMap.ENTER();
            UIMap.AssertNumeric(" 0.05          ");
            UIMap.Three();
            UIMap.YToTheXth();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 1.250000000-04");
            UIMap.AssertPrinter("                 CLX",
                                "            .05 ENT↑",
                                "           3.00   Yˣ",
                                " 1.250000000-04  ***");

            UIMap.One();
            UIMap.Five();
            UIMap.Eight();
            UIMap.Two();
            UIMap.ZeroZeroZero();
            UIMap.ENTER();
            UIMap.AssertNumeric(" 1582000.00    ");
            UIMap.One();
            UIMap.Eight();
            UIMap.Four();
            UIMap.Two();
            UIMap.Multiplication();
            UIMap.AssertNumeric(" 2914044000.   ");
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 2914044000.   ");
            UIMap.AssertPrinter("     1582000.00 ENT↑",
                                "        1842.00   × ",
                                "    2914044000.  ***");

            UIMap.One();
            UIMap.Zero();
            UIMap.Multiplication();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 2.914044000 10");
            UIMap.AssertPrinter("          10.00   × ",
                                " 2.914044000+10  ***");
        }
Пример #6
0
        public void p24()
        {
            // Keying In Numbers
            UIMap.ManTraceNorm2Left();
            UIMap.One();
            UIMap.Four();
            UIMap.Eight();
            UIMap.Period();
            UIMap.Eight();
            UIMap.Four();
            UIMap.AssertNumeric(" 148.84        ");

            // Negative Numbers
            UIMap.CHS();
            UIMap.AssertNumeric("-148.84        ");
            UIMap.CHS();
            UIMap.AssertNumeric(" 148.84        ");

            // Clearing
            UIMap.CLx();
            UIMap.AssertNumeric(" 0.00          ");
        }
Пример #7
0
 public void PeriodCHS()
 {
     UIMap.Period();
     UIMap.CHS();
     UIMap.AssertNumeric(" .             ");
     UIMap.CLx();
     UIMap.Zero();
     UIMap.Zero();
     UIMap.Zero();
     UIMap.CHS();
     UIMap.AssertNumeric(" 000.          ");
     UIMap.CLx();
     UIMap.Period();
     UIMap.Three();
     UIMap.CHS();
     UIMap.AssertNumeric("-.3            ");
     UIMap.CLx();
     UIMap.Zero();
     UIMap.One();
     UIMap.Zero();
     UIMap.CHS();
     UIMap.AssertNumeric("-010.          ");
 }
Пример #8
0
        public void p87p89()
        {
            // Setup
            UIMap.DSP();
            UIMap.Four();
            UIMap.AssertPrinter("                DSP4");

            // Adding and Subtracting Time and Angles
            UIMap.Four();
            UIMap.Five();
            UIMap.SendKeys(".105076");
            UIMap.AssertNumeric(" 45.105076     ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 45.1051       ");
            UIMap.Two();
            UIMap.Four();
            UIMap.Period();
            UIMap.Four();
            UIMap.Nine();
            UIMap.One();
            UIMap.Zero();
            UIMap.Nine();
            UIMap.Five();
            UIMap.AssertNumeric(" 24.491095     ");
            UIMap.HMSAddition();
            UIMap.AssertNumeric(" 70.0002       ");
            UIMap.DSP();
            UIMap.Six();
            UIMap.AssertNumeric(" 70.000171     ");
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 70.000171     ");
            UIMap.AssertPrinter("      45.105076 ENT↑",
                                "      24.491095 HMS+",
                                "                DSP6",
                                "      70.000171  ***");

            UIMap.SendKeys("312.3217");
            UIMap.AssertNumeric(" 312.3217      ");
            UIMap.ENTER();
            UIMap.One();
            UIMap.Four();
            UIMap.Two();
            UIMap.Period();
            UIMap.Seven();
            UIMap.Eight();
            UIMap.AssertNumeric(" 142.78        ");
            UIMap.ToHMS();
            UIMap.AssertNumeric(" 142.464800    ");
            UIMap.CHS();
            UIMap.AssertNumeric("-142.464800    ");
            UIMap.HMSAddition();
            UIMap.AssertNumeric(" 169.452900    ");
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 169.452900    ");
            UIMap.DSP();
            UIMap.Two();
            UIMap.AssertNumeric(" 169.45        ");
            UIMap.AssertPrinter("     312.321700 ENT↑",
                                "     142.780000 →HMS",
                                "                 CHS",
                                "                HMS+",
                                "     169.452900  ***",
                                "                DSP2");

            UIMap.CLx();
            UIMap.DEG();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.Five();
            UIMap.Period();
            UIMap.Four();
            UIMap.Three();
            UIMap.FromHMS();
            UIMap.AssertNumeric(" 5.72          ");
            UIMap.One();
            UIMap.Two();
            UIMap.Period();
            UIMap.One();
            UIMap.Eight();
            UIMap.FromHMS();
            UIMap.AssertNumeric(" 12.30         ");
            UIMap.Subtraction();
            UIMap.AssertNumeric("-6.58          ");
            UIMap.COS();
            UIMap.AssertNumeric(" 0.99          ");
            UIMap.SendKeys("15.55");
            UIMap.FromHMS();
            UIMap.AssertNumeric(" 15.92         ");
            UIMap.STO();
            UIMap.One();
            UIMap.AssertNumeric(" 15.92         ");
            UIMap.COS();
            UIMap.AssertNumeric(" 0.96          ");
            UIMap.Multiplication();
            UIMap.AssertNumeric(" 0.96          ");
            UIMap.SendKeys("37.03");
            UIMap.FromHMS();
            UIMap.AssertNumeric(" 37.05         ");
            UIMap.STO();
            UIMap.Zero();
            UIMap.AssertNumeric(" 37.05         ");
            UIMap.COS();
            UIMap.AssertNumeric(" 0.80          ");
            UIMap.Multiplication();
            UIMap.AssertNumeric(" 0.76          ");
            UIMap.RCL();
            UIMap.Zero();
            UIMap.SIN();
            UIMap.AssertNumeric(" 0.60          ");
            UIMap.RCL();
            UIMap.One();
            UIMap.SIN();
            UIMap.AssertNumeric(" 0.27          ");
            UIMap.Multiplication();
            UIMap.AssertNumeric(" 0.17          ");
            UIMap.Addition();
            UIMap.AssertNumeric(" 0.93          ");
            UIMap.ArcCOS();
            UIMap.AssertNumeric(" 21.92         ");
            UIMap.Six();
            UIMap.Zero();
            UIMap.Multiplication();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 1315.41       ");
            UIMap.AssertPrinter("                 CLX",
                                "                 DEG",
                                "           5.43 HMS→",
                                "          12.18 HMS→",
                                "                  - ",
                                "                 COS",
                                "          15.55 HMS→",
                                "                STO1",
                                "                 COS",
                                "                  × ",
                                "          37.03 HMS→",
                                "                STO0",
                                "                 COS",
                                "                  × ",
                                "                RCL0",
                                "                 SIN",
                                "                RCL1",
                                "                 SIN",
                                "                  × ",
                                "                  + ",
                                "                COS¹",
                                "          60.00   × ",
                                "        1315.41  ***");
        }
Пример #9
0
        public void p55p57()
        {
            // Chain Arithmetic
            UIMap.One();
            UIMap.Six();
            UIMap.AssertNumeric(" 16.           ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 16.00         ");
            UIMap.Three();
            UIMap.Zero();
            UIMap.AssertNumeric(" 30.           ");
            UIMap.Addition();
            UIMap.AssertNumeric(" 46.00         ");
            UIMap.OneOne();
            UIMap.AssertNumeric(" 11.           ");
            UIMap.Addition();
            UIMap.AssertNumeric(" 57.00         ");
            UIMap.One();
            UIMap.Seven();
            UIMap.AssertNumeric(" 17.           ");
            UIMap.Addition();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 74.00         ");
            UIMap.AssertPrinter("          16.00 ENT↑",
                                "          30.00   + ",
                                "          11.00   + ",
                                "          17.00   + ",
                                "          74.00  ***");

            UIMap.CLx();
            UIMap.AssertPrinter("                 CLX");   // Not in the manual.

            UIMap.One();
            UIMap.Six();
            UIMap.AssertNumeric(" 16.           ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 16.00         ");
            UIMap.Three();
            UIMap.Zero();
            UIMap.AssertNumeric(" 30.           ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 30.00         ");
            UIMap.One();
            UIMap.One();
            UIMap.AssertNumeric(" 11.           ");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 11.00         ");
            UIMap.One();
            UIMap.Seven();
            UIMap.AssertNumeric(" 17.           ");
            UIMap.Addition();
            UIMap.AssertNumeric(" 28.00         ");
            UIMap.Addition();
            UIMap.AssertNumeric(" 58.00         ");
            UIMap.Addition();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 74.00         ");
            UIMap.AssertPrinter("          16.00 ENT↑",
                                "          30.00 ENT↑",
                                "          11.00 ENT↑",
                                "          17.00   + ",
                                "                  + ",
                                "                  + ",
                                "          74.00  ***");
        }
Пример #10
0
        public void p43p44()
        {
            // Key in Exponents of Ten
            UIMap.One();
            UIMap.Five();
            UIMap.Period();
            UIMap.Six();
            UIMap.AssertNumeric(" 15.6          ");
            UIMap.EEX();
            UIMap.AssertNumeric(" 15.6        00");
            UIMap.One();
            UIMap.Two();
            UIMap.AssertNumeric(" 15.6        12");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 1.560000000 13");
            UIMap.Two();
            UIMap.Five();
            UIMap.Multiplication();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 3.900000000 14");
            UIMap.AssertPrinter("        15.6+12 ENT↑",
                                "          25.00   × ",
                                " 3.900000000+14  ***");

            UIMap.EEX();
            UIMap.AssertNumeric(" 1.          00");
            UIMap.Six();
            UIMap.AssertNumeric(" 1.          06");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 1000000.00    ");
            UIMap.Five();
            UIMap.Two();
            UIMap.Division();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 19230.77      ");
            UIMap.AssertPrinter("          1.+06 ENT↑",
                                "          52.00   ÷ ",
                                "       19230.77  ***");

            UIMap.SCI();
            UIMap.DSP();
            UIMap.Six();
            UIMap.AssertNumeric(" 1.923077    04");
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 1.923077    04");
            UIMap.AssertPrinter("                 SCI",
                                "                DSP6",
                                "    1.923077+04  ***");

            UIMap.CLx();
            UIMap.AssertNumeric(" 0.000000    00");
            UIMap.FIX();
            UIMap.DSP();
            UIMap.Two();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.Six();
            UIMap.Period();
            UIMap.Six();
            UIMap.Two();
            UIMap.Five();
            UIMap.EEX();
            UIMap.AssertNumeric(" 6.625       00");
            UIMap.CHS();
            UIMap.AssertNumeric(" 6.625      -00");
            UIMap.Two();
            UIMap.Seven();
            UIMap.AssertNumeric(" 6.625      -27");
            UIMap.ENTER();
            UIMap.AssertNumeric(" 6.625000000-27");
            UIMap.Five();
            UIMap.Zero();
            UIMap.Multiplication();
            UIMap.PRINTx();
            UIMap.AssertNumeric(" 3.312500000-25");
            UIMap.AssertPrinter("                 CLX",
                                "                 FIX",
                                "                DSP2",
                                "       6.625-27 ENT↑",
                                "          50.00   × ",
                                " 3.312500000-25  ***");
        }
Пример #11
0
        public void p48p53()
        {
            // Manipulating Stack Contents

            // Reviewing the Stack
            UIMap.Four();
            UIMap.ENTER();
            UIMap.Three();
            UIMap.ENTER();
            UIMap.Two();
            UIMap.ENTER();
            UIMap.One();
            UIMap.AssertPrinter("           4.00 ENT↑",
                                "           3.00 ENT↑",
                                "           2.00 ENT↑");
            UIMap.AssertNumeric(" 1.            ");
            UIMap.PrintStack();
            UIMap.AssertPrinter("           1.00 PRST",
                                "",
                                "           4.00   T ",
                                "           3.00   Z ",
                                "           2.00   Y ",
                                "           1.00   X ",
                                "");
            UIMap.AssertNumeric(" 1.00          ");

            UIMap.RDown();
            UIMap.PrintStack();
            UIMap.AssertPrinter("                  R↓",
                                "                PRST",
                                "",
                                "           1.00   T ",
                                "           4.00   Z ",
                                "           3.00   Y ",
                                "           2.00   X ",
                                "");
            UIMap.AssertNumeric(" 2.00          ");

            UIMap.RDown();
            UIMap.PrintStack();
            UIMap.AssertPrinter("                  R↓",
                                "                PRST",
                                "",
                                "           2.00   T ",
                                "           1.00   Z ",
                                "           4.00   Y ",
                                "           3.00   X ",
                                "");
            UIMap.AssertNumeric(" 3.00          ");

            UIMap.RDown();
            UIMap.PrintStack();
            UIMap.AssertPrinter("                  R↓",
                                "                PRST",
                                "",
                                "           3.00   T ",
                                "           2.00   Z ",
                                "           1.00   Y ",
                                "           4.00   X ",
                                "");
            UIMap.AssertNumeric(" 4.00          ");

            UIMap.RDown();
            UIMap.PrintStack();
            UIMap.AssertPrinter("                  R↓",
                                "                PRST",
                                "",
                                "           4.00   T ",
                                "           3.00   Z ",
                                "           2.00   Y ",
                                "           1.00   X ",
                                "");
            UIMap.AssertNumeric(" 1.00          ");

            UIMap.PrintStack();
            UIMap.AssertPrinter("                PRST",
                                "",
                                "           4.00   T ",
                                "           3.00   Z ",
                                "           2.00   Y ",
                                "           1.00   X ",
                                "");
            UIMap.AssertNumeric(" 1.00          ");
            UIMap.XExchangeY();
            UIMap.AssertNumeric(" 2.00          ");
            UIMap.PrintStack();
            UIMap.AssertPrinter("                 X⇄Y",
                                "                PRST",
                                "",
                                "           4.00   T ",
                                "           3.00   Z ",
                                "           1.00   Y ",
                                "           2.00   X ",
                                "");
            UIMap.AssertNumeric(" 2.00          ");

            // Clearing the Display
            UIMap.CLx();
            UIMap.AssertPrinter("                 CLX");
            UIMap.PrintStack();
            UIMap.AssertPrinter("                PRST",
                                "",
                                "           4.00   T ",
                                "           3.00   Z ",
                                "           1.00   Y ",
                                "           0.00   X ",
                                "");
            UIMap.AssertNumeric(" 0.00          ");

            // The ENTER Key
            UIMap.Three();
            UIMap.One();
            UIMap.Four();
            UIMap.Period();
            UIMap.Three();
            UIMap.Two();
            UIMap.ENTER();
            UIMap.AssertPrinter("         314.32 ENT↑");
            UIMap.AssertNumeric(" 314.32        ");
            // Not in the manual, but useful to check the stack
            UIMap.PrintStack();
            UIMap.AssertPrinter("                PRST",
                                "",
                                "           3.00   T ",
                                "           1.00   Z ",
                                "         314.32   Y ",
                                "         314.32   X ",
                                "");

            UIMap.Five();
            UIMap.Four();
            UIMap.Three();
            UIMap.Period();
            UIMap.Two();
            UIMap.Eight();
            UIMap.AssertNumeric(" 543.28        ");
            UIMap.CLx();
            UIMap.AssertNumeric(" 0.00          ");
            UIMap.Six();
            UIMap.Eight();
            UIMap.Nine();
            UIMap.Period();
            UIMap.Four();
            UIMap.AssertNumeric(" 689.4         ");

            // One-Number Functions and the Stack
            UIMap.Sqrt();
            UIMap.AssertPrinter("         689.40   √X");
            UIMap.AssertNumeric(" 26.26         ");
            // Not in the manual, but useful to check the stack
            UIMap.PrintStack();
            UIMap.AssertPrinter("                PRST",
                                "",
                                "           3.00   T ",
                                "           1.00   Z ",
                                "         314.32   Y ",
                                "          26.26   X ",
                                "");
        }