Group Abstract Group Abstract

Message Boards Message Boards

1
|
8.6K Views
|
11 Replies
|
18 Total Likes
View groups...
Share
Share this post:
GROUPS:

theoretical mathematica question

Posted 10 years ago
POSTED BY: D P
11 Replies

It's a "teachable moment" ;-)

POSTED BY: David Reiss

Truth be told, I've never encountered a moment I could teach anything. I once thought I was getting somewhere with a moment of inertia but then it just sort of spun off.

POSTED BY: Daniel Lichtblau

Alas, it would have been a momentous occasion.

POSTED BY: David Reiss

(Do you really first moment that?)

I can of course do much worse: "Kurt owes his sister five dollars after losing a bet that he couldn't name the fourth moment in a distribution"

POSTED BY: Daniel Lichtblau

Do you really mean that? I feel skewered.

POSTED BY: David Reiss

It's worth adding that since everything is an expression then a notebook can be set up where each cell has its own namespace though this is not the default. (not something you'd cover in a 2 week course though!) The Option to the Cell expression that can do this is CellContext. For example, execute the following in a notebook to create a Cell with a unique context to that cell.

CellPrint@ExpressionCell[Defer[f = 9], "Input", CellContext -> Cell]
POSTED BY: David Reiss

Hi David, you made a good point: There is no definite answer! For me this is another confirmation on how stupid those questions are!

POSTED BY: Henrik Schachner

Hi D.P.,

this is not the place where homework questions are answered - usually! But in case of stupid questions and stupid course concepts help is in order!

  • A: False, because you can run scripts;
  • B: Wrong!
  • C: True - because everything is an expression!
  • D: Wrong - because %% is the penultimate result;

Just as a reserved advice: Try to learn Mathematica on your own and (at least as a start) for its own sake; it is definitely worth the effort! And: Mathematica has a high degree of consistency and beauty and is by no means as ugly as those courses with those questions typically imply! What a sad thing!

Regards -- Henrik

POSTED BY: Henrik Schachner
Posted 10 years ago
POSTED BY: D P
POSTED BY: Daniel Lichtblau
Posted 10 years ago

Thank you very much. :)

POSTED BY: D P
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard