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
LUCKY_DIMON [66]
2 years ago
6

Given an array arr, of type int, along with two int variables i and j, write code that swaps the values of arr[i] and arr[j].

Mathematics
1 answer:
ziro4ka [17]2 years ago
6 0

Answer:

b

Step-by-step explanation:

You might be interested in
Find the slope of the line through each pair of points (-12,0) (20,0)
AlexFokin [52]

\frac{y2}{x2}  -  \frac{y1}{x1}
That is the formula to find the slope. Hope it will help you.
8 0
2 years ago
The quadratic function h(t) = -16.1? + 150 models a ball's height, in feet, over time, in seconds,
Sliva [168]
<h2>Hello!</h2>

The answer is: The first graphic representation.

<h2>Why?</h2>

We are given a quadratic equation, meaning that it could be two possible solutions for the exercise, however, we are talking about time, so we have to consider only the obtained positive values.

Let's make the equation equal to 0 in order to find the values of "t"

h(t) = -16.1t^2 + 150

0=-16.1t^2+150

16.1t^2=150

t^2=\frac{150}{16.1} =9.32

t=+-\sqrt{9.32} =+-3.05

t1=3.05

t2=-305

So, discarding the negative value, we can use the possitive value to find the correct graphic representation.

To find the correct graphic representation we must take into consideration the following:

- We must remember that the sign of the coefficient of the quadratic term (t^2) will define if the parabola opens downward or upward.

From the given quadratic (or parabola) equation we have:

a=-1

b=0

c=150

So, since the coefficient of the quadratic term is negative, the parabola opens downward.

- Since we are looking for a graphic that represents the change in height over time, we need to look for a graphic that shows only positive values for the x-axis (time)

- We are looking for a parabola which y-axis intercept is equal to 150.

Therefore, the graphic representation of the quadratic function that models a ball's height over time is the first graphic representation.

Have a nice day!

5 0
2 years ago
A caterer charges a setup fee of $50, plus $20 per person. How much will the caterer charge if 35 people attend the party, and t
tiny-mole [99]

Answer:

$650

Step-by-step explanation:

35 people x $20 per person = $700

$700 + $50 set up fee = $750 dollars total

$750 - $100 coupon = $650

3 0
2 years ago
The diameter of the base of the cone measures 8 units. The height measure 6 units. What is the volume of the cone?
ivolga24 [154]

Answer:

The  volume of the cone is  100.48 units³ approximately

Step-by-step explanation:

To find the volume of a cone with a diameter of 8 unit   and height of 6 units, we will follow the steps below;

first, write down the formula for calculating the volume of a cone

v= πr²\frac{h}{3}

where v is the volume of the cone

r is the radius    and h is the height of the cone

from the question given, diameter d = 8 units  but d=2r    which implies  r=d/2

r=8/2 = 4 units

Hence r= 4 units

height = 6 units

π is a constant and is ≈ 3.14

we can now proceed to insert the values into the formula

v= πr²\frac{h}{3}

v ≈ 3.14 × 4² × 6/3

v  ≈ 3.14 × 16 × 2

v ≈ 100 .48 units³

Therefore the  volume of the cone is  100 .48 units³ approximately

6 0
2 years ago
How do you solve this
Orlov [11]
A) since the ratio of green peppers to pureed tomatoes is 1:4, the tomatoes have 4 times the amount of mL as the peppers, so there are 20mL of green peppers he should mix with 80 mL of pureed tomatoes.


8 0
3 years ago
Other questions:
  • Which geometric figure consists of the set of all points in a plane that are the same distance from a given point?
    5·2 answers
  • 3/4 divided by 1/4 equal
    10·2 answers
  • What is 10000 times greater than 7
    11·1 answer
  • What is the area of triangle LMN?
    15·2 answers
  • Q/18 = 5. i need to solve for q
    6·1 answer
  • Steve bought a new TV that cost $399.95. the laptop was on sale for 20% off. If the sales tax is 6.5% how much will he pay for t
    15·1 answer
  • If a = band b = c, which statement must be true?
    15·1 answer
  • Help me please!!!!!!!!!!!!!!!!
    12·2 answers
  • (5, 14) and (18,3)? Helppppppppp
    8·1 answer
  • (3.6x10^8) divided by (9x10^3)
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!