Using A Matrix To Assign Different Values To Multiple Variables; Specifying A Number Base; Binary, Octal, Decimal, And Hexadecimal Calculation Ranges - Casio fx-CP400 User Manual

Table of Contents

Advertisement

Raising a Matrix to a Specific Power
Example: To raise
0226
Input in a single line
0227
Input using an actual on-screen matrix
Tip:
You can raise only a square matrix to a specific power. An error occurs when you try to raise a non-square matrix to a
specific power.

Using a Matrix to Assign Different Values to Multiple Variables

Use the procedure in this section when you want to use a matrix to assign various different values to multiple
variables.
Syntax: Matrix with Numbers ⇒ Matrix with Variables
(The matrix can be one line with multiple columns, or multiple lines with one column.)
0228
Assign the values 10, 20, and 30, to variables , , and respectively

2-6 Specifying a Number Base

While using the Main application, you can specify a default number base (binary, octal, decimal, hexadecimal).
You can also convert between number bases and perform bitwise operations using logical operators (not, and,
or, xor).
Note the following limitations, which all apply while a default number base (binary, octal, decimal, hexadecimal)
is specified in the Main application.
• You cannot use scientific functions, or [Action] or [Interactive] menu commands.
• Except for Ans (Answer Memory variable), you cannot use variables.
• You can input integers only. An error (Invalid Syntax) will occur if you try to input a non-integer value (like 1.5
or ' 2 ).
• If a calculation produces a non-integer result (with a decimal part), the ClassPad will cut off the decimal part
automatically. For example, the calculation 5 ÷ 2 while decimal is selected as the number base is 2.
• An error message is displayed if you try to enter a value that is invalid for the speicfied number base. The
following shows the numerals that can be used in each number system.
Binary: 0, 1
Octal: 0 to 7

Binary, Octal, Decimal, and Hexadecimal Calculation Ranges

• The following are the display capacities and calculation ranges for each of the number bases.
Number Base
Binary
Octal
Decimal
Hexadecimal
• Negative binary, octal, and hexadecimal values are produced using the two's complement of the original
value.
1
2
to the power of 3
3
4
Decimal: 0 to 9
Display Capacity
32 digits
11 digits
10 digits
8 digits
Hexadecimal: 0 to 9, A, B, C, D, E, F
Calculation Range (Positive ; Negative)
0 s s 01111111111111111111111111111111 ;
10000000000000000000000000000000 s s
0 s s 17777777777 ; 20000000000 s s 37777777777
0 s s 2147483647 ; −2147483648 s s −1
0 s s 7FFFFFFF ; 80000000 s s FFFFFFFF
11111111111111111111111111111111
Chapter 2: Main Application
57

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Classpad ii

Table of Contents