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

Answers

Answer 1
Answer:

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.

Conversion algorithm

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.

__

Given example

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.

Answer 2
Answer:

Hope This Helps!!!

Have a great day!!!


Related Questions

PLEASE HELP The probability distribution for arandom variable x is given in the table.
Two chocolate donuts have about400 calories. How many calorieswould you expect to be in5 chocolate donuts?
5 (8 4) = (5 × 8) + (5 × 4)
Evaluate: 8x6 + (12-4) divided by 2
A die is rolled twice.What is the probability that the first roll was a 6 and the second roll was an odd number?

Ind the slope m of the tangent to the curve y = 9 + 4x2 − 2x3 at the point where x =a. m = 8a−6a2 (b) find equations of the tangent lines at the points (1, 11) and (2, 9). y(x) = 2x+11 (at the point (1, 11)) y(x) = (at the point (2, 9))

Answers

This is about slope of tangents via derivatives.

A) m = 8a- 6a²

B) At (1, 11), equation of tangent is y = 2x + 9

At (2, 9), equation of tangent is y = 2x + 4

  • The slope of a tangent to a curve is simply gotten by finding the first derivative of the function representing that curve.

  • We are given the function; y = 9 + 4x² - 2x³

The slope will be;

m = y' = 8x - 6x²

A) At x = a; To find the slope we will just put a for x in the slope function;

Slope; m = 8a- 6a²

B) Slope is 8x - 6x²

At the point (1, 11);

Slope = 8(1) - 6(1²) = 2

Thus, equation of tangent line is; y - 11 = 2(x - 1)

⇒ y - 11 = 2x - 2

⇒ y = 2x - 2 + 11

⇒ y = 2x + 9

  • At the point (2, 9);

Slope = 8(2) - 6(2²) = -8

Thus, equation of tangent line is; y - 8 = 2(x - 2)

⇒ y - 8 = 2x - 4

⇒ y = 2x - 4 + 8

⇒ y = 2x + 4

Read more at; brainly.com/question/18476507

Find the derivative:-
y' = 8x - 6x^2
This is the slope in terms of x.
When x = a , the slope is
8a - 6a^2

(b)  equation of tangent line at x1,y1 
is  y- y1  =  (8x - 6x^2)( x - x1) , so at (1,11) it is
y - 11 = (8(1) - 6((1)^2) ) (x - 1)
y =  2(x - 1) + 11
y = 2x + 9 (answer)

At  (2,9) 
y - 9 = (16-24)(x - 2)
y - 9 = -8x + 16
y = -8x + 25  answer

Write the ordered pair that represents y. Then find the magnitude of y.14-2,5), 2(1, 3)

a. (3. - 2); „13 units

C. (3. - 2); 2-5 units

b. (1,5): V13 units

d. (1,5); 2-7 units

Answers

Answer:

(3,-2), √(13) } units

Step-by-step explanation:

the correct question is:

Write the ordered pair that represents yz. Then find the magnitude of yz . y(-2,5),z(1,3)

SOLUTION:

points given are  y(-2,5) and z(1,3)

^( \to) _(YZ) =  \binom{1}{3}  -  \binom{ - 2}{5}  =  \binom{3}{ - 2}

so, the ordered pair is (3,-2)

next is to find the magnitude:

|^( \to) _(YZ)|  =  \sqrt{ {3}^(2) + ( - 2)^(2)  }

|^( \to) _(YZ)|  =  √( 9 +4)

\n|^( \to) _(YZ)|  =  √(13) } units

1260=(n-2)x180
find the value of n
can you please give me a explaination

Answers

Answer:

Explanation:

1260 = (n - 2)180
1260/180 = n - 2
7 = n - 2
7 + 2 = n
9 = n

Therefore, n = 9

EP-21 What is a requirement for fire extinguishers on a boat?Must be filled with water
Must be red or orange in color
Must be Coast Guard approved
Must be permanently mounted

Answers

Answer:

Must be Coast Guard approved

Step-by-step explanation:

--The use Coast Guard has a fire extinguisher requirement based on the boat size.

-The fire extinguisher on board has to be approved by the US Coast guard for protection of the engine compartment.

Answer:

Must be maintained in a fully charged usable condition.

Kyle wants to buy a new laptop that has an original price of $540. The store is having a sale, so the laptop is 10 percent off, which amounts to a discount of $54. If sales tax is 8 percent on the final price of the laptop, how much tax will he need to pay?

Answers

Answer:

A. 38.88

Step-by-step explanation:

$540-54 is 486

486(0.08) or 486(8%) is 38.88

Answer:

$38.88

I took the test, trust me

Dr. Smith wants to use only students with "normal" IQ in his experiment. He defines "normal" as anyone who scores in the middle 50% of IQ scores. Using this rule, what will be the lowest IQ score that could be included in the study and what would be the highest IQ score that could be included in the study? You know that the population of IQ scores are normally distributed, have µ = 100, and have σ = 15. (1 point)

Answers

Answer:

Lowest IQ: 89.875

Highest IQ: 110.125

Step-by-step explanation:

Problems of normally distributed samples can be solved using the z-score formula.

In a set with mean \mu and standard deviation \sigma, the zscore of a measure X is given by:

Z = (X - \mu)/(\sigma)

The Z-score measures how many standard deviations the measure is from the mean. After finding the Z-score, we look at the z-score table and find the p-value associated with this z-score. This p-value is the probability that the value of the measure is smaller than X, that is, the percentile of X. Subtracting 1 by the pvalue, we get the probability that the value of the measure is greater than X.

In this problem, we have that:

\mu = 100, \sigma = 15.

He defines "normal" as anyone who scores in the middle 50% of IQ scores. Using this rule, what will be the lowest IQ score that could be included in the study and what would be the highest IQ score that could be included in the study?

The middle 50% is the interval from the 25th percentile to the 75th percentile.

Lowest IQ:

This is the measure in the 25th percentile. That is X when Z has a pvalue of 0.25. So it is Z = -0.675

Z = (X - \mu)/(\sigma)

-0.675 = (X - 100)/(15)

X - 100 = 15*(-0.675)

X = 89.875

Highest IQ:

This is the measure in the 75th percentile. That is X when Z has a pvalue of 0.75. So it is Z = 0.675

Z = (X - \mu)/(\sigma)

0.675 = (X - 100)/(15)

X - 100 = 15*(0.675)

X = 110.125