Message Boards Message Boards

1
|
1690 Views
|
1 Reply
|
3 Total Likes
View groups...
Share
Share this post:

Hold function on Times in TreeForm?

Posted 12 years ago
I am new to Mathematica I have a question though When I use
TreeForm[ax^2+bx+c]
I get 
                                   Plus
                                 /    |   \
                       Power  bx   c
                         /      \
                    ax        2
I tried starting a new notebook and even rebooting but that didn't help It seems that there is a Hold function on the Times but I can't figure it out could someone please help me?
POSTED BY: David Konkal
Spaces are important in Mathematica : ax is not the same as a*x.
ax is taken as ONE symbol all in its own. Hence you need to either add one or more spaces, or use "*"
Using a space gives the output you were expecting
TreeForm[a x^2 + b x + c]
POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract