cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Looking for website for binary tree / al
Looking for website for binary tree / algebraic expression
Nov 15, 2019 at 8:16pm UTC
MyOnlinePersona
(66)
Hi I am wondering if anyone knows a website or application that allows you to put in a algebra expression and it produces a binary tree? I am learning how these are calculated and would like to make sure I am doing them right.
Nov 15, 2019 at 8:48pm UTC
Ganado
(6783)
Mathematica can take in an expression and build a tree (lists with embedded lists) out of it.
https://mathematica.stackexchange.com/questions/29565/getting-a-usable-expression-tree
I can't test this right now, but it looks like the "//TreeForm" option in Mathematica can also do what you want (produces an image).
Of course, Mathematica isn't free... maybe Maple has something equivalent.
https://www.mapleprimes.com/questions/41239-Generate-An-Expression-Tree
Last edited on
Nov 15, 2019 at 8:50pm UTC
Topic archived. No new replies allowed.