STEPHEN WOLFRAM Elementary Introduction to the Wolfram Language
Exercises | 1 Starting Out: Elementary Arithmetic

SECOND EDITION

1.1
Compute 1+2+3.
EXPECTEDOUTPUT»

[Clicktoentercode]
1.2
Add the numbers 1, 2, 3, 4, 5.
EXPECTEDOUTPUT»

[Clicktoentercode]
1.3
Multiply the numbers 1, 2, 3, 4, 5.
EXPECTEDOUTPUT»

[Clicktoentercode]
1.4
Compute 5 squared (i.e. 5×5 or 5 raised to the power 2).
EXPECTEDOUTPUT»

[Clicktoentercode]
1.5
Compute 3 raised to the fourth power.
EXPECTEDOUTPUT»

[Clicktoentercode]
1.6
Compute 10 raised to the power 12 (a trillion).
EXPECTEDOUTPUT»

[Clicktoentercode]
1.7
Compute 3 raised to the power 7×8.
EXPECTEDOUTPUT»

[Clicktoentercode]
1.8
Add parentheses to
4-2*3+4
to make 14.
EXPECTEDOUTPUT»

[Clicktoentercode]
1.9
Compute twenty-nine thousand multiplied by seventy-three.
EXPECTEDOUTPUT»

[Clicktoentercode]
+1.1
Add all integers from -3 to +3.
EXPECTEDOUTPUT»

[Clicktoentercode]
+1.2
Compute 24 divided by 3.
EXPECTEDOUTPUT»

[Clicktoentercode]
+1.3
Compute 5 raised to the power 100.
EXPECTEDOUTPUT»

[Clicktoentercode]
+1.4
Subtract 5 squared from 100.