Further Exponents; [Return] - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

The priority of ALL mathematical operators is as follows:
i
MOD
*
and /
\
+and-
Exponentiation
Modulus
Unary minus (declares a number as negative)
Multiplication and division
Integer division
Addition and Subtraction
Further Exponents
If you want to use very large or very small numbers in calculations, it is sometimes
useful to use scientific notation. The letter E is used for the exponent of numbers to
the base 10. You may use either lower case e or upper case
E.
For example 300 is the same as 3xl02. In scientific notation, this is 3
E 2.
Similarly,
0.03 is the same as 3x10- 2 . In scientific notation this is 3
E - 2.
Try the following
examples.
You can type in:
? 30* 10
[RETURN]
300
or you can type:
?
3 E 1
*
1E 1
[RETURN]
300
?3000*f000
[RETURN] ....
or.-...
?3E3*1 E3
[RETURN]
3000000
?3000*0.001
[RETURN] .... or ....
?3E3*1E-3
[RETURN]
3
Foundation Course
Chapter 1 Page 37

Advertisement

Table of Contents
loading

Table of Contents