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
lesya [120]
3 years ago
7

What is nbr2 at the end of the program segment execution? nbr2 = 0 calc = 1 x = 7 while x >=3 calc = calc * x x = x - 2

Mathematics
1 answer:
Rashid [163]3 years ago
5 0

Answer:

nbr2 = 0

Step-by-step explanation:

Given

The following program segment

<em>nbr2 = 0 </em>

<em>calc = 1 </em>

<em>x= 7 </em>

<em>while x >=3: </em>

<em>    calc = calc * x </em>

<em>    x = x - 2</em>

<em />

Required

The value of nbr2

In the first line, nbr2 was initialized to 0 i.e.

<em>nbr2 = 0</em>

<em />

From the second line of the program till the last, no operation was carried out on nbr2

This means that nbr2 will maintain its original value (which is 0)

Hence,

<em>The value of nbr2 is 0</em>

You might be interested in
Plums cost $0.77 per pound Mangoes cost $1.32 per pound Write an expression that can be used to find the cost of buying p pounds
marissa [1.9K]

Answer:

The graphs below show the cost y of buying x pounds of fruit. One graph shows the cost of buying x pounds of peaches, and the other shows the cost of buying x pounds of plums.

Which kind of fruit costs more per pound? Explain.

Bananas cost less per pound than peaches or plums. Draw a line alongside the other graphs that might represent the cost y of buying x pounds of bananas.

IM Commentary

This task allows students to reason about the relative costs per pound of the two fruits without actually knowing what the costs are. Students who find this difficult may add a scale to the graph and reason about the meanings of the ordered pairs. Comparing the two approaches in a class discussion can be a profitable way to help students make sense of slope.

Solutions

Solution: Slope as Unit Rate

The graph that represents the cost of x pounds of peaches is steeper, so it must have a larger slope. The slope can be interpreted as the unit rate; in this case it tells you the cost of a single pound of fruit.

Since the slope for the peach graph is greater than the slope of the plum graph, the cost of a pound of peaches is greater than the cost of a pound of plums.

For b, students should realize that the cost per pound of bananas will be represented by a slope that is less than either of the other two, and draw a line through the origin labeled "Bananas" and lying below both of the other graphs.

Solution: Adding a scale to the graph

Students who prefer to work with specific numbers can approach this problem by sketching in a scale on the x-axis and y-axis. For example, if they decided that a pound of peaches might cost a dollar, then they might plot the point (1,1) on the line labeled "Peaches", then fill out the rest of the scale accordingly. They could then read off the cost of a pound of plums and see that it is less than for peaches.

For the second question, they could choose any price per pound b for bananas that is less than the one they read off for plums, and then draw a line from the origin through the point (b, 1), and label it "Bananas".

4 0
2 years ago
PLZZZZ HELPPPP THIS IS A TIMED TESTTT!!
lorasvet [3.4K]

Answer:

2/3

Step-by-step explanation:

DEFG ~ D'E'F'G'

\frac{D'G'}{DG} = \frac{2}{3}

8 0
2 years ago
The equation tan(55) = 15/b can be used to find the length of line AC.what is the length of line AC round to the nearest 10th 3.
Nadusha1986 [10]

Answer:

10.5 in

Step-by-step explanation:

Given

tan(55) = \frac{15}{b}

Required

Find length AC

The question is not detailed enough; so, I'll assume that b represents line AC.

Having said that;

We start by multiplying both sides by b

tan(55) = \frac{15}{b}

b * tan(55) = \frac{15}{b} * b

b * tan(55) =15

Divide both sides by tan(55)

\frac{b * tan(55)}{tan(55)} = \frac{15}{tan(55)}

b = \frac{15}{tan(55)}

Find tan(55)

b = \frac{15}{1.42814800674}

b = 10.5031130731

b = 10.5  <em>(Approximated)</em>

<em />

Length AC is 10.5

7 0
3 years ago
Read 2 more answers
What is 2x+5=y and 5x+4=y pls hurry
Sergeu [11.5K]

Answer:

( 1/3, 5 2/3) Or (0.33, 5.66)

Step-by-step explanation:

If you graph the 2 equations and see where they intersect, they will land on the answer.

4 0
3 years ago
A fast food restaurant has one drive through window. An average of 40 customer per-hour arrive at the window. It takes an averag
Leno4ka [110]

Step-by-step explanation:

Below is an attachment containing the solution.

8 0
2 years ago
Other questions:
  • a right triangle has a hypotenuse of 58 cm, with legs that differ by 2 cm. find the length of each leg
    10·1 answer
  • Answers to these! Need ASAP due tomorrow
    9·1 answer
  • Which triangle always has sides with three different lengths? A. isosceles B. scalene C. equilateral D. right
    10·2 answers
  • If 30% of the pupils in a school are boys, what percentage of the pupils are girls?
    12·2 answers
  • A house with a rectangle base is built on a plot of land. The southwest corner of the plot is designated with coordinates (0,0).
    13·1 answer
  • I'd really appreciate it if anyone helped! :)
    13·2 answers
  • Write the value of the expression.
    12·1 answer
  • Hayley is filling a tank with water. She measures the depth, in inches, of the water in the tank at the end of each hour for 8 h
    10·1 answer
  • Find the slope.....<br>​
    9·1 answer
  • 6. Three bunches of flowers can be bought for $9.48. Four bunches can be bought for $10.64. Which is the better buy?​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!