185,194 views
41 votes
41 votes
.Write a program that uses a void function void miles_to_km() to generate a kilometer

conversion table for all even kilometers from 2 miles to 62 miles. Use two decimal
places for kilometers.

User Vivin Paliath
by
2.9k points

1 Answer

25 votes
25 votes

Step-by-step explanation:

rational

Step-by-step explanation:

The discriminant (d) of a quadratic equation ax^2 + bx + c = 0ax

2

+bx+c=0 is:

\boxed{\mathrm{d =} \ b^2 - 4ac}

d= b

2

−4ac

.

If:

• d > 0, then there are two real solutions

• d = 0, then there is a repeated real solution

• d < 0, then there is no real solution.

In this question, we are given the quadratic equation 3x^2 + 4x - 2 = 03x

2

+4x−2=0 . Therefore, the discriminant of the equation is:

b² - 4ac = (4)² - 4(3)(-2)

= 16 - (-24)rational

Step-by-step explanation:

The discriminant (d) of a quadratic equation ax^2 + bx + c = 0ax

2

+bx+c=0 is:

\boxed{\mathrm{d =} \ b^2 - 4ac}

d= b

2

−4ac

.

If:

• d > 0, then there are two real solutions

• d = 0, then there is a repeated real solution

• d < 0, then there is no real solution.

In this question, we are given the quadratic equation 3x^2 + 4x - 2 = 03x

2

+4x−2=0 . Therefore, the discriminant of the equation is:

b² - 4ac = (4)² - 4(3)(-2)

= 16 - (-24)

= 40

Since the discriminant, 40, is greater than zero, the quadratic equation has 2 rational solutions.

= 40

Since the discriminant, 40, is greater than zero, the quadratic equation has 2 rational solutions.

User Geoffreak
by
2.9k points