EasyManuals Logo
Home>Atari>Desktop>130XE

Atari 130XE User Manual

Atari 130XE
142 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #56 background imageLoading...
Page #56 background image
Order of Mathematical Execution
1.
( ) Computations
2.
3.
*
4.
+
in
parentheses
Exponential
functions
Multiplication
Division
Addition
Subtraction
RANDOM NUMBERS
In
order of appearance
from left to right
In
order of appearance
from left to right
The computer can perform other functions that your calculator most
likely cannot do. For example, your computer can pick random
numbers for you. Type the program
below:
NEW
J.9
PRINT
RND
(9)
29
GOTO
J.9
RUN
RND
is
the command for generating random numbers. The infinite
loop
in
the program above will generate random numbers endlessly.
Remember to break the loop with the [Break I key.
To
make changes
in
the program, you can just list the program and use the cursor keys to
insert characters, rather than retype entire
lines.
Tryout
the various
programs
below:
J.9
PRINT
RND
(J.)
RUN
J.9
PRINT
RND
(J.23)
RUN
J.9
PRINT
RND
(59)
RUN
J.9
PRINT
RND
(59999)
RUN
All four variations of line
10
generate random numbers between 0 and
1. The decimal point
is
always before the first digit
in
a random number.
The few random numbers that have a number
on
the left side of the
decimal pOint are still between 0 and 1 but are so small that the com-
puter has written them
in
scientific notation.
50

Table of Contents

Other manuals for Atari 130XE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 130XE and is the answer not in the manual?

Atari 130XE Specifications

General IconGeneral
BrandAtari
Model130XE
CategoryDesktop
LanguageEnglish

Related product manuals