WOLFRAM COMMUNITY
Connect with users of Wolfram technologies to learn, solve problems and share ideas
Join
Sign In
Dashboard
Groups
People
Message Boards
Answer
(
Unmark
)
Mark as an Answer
WOLFRAM COMMUNITY
Dashboard
Groups
People
1
|
1727 Views
|
1 Reply
|
3 Total Likes
View groups...
Follow this post
Share
Share this post:
GROUPS:
Mathematica
Wolfram Language
Hold function on Times in TreeForm?
David Konkal
David Konkal
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
Reply
|
Flag
1 Reply
Sort By:
Replies
Likes
Recent
2
Nasser M. Abbasi
Nasser M. Abbasi, student
Posted
12 years ago
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
|
Flag
Reply to this discussion
in reply to
Add Notebook
Community posts can be styled and formatted using the
Markdown syntax
.
Tag limit exceeded
Note: Only the first five people you tag will receive an email notification; the other tagged names will appear as links to their profiles.
Publish anyway
Cancel
Reply Preview
Attachments
Remove
Add a file to this post
Follow this discussion
or
Discard
Group Abstract
Be respectful. Review our
Community Guidelines
to understand your role and responsibilities.
Community Terms of Use
Feedback