Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.4K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

Defining variables

Posted 5 years ago

Hello, I'm a chemistry student working with Mathematica for the first time. I am trying to define the variable "temps" with the data set given in the table. However, when I attempt to name the list as "temps," the program refuses to give me an output. When asked for "temps" after defining the list, it gives me the Air Temperature Data instead of the list that I just evaluated.

As far as I know, undefined variables are supposed to show up in blue text before it is defined, but when I type "temps", it always comes up in black. I even tried clearing the variable first and then re-typing, but that did not work either.

Is there something that I did wrong? If not, how can I solve this problem?

Attachment

Attachments:
POSTED BY: Ryan Hwang
Posted 5 years ago

Ryan:

It looks like you are using the Free-Form interpreter. I can tell because of the big equals icon (white on orange).

To assign a simple list to a variable, you do not need (or want) the interpreter. Just type:

temps = {197, 200, 203}
POSTED BY: Mike Besso
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard