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
2+3=5 doubles facts to find sum
lesya [120]
so if I'm correct what you do is you multiply 5 times 2
7 0
3 years ago
6. Solve.<br> (1 point)<br> 5x + 17 &gt; 7
kakasveta [241]

Answer:

x > -2

Step-by-step explanation:

So D. I did this before. Please trust me.

4 0
3 years ago
Read 2 more answers
Calcula el radio de un cilindro que tiene 8 cm de altura y un volumen de 122 cm cúbicos
kondaur [170]

Answer:

\huge{ \boxed{ \sf{2.20 \: cm}}}

Step-by-step explanation:

\star{ \sf{ \:  altura  \: de \:  un \:  cilindro\:  =  \: 8 \: cm}}

\star{ \sf{ \: volumen  \: de  \: un  \: cilindro = 122  \: cm \:  cúbicos}} \:

\star {  \sf{ \: encontrar :radio   \: de  \: un  \:  cilindro }}

\boxed{ \sf{ \: Volume \: of \: a \: cylinder \:  =  \:  {\pi \: radius}^{2}  \: height}}

\mapsto{ \sf{122 \:  =  \: ( \frac{22}{7} )r \: ^{2}  \:  \times  \: 8}}

\mapsto{ \sf{122 = 25.14 \:  {r}^{2} }}

\mapsto{ \sf{25.14 \:  {r}^{2} = 122 }}

\mapsto{ \sf{ \frac{25.14 \:  {r}^{2} }{25.14}  =  \frac{122}{25.14}}}

\mapsto{ \sf{ {r}^{2} = 4.85 \: cm}}

\mapsto{ \sf{r = 2.20 \: cm}}

radio de un cilindro = 2.20 cm

\sf{espero  \: haber \:  ayudado!}

\sf{atentamente \:}!

~\sf{TheAnimeGirl}

5 0
3 years ago
What is 1 4/7 divided by 4 5/7<br> ANSWER THIS ASAP I ONLY HAVE 57 minutes LEFT PLEASE HURRY!!!!
kodGreya [7K]

Answer:

Step-by-step explanation:

\frac{11}{7} * \frac{7}{33}

\frac{11 * 7}{7 * 33}

\frac{1}{3}

0.333

4 0
4 years ago
Where did Mama Bear send Jack and Jill to get help? back home to the castle to the forest to the desert
matrenka [14]

Answer:

“He doesn't dare to get mad with Jill, for she'd take his head off in two minutes if ... “It is a forty days' job, young man, and you must make up your mind to bear it like a hero. ... “I can't go to sleep; I don't see how Jack's mother could send me anything ... “You, Merry, might do a deal at home helping mother, and setting the big ...

Step-by-step explanation: back home to the castle to the forest to the desert

6 0
3 years ago
Read 2 more answers
Other questions:
  • The area of a circle is the number of square units inside the circle.
    13·1 answer
  • A fair charges $7.25 for admission and $5.50 for a ride pass. Ten friends visited the fair. Not all of the friends purchased rid
    15·2 answers
  • In a scale drawing of the solar system, the scale is 1 mm = 500 km. For a planet with a diameter of 7000 kilometers, what should
    9·1 answer
  • Are these ratios equivalent?
    8·1 answer
  • Both fractions in the expression 1/3 + 1/3 are examples of ___________
    7·2 answers
  • Plz answer #18 for me
    12·2 answers
  • HELPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!1 PLEEEEASEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!
    11·2 answers
  • Find the volume of a rectangular prism with the width of x-1, a length of x+1 and a height of 2x-3.
    11·1 answer
  • Drag each tile to the correct box.
    9·1 answer
  • HELP ILL GIVE BRAINIEST
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!