Apple Newton Works Graphing Calculator User Manual
Page 38
Performing operations on lists
You can perform any operation on a list of numbers. If multiple lists are used in an
operation, they must be the same length. The following are some examples of simple
operations done with lists:
Operation
Example
Result
Addition
[1,2] + 3
[4,5]
[1,2] + [3,4]
[4,6]
3 + [1,2,[3,4]]
[4,5,[6,7]]
Subtraction
[1,7,1] – [2,3,1]
[–1,4,0]
[6,7] – 3
[3,4]
Multiplication
3 * [4,5]
[20,25]
[1,2,[3,4]] * [4,5,6]
[4,10,[18,24]]
Division
[3,4,5]/2
[1.5,2,2.5]
[4,5,6]/[2,3,4]
[2,1.6667,1.5]
Simple functions
[2,3]^2
[4,9]
log([1,10])
[0,1]
The above functions perform operations on each element in the list. Other functions
perform operations on the entire list—for example sum([list]). For more information
on lists and functions, see Chapter 2, “Using Functions and Variables.”
Using variables with lists
You can assign a list to a variable and perform operations on that variable.
For example:
a=[1,2,[3,4]]
3+a -> [4,5,[6,7]]
For more information on variables, see “Using Variables” in Chapter 2.
38
Chapter 4
- Câble composite AV (16 pages)
- Adaptateur secteur USB (16 pages)
- Battery Charger (52 pages)
- iSight (32 pages)
- StyleWriter - Adaptateur EtherTalk (19 pages)
- StyleWriter EtherTalk Adapter (19 pages)
- Câble AV composante YUV (16 pages)
- Adaptateur EtherTalk pour StyleWriter (19 pages)
- VESA Mount Adapter (20 pages)
- Mac Performa 5300CD (141 pages)
- Video System (95 pages)
- Final Cut Pro 7 (178 pages)
- Final Cut Pro 7 (1990 pages)
- Component AV Cable (16 pages)
- Component AV Cable (12 pages)
- Composite AV Cable (16 pages)
- Composite AV Cable (14 pages)
- IEEE1394 (24 pages)
- Universal Dock (88 pages)
- USB Power Adapter (8 pages)
- USB PowerAdapter (16 pages)
- World Travel Adapter (20 pages)
- TV (48 pages)
- AirPort Time Capsule 802.11ac (32 pages)
- Color StyleWriter 2200 (146 pages)
- AirPort Extreme 802.11n (5th Generation) (44 pages)
- AirPort Express 802.11n (1st Generation) (48 pages)
- AirPort Extreme 802.11n (3rd Generation) (44 pages)
- AirPort Express 802.11n (2nd Generation) (32 pages)
- AirPort Express v4.2 (48 pages)
- AirPort Time Capsule 802.11n (3rd Generation) (40 pages)
- Newton Connection Utilities (for Macintosh) (117 pages)
- Newton Backup Utility (for Macintosh) (39 pages)
- Wireless Keyboard and Mouse (20 pages)
- Newton Internet Enabler (29 pages)
- (22-inch) Cinema Display (21 pages)
- Color StyleWriter 1500 (144 pages)
- Bluetooth (4 pages)
- Color StyleWriter Pro (73 pages)
- Newton Connection Utilities (for Windows) (108 pages)
- AirPort Extreme Base Station v4.2 (36 pages)
- AirPort Extreme Card (12 pages)
- AirPort Time Capsule 802.11n (2nd Generation) (40 pages)
- ImageWriter LQ (2 pages)
- TV/FM Radio System (151 pages)