Square Root; Exponentiation; Cube Root; Mixed Calculations(+,-,*,/,Mod,\) - AMSTRAD CPC464 User Manual

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

SQUARE ROOT

To find the square root of a number type in sqr( ). The number you want the square root of should be
typed inside the brackets.
Type:
? sqr (16)
(this means ? 16)
[ENTER]
4
Type:
?sqr (100)
[ENTER]
10

EXPONENTIATION

(use unshifted E for exponentiation)
Exponentiation is when a number is raised to a power of another.
For example 3 squared (3
),3 cubed (3
) etc. Type:
2
3
? 3 ? 3
(this means 3
)
3
[ENTER]
27
Type:
?8 ? 4
(this means 8
)
4
[ENTER]
4094

CUBE ROOT

You can quite easily calculate cube roots by using a similar method to the last example under square
roots.
? 27). Type:
To find the cube root of 27 (
3
?27? (1/3)
[ENTER]
3
To find the cube root of 125
Type:
?125? (1/3)
[ENTER]
5

MIXED CALCULATIONS(+,-,*,/,MOD,\)

Mixed calculations are understood by the computer, but they are calculated within certain priorities.
First priority is given to multiplication and division, then addition and subtraction. These priorities
apply only to calculations containing only these four operations. The priorities will be further
explained later and will include exponentiation etc.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents