Equation Evaluator Project

Create a Program that will accept an equation as input from the user using standard algebraic format.

Examples:
N O N (ENTER)
(N O N) O N (ENTER)
( ( ( N  O N O N ) O N O ( N O N ) O N ) O N ) O N (ENTER)

where N is a number and O is either a math or logical comparison operator. The entire entry must be entered as a single input with one enter key click.

The Math operators that must be accepted are:
+ addition
– subtraction
* multiplication
/ division
% modulus

The comparison operators are:
== equals
!= not equals
@= absolute value of both are equal
< less than
<= less than or equals
> greater than
>= greater than or equals
NOTE: You are not required to include comparisons of equations. You may limit comparisons to just 2 numbers.

The use of math operators will cause the resulting number to be displayed.

The use of a comparison will cause “True” of “False” to be displayed.

Allow the user to repeat the inputting of expressions as many times as they would like. The program must not fail due to improper user input, so, you must catch error exceptions and handle them.

NOTE: I suggest that you use the algorithm in the attached Word document as your basic equation parsing algorithm. You must use two stacks, based on the Stack ADT, to parse the user inputted equation.

Include your algorithms, and other appropriate documentation in your code. Include UMLs for any  classes that you use to create objects.
—————————————————————————-
1. While there are still tokens to be read in,

  1.1 Get the next token.

  1.2 If the token is:

      1.2.1 A number: push it onto the value stack.

      1.2.2 A variable: get its value, and push onto the value stack.

      1.2.3 A left parenthesis: push it onto the operator stack.

      1.2.4 A right parenthesis:

        1 While the thing on top of the operator stack is not a

          left parenthesis,

            1 Pop the operator from the operator stack.

            2 Pop the value stack twice, getting two operands.

            3 Apply the operator to the operands, in the correct order.

            4 Push the result onto the value stack.

        2 Pop the left parenthesis from the operator stack, and discard it.

      1.2.5 An operator (call it thisOp):

        1 While the operator stack is not empty, and the top thing on the

          operator stack has the same or greater precedence as thisOp,

          1 Pop the operator from the operator stack.

          2 Pop the value stack twice, getting two operands.

          3 Apply the operator to the operands, in the correct order.

          4 Push the result onto the value stack.

        2 Push thisOp onto the operator stack.

2. While the operator stack is not empty,

    1 Pop the operator from the operator stack.

    2 Pop the value stack twice, getting two operands.

    3 Apply the operator to the operands, in the correct order.

    4 Push the result onto the value stack.

3. At this point the operator stack should be empty, and the value

  stack should have only one value in it, which is the final result.

Utopia

Construct a thesis statement, and find 4 sources to support that thesis. For each source, write a description of it explaining its importance to the thesis, etc. The entire instructions to the assignment are attached.

The class is called “Utopian Literature from Antiquity to Today”. The thesis statement should be based on one of the texts that we have already studied in class:
-Republic, by Plato, trans. G.M.A. Grube, Hackett Classics, 2nd Edition (ISBN: 0872201368)
-Utopia, by Thomas More, ed. Logan. Norton Critical Edition, 3rd Edition (ISBN: 039393246X)
-As You Like It, William Shakespeare, ed. Brissenden. The Oxford Shakespeare (ISBN: 0199536155)

The syllabus of the course is attached for further information. I also attached the first essay that I wrote for this course, for you to perhaps base yourself off of that.

Discussion: ERP Implementation

Many companies implement enterprise resource planning (ERP) systems but are disappointed by the results when they do not realize the return on investment (ROI) that was projected for the system.

Do some research and post an example of either a successful or failed ERP implementation at a major company. How did it (or did it not) standardize processes across the firm? Explain what the major causes were for the success or failure of the system.

If you have worked for a company that has an ERP system, you may choose to post about the effectiveness of that particular ERP system.

Speed up motion estimation

My project is speeding up motion estimation for various video processing applications. The programming is to be done in Matlab. My project supervisor has a meeting every week with me. He assigns me a particular task to be completed within that week.
Description- 1)Build a RavME Motion Estimator that uses motion from Compressed video as a kick start. Compare the below Measures of performance wrt to really good motion estimator(RGME) like EPIC
Are the vectors from RavME the same as from full search BM?
Are the vectors from RavME the same as ground truth or RGME?
Is the prediction error from RavME the same or better than full search BM?
Is the prediction error from RavME the same or better than RGME?

2)work on P – frame
Select candidate motion vectors at a site .. remember to scale depending on how far in the past they point to
For each candidate
Measure DFD
Measure Spatial smoothness
Pick the best

3)B – frames == same thing
Select candidate motion vectors at a site
Flip the vectors around. So if you have one vector pointing back, then just negate it and make it also point forward
Scale the vectors depending on the target frames
For each candidate
Measure DFD
Measure Spatial smoothness
Pick the best

4) then figure out for Iframe

The code should be simple without using any matlab functions