|
|
Subject:
Graph and Tree Problem
Category: Computers > Graphics Asked by: math01-ga List Price: $2.00 |
Posted:
17 Nov 2002 10:06 PST
Expires: 17 Dec 2002 10:06 PST Question ID: 109377 |
4. What is the value of the following prefix expression: + - *235 / * *234 where A**B = AB? |
|
Subject:
Re: Graph and Tree Problem
Answered By: aditya2k-ga on 18 Nov 2002 07:08 PST |
Hi math01-ga, Good day and thanks for your question. The prefix expression [1] + - * 2 3 5 / ** 2 3 4 ----> * 2 3 = 2 * 3 = 6 [2] + - 6 5 / ** 2 3 4 ----> - 6 5 = 6 - 5 = 1 [3] + 1 / ** 2 3 4 ----> ** 2 3 = 2 ** 3 = 8 [4] + 1 / 8 4 ----> / 8 4 = 8 / 4 = 2 [5] + 1 2 ----> + 1 2 = 3 [6] 3 ----> Answer Hence your final answer is 3 The tree representation of this is [I hope this formats out properly] [+] / \ [-] [/] / \ / \ [*] [5] [**] [4] / \ / \ [2] [3] [2] [3] I hope this answers your question. If you have any clarifications, please fell free to ask. Thank you for using this service and have a nice day Warm Regards, aditya2k |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |