Or Not 2B (N-Base Conversion) - Sharp EL-5230 Operation Manual

Programmable scientific calculator
Table of Contents

Advertisement

2B or not 2B (N-base conversion)
The conversion functions and logical operations can be used in the NBASE
program mode. The following is a simple program that converts a decimal
number to binary, pental, octal and hexadecimal formats.
Press b 2 1 1 to open a
1.
window for creating a NEW program in
the NBASE program mode.
Type NBASE for the title then press e.
2.
• A NEW program called 'NBASE' will be created.
3.
Enter the program as follows.
Program code
Print"ENTER A
Print"DECIMAL NUMBER
Input Y
Y¬BIN
Print"BINARY
Print Y
Wait
Y¬PEN
Print"PENTAL
Print Y
Wait
Chapter 8: Application Examples
Key operations
i 1 @ a ENTER s A
; e
i 1 @ a DECIMAL s
NUMBER ; e
i 2 ; Y e
; Y @ z e
i 1 @ a BINARY ;
e
i 0 ; Y e
i 3 e
; Y @ r e
i 1 @ a PENTAL ;
e
i 0 ; Y e
i 3 e
NBASE
:NBASE
PROGRAM?
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

El-5250

Table of Contents