Find Jobs
Hire Freelancers

algebraic expression problem

$30-5000 USD

Completed
Posted over 20 years ago

$30-5000 USD

Paid on delivery
AN HTML Version of the Complete file with Pictures is sent as an attachment in this BID. Please look through the ATTACHED FILE to see the NEEDED OUTPUT. A program in Java that reads properly formed algebraic expressions and outputs them in *reverse polish* (postfix) notation. This is an important problem in parsing grammers (languages) of various kinds. In particular, this technique is used to translate *sensitive* constructs (those that need parentheses to clarify their meaning) into *insensitive* constructs (which do not require parentheses). It is required to provide a link based stack abstract data type and it is suggested that to use the following algorithm. **algebraic vs. reverse polish notation** **algebraic** algebraic notation consists of variable names, constants, and operators. 1. operators are placed between the variables and/or constants which they affect. 2. operators are applied in a precedence order. 3. precedence can be overridden by parentheses. ## Deliverables A program in Java that reads properly formed algebraic expressions and outputs them in *reverse polish* (postfix) notation. This is an important problem in parsing grammers (languages) of various kinds. In particular, this technique is used to translate *sensitive* constructs (those that need parentheses to clarify their meaning) into *insensitive* constructs (which do not require parentheses). It is required to provide a link based stack abstract data type and it is suggested that to use the following algorithm. **algebraic vs. reverse polish notation** **algebraic** 1. algebraic notation consists of variable names, constants, and operators. 2. operators are placed between the variables and/or constants which they affect. 3. operators are applied in a precedence order. 4. precedence can be overridden by parentheses. examples: `A + B` `A * 4` `A + B * C` `(A + B) * C` **reverse polish** 1. reverse polish notation consists of variable names, constants, and operators. 2. operators are placed after the variables and/or constants which they affect. 3. precedence is strictly enforced by the order in which operators are encountered. 4. there are no parentheses. examples: `A B +` `A 4 *` `A B C * +` `A B + C *` **For information:** A reverse polish expression is evaluated by scanning from left to right until you encounter an operator; then applying the operator to the two immediately preceding values (one preceding value for unary operators) and inserting the result back into the list at the same point. example: A B C + + D * scan from left to right, locate B C +, compute t, and place t back in the expression. A t + D * scan from left to right, locate A t +, compute v, and place v back in the expression. v D * scan from left to right, locate v D * and compute w the result. Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). The program should be exclusive and copied or from the internet. It should be coded authentically for me. Please use on JAVA for coding the program. ## Platform Use only JAVA programming language.
Project ID: 2983835

About the project

23 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$17 USD in 5 days
5.0 (44 reviews)
4.6
4.6
23 freelancers are bidding on average $28 USD for this job
User Avatar
See private message.
$25.25 USD in 5 days
5.0 (159 reviews)
6.0
6.0
User Avatar
See private message.
$21.25 USD in 5 days
5.0 (80 reviews)
5.9
5.9
User Avatar
See private message.
$4.25 USD in 5 days
4.9 (103 reviews)
4.9
4.9
User Avatar
See private message.
$42.50 USD in 5 days
4.7 (41 reviews)
4.7
4.7
User Avatar
See private message.
$42.50 USD in 5 days
5.0 (28 reviews)
4.5
4.5
User Avatar
See private message.
$11.05 USD in 5 days
5.0 (20 reviews)
4.3
4.3
User Avatar
See private message.
$12.75 USD in 5 days
4.9 (94 reviews)
4.3
4.3
User Avatar
See private message.
$34 USD in 5 days
5.0 (11 reviews)
3.8
3.8
User Avatar
See private message.
$12.75 USD in 5 days
4.9 (48 reviews)
3.8
3.8
User Avatar
See private message.
$127.50 USD in 5 days
4.7 (15 reviews)
3.8
3.8
User Avatar
See private message.
$12.75 USD in 5 days
3.9 (22 reviews)
3.9
3.9
User Avatar
See private message.
$21.25 USD in 5 days
4.9 (13 reviews)
3.6
3.6
User Avatar
See private message.
$17 USD in 5 days
5.0 (18 reviews)
3.5
3.5
User Avatar
See private message.
$7.65 USD in 5 days
5.0 (8 reviews)
1.8
1.8
User Avatar
See private message.
$8.50 USD in 5 days
5.0 (5 reviews)
1.7
1.7
User Avatar
See private message.
$6.80 USD in 5 days
4.0 (3 reviews)
1.8
1.8
User Avatar
See private message.
$34 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$21.25 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$42.50 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
4.9
6
Member since Sep 17, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.