1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
vlada-n [284]
3 years ago
13

100pts: Convert the following expression into postfix notation: 4*(5/2^3-4)+4*(9-2)

Mathematics
2 answers:
choli [55]3 years ago
7 0

Answer:

  4 5 2 3 ^ / 4 - × 4 9 2 - × +

Step-by-step explanation:

Start by putting a left parenthesis "(" on the operator stack, and adding a right parenthesis ")" to the end of the input expression.

<u>Conversion algorithm</u>

Copy any operands to the output string until an operator is encountered. Pop operators from the operator stack to the output string if they have equal or higher precedence, then put the operator encountered onto the operator stack. When a right parenthesis is encountered, pop operators from the operator stack to the output string until a left parenthesis is found. Drop that left parenthesis.

__

<u>Given example</u>

For the given expression, we copy 4 and 5 to the output, push / to the operator stack, copy 2 to the output, push ^ to the operator stack, and copy 3 to the output. At this point, the output is ...

  4 5 2 3

and the operator stack is

  ( * ( / ^ . . . . . top item is on the right

When we encounter the - sign, we write the ^ and / operators to the output string and push - to the operator stack. At this point, the state is ...

  output: 4 5 2 3 ^ /   operator stack: ( * ( -

Next, we copy 4 to the output. When we encounter the right parenthesis, we copy - to the output and pop the ( from the operator stack.

The next input symbol, +, is lower precedence than the remaining * on the operator stack, so we output the * and push the +. Now we have ...

  output: 4 5 2 3 ^ / 4 - *   operator stack: ( +

The output string so far completes the evaluation of the first term of the input expression.

Now, we copy out 4, push * and (, copy out 9, push -, copy out 2. The right parenthesis triggers the popping of the - to the output, and the final right parenthesis that we added at the start pops the * and + from the operator stack. Our final output is ...

  4 5 2 3 ^ / 4 - × 4 9 2 - × +

_____

The result is 14.5.

Alex Ar [27]3 years ago
6 0

Answer:

14.5.

Step-by-step explanation:

<em>HOPE</em><em> </em><em>THIS</em><em> </em><em>HELPS</em><em> </em><em>YOU</em><em> </em>

<em>❤</em><em> </em><em>❤</em><em> </em><em>❤</em><em> </em><em>❤</em><em> </em><em>❤</em><em> </em><em>❤</em><em> </em><em>❤</em><em> </em><em>❤</em><em> </em>

You might be interested in
Right answers, marking brainliest if correct.
GrogVix [38]

Answer:

1) 1) 97 – 39. It becomes

100 - 40 = 60

2)2) 812,344 – 187,675. It becomes

800000 - 200000 = 600000

3)321 + 79. It becomes

300 + 80 = 410

4) 315 x 821. It becomes

300 + 800 = 1100

5) 562 x 791. It becomes

600× 800 = 480000

6) 82 x 156. It becomes

80×200 = 16000

7) 711 x 884. It becomes

700×900 = 630000

8) 126 x 952. It becomes

100×1000 = 100000

9) 824 x 541. It becomes

800× 500 = 400000

10) 4027 x 78. It becomes

4000×80 = 320000

11) 796 x 123. It becomes

800×100 = 80000

12) 817 19. It becomes

800/20 = 40

13) 3615 72. It becomes

4000/70 = 57.1 = 60

14) 232 64. It becomes

200/60 = 33.3 = 30

15) 559 81. It becomes

600/80 = 7.5 = 8

16) 2986 222. It becomes

3000/200 = 15

17) 10275 232. It becomes

10000/200 = 50

18) 7428 286. It becomes

7000/300 = 23.3 = 20

19) 7143 369. It becomes

7000/400 = 17.5 = 18

20) 628,597 1525, it becomes

600000 - 2000 = 300

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
The overall regression F-statistic tests the null hypothesis that:____.
AnnZ [28]

Answer:

A

Step-by-step explanation:

F test is a statistical method used to determine which models best fits the population from which the sample is derived. It is a ratio of two variances. Variance measure the rate of dispersion

The formula for calculating f-test = explained variance / unexplained variance

There are two hypothesis in an f test :

1. the  null hypothesis  - all slope coefficient are equal to zero

the alternative hypothesis : at least one of the slope coefficient is not equal to zero

8 0
3 years ago
Ann worked 14 hours and earned a total of $108.50.<br> How much did she earn per hour?
Delicious77 [7]

Answer:

108.50 divided by 14= 7.75

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Can someone help? i really don’t understand. question is in the picture
Delicious77 [7]

Answer: (-1,2)

Step-by-step explanation:

5 0
3 years ago
Consider a regular hexagon centered at (3,4). Describe a rotation that
Ne4ueva [31]

Answer:

36- degree rotation m8

Step-by-step explanation:

mark me brainliest :)

3 0
3 years ago
Other questions:
  • Which of the following is equal to the square root of...
    8·1 answer
  • Factor out coefficient of 3/8d+3/4
    13·1 answer
  • Write an equation in point-slope form for the line through the given point with the given slope. (-3,-5); m=-2/5
    12·1 answer
  • The seismic activity density of a region is the ratio of the number of earthquakes during a given time span to the land area aff
    8·2 answers
  • What is the y coordinate of the solution to the system of equations? 3x+6y=3 5x-y=27
    10·1 answer
  • How many $50 bills is found in $890
    5·1 answer
  • Opinions please! Im doing a research paper in school for English (and part math) and my topic is "Is NASA a Waste of Money?" I h
    12·1 answer
  • Find the missing numerators in each of the following fractions: a. 5⁄6 = ?⁄12 b. 2⁄4 = ?⁄36 c. 2⁄5 = ?⁄20 d. 4⁄25 = ?⁄100
    8·2 answers
  • What is the difference between a terminating decimal and a repeating decimal?​
    6·1 answer
  • What is the median of these numbers<br> 32, 16, 54, 60, 26, 32
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!