Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.7K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

How do I write this function in Mathematica?

Posted 6 years ago
POSTED BY: Ulf Karlsson
4 Replies
POSTED BY: Ulf Karlsson
Posted 6 years ago
POSTED BY: Ehud Behar

I would do it this way:

f[x_] := (x + 3)^2;
f[f[x]]

Beware the difference between square brackets and round parentheses, and between the pattern x_ and the variable x.

POSTED BY: Gianluca Gorni

Thanks!

//Ulf

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