Try now in the
Open Cloud »
(no sign-in required)

Get Started

An introduction to Wolfram Programming Lab Explorations.

Run the code to calculate 2+2:

Hint: click anywhere in the code, hold , and press .

In[1]:=
X
Out[1]=

Get a list of numbers from 1 to 10. Try numbers other than 10:

SHOW/HIDE DETAILS

Wolfram Language commands like Range are called functions.

Built-in functions always begin with a capital letter and are followed by square brackets ([]).

This gets a list of 10 numbers:

In[1]:=
X
Out[1]=

The curly braces in the output indicate a list.

HIDE DETAILS
In[1]:=
X
Out[1]=

Draw a size 100 disk. Try sizes other than 100:

SHOW/HIDE DETAILS

Lots of Wolfram Language functions take options.

This ImageSize option says to make the overall size of the graphics be 100. The arrow is typed as a dash (-) followed by greater than (>):

In[1]:=
X

HIDE DETAILS
In[1]:=
X
Out[1]=

Get a picture of a horse. Get pictures of some other common animals:

SHOW/HIDE DETAILS

You can use plain English in Wolfram Language computations.

To get a picture of a horse, press and type =. In the input box (LinguisticAssistant), type picture of a horse, then run the code:

In[1]:=
X
Out[1]=

When you run the code, the input box may change into the exact Wolfram Language code for a picture of a horse:

In[2]:=
X
Out[2]=

To get a picture of something else, click the box and it will turn back into an input box. Select horse by double-clicking it, and type something else, like bird:

In[3]:=
X
Out[3]=

HIDE DETAILS
In[1]:=
X
Out[1]=

Apply an oil painting effect to a picture. Try some other pictures:

SHOW/HIDE DETAILS

To try ImageEffect on a different picture, delete the picture from the code and press and type = to create an input box where the picture used to be. Then type picture of a cow or whatever picture you want into the input box:

In[1]:=
X
Out[1]=

You can also drag images from most websites and drop them right into the code.

HIDE DETAILS
In[1]:=
X
Out[1]=