a)Represent the expression ((x+2)^3)*(y-(3+x))-5 using a binary tree write this expression in b)prefix notation c) postfix notation d) infix notation. I need check, and correct my mistake.Please. work on attachment c
b) *^+x23--y+3x5 c)x+23^*y-3+x-5 d)x+23^*y-3+x-5
\|dw:1365352151819:dw|
that for part a)
I don't know O.O
ok, lol!!! don't you ask me why I am interesting in?
No, I'm good :P
ok, thanks anyway
missed a "3" in there :) |dw:1365353059190:dw|
yep
@Hoa good job.
really? no mistake??? bingo!!!
@electrokid: Thanks for checking, Sir
☮
ok, have fun, I am back to my homework. bunch of them. if I have any trouble, I will post again.
@Hoa not so sure about your post fix solution.... recheck that
ok, I will. this is the even problem, so I don't have solution to check. that's why I posted it. next problem has answer at the end of the book, I will do and compare then. thank you
yes, you are right, it is x2+3^y3x+-5-* that follow left- right - root rule.
Join our real-time social learning platform and learn together with your friends!