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
ira [324]
3 years ago
8

Write a program that will solve a quadratic equation: ax2 + bx + c = 0. The program must ask the user to enter the values for a,

b and c. It should then determine the discriminant of the parabola and based on the discriminant it should display the real roots: Discriminant = b2 - 4ac > 0 means there will be two distinct real roots. Discriminant = b2 - 4ac = 0 means there will be only one real root. Discriminant = b2 - 4ac < 0 means there will be no real roots. Use the if - then else structure in your program to decide the outcome of the program. User must then use the quadratic equation to solve for x: = − ± √ −
Mathematics
1 answer:
JulsSmile [24]3 years ago
4 0

Answer:

x= -b ±√b²- 4ac/2a

Step-by-step explanation:

ax2 + bx + c = 0

Dividing the quadratic equation by a gives

x2 + b/ax + c/a = 0

x2 + b/ax = - c/a

Applying the square formula

(x)^2 + 2(x) (b/2a) + (b/2a)^2= + (b/2a)^2- c/a

(x+b/2a)^2= b²/4a² - c/a

(x+b/2a)^2= b²/4a² - 4ac/4a²

(x+b/2a)^2= b²- 4ac/4a²

Taking square root of both sides gives

(x+b/2a)= ±√b²- 4ac/2a

x= -b/2a±√b²- 4ac/2a

x= -b ±√b²- 4ac/2a

This is called the quadratic formula and it can solve the value for x for the given value of a, b and c for the quadratic equation.

From this it is concluded that

Discriminant = b2 - 4ac > 0 means there will be two distinct real roots. Discriminant = b2 - 4ac = 0 means there will be only one real root. Discriminant = b2 - 4ac < 0 means there will be no real roots.

This is because a square root of a value greater than 0 is possible and gives two values for roots of x.

The square root of a value less than 0 gives a negative number and therefore the roots are an imaginary number.

The square root of a value greater equal to 0 gives a zero leaving behind only one real root.

You might be interested in
The cost of a concert ticket last week was $50.00. This week a concert ticket is $55.00. The percent increase of the ticket from
marta [7]

Answer:

110% pls give brainliest

Step-by-step explanation:

4 0
3 years ago
If the circumference of a circle measures 3/2pi cm, what is the area of the circle in terms of pi?
bagirrra123 [75]

Answer:

D - Area = 9/16pi cm²

Step-by-step explanation:

in order to evaluate this question , we will first of all find the radius using the formula for finding the circumference of a circle , we will then find the area of a circle.

<u>solution</u>

given that circumference of a circle = 3/2picm

recall that the formula for finding the circumference of a circle = 2πr

3/2picm = 2πr

multiply through by 2

3picm = 4pir

divide both side by 4pi

3pi cm/4pi = r

r = 3/4 picm

Recall that the Area of  a circle = πr²

Area = pi ( 3/4)² cm

Area = 9/16pi cm²

7 0
3 years ago
Factorise 6x² -5x -21
Alex Ar [27]
I think it’s this but I’m not sure

5 0
3 years ago
The radius of a circle is 10 meters. What is the angle measure of an arc 3 meters long?
Anuta_ua [19.1K]

Answer:

Ф = 0.3 radians

Step-by-step explanation:

The arc length formula is s = rФ.  Solving for the angle measure Ф, we get:

Ф = s/r

and so with r = 10 m and s = 3 m, we get Ф = 3 m / 10 m = Ф = 0.3 radians

3 0
3 years ago
How do you write seven hundred thirty one in standard form
Katarina [22]
This is the standard for of seven hundred (700) thirty (30) one (1) :
Answer: 731
6 0
3 years ago
Read 2 more answers
Other questions:
  • What is the sin, cos and tan of 270°
    5·2 answers
  • Winter break starts in 3 4/7 weeks. Write the mixed number as a fraction greater than one
    5·1 answer
  • Help please &amp; thank you !
    11·1 answer
  • This graph is _____. a) continuous b) discontinuous
    14·2 answers
  • Two years of local Internet service cost $685, including the installation fee of $85. What is the monthly fee?
    5·2 answers
  • There were two containers of oil. There was twice as much oil in the second container as in the first one. After using 13 liters
    12·2 answers
  • Suzanna uses a 1/4 cup measuring scoop to make her coffee. If she needs to fill her coffee filter with 2 cuos of coffe grounds,h
    14·1 answer
  • Need help asap <br> will give brainly
    14·2 answers
  • KM and NP are parallel lines.<br><br> Which angles are alternate exterior angles?
    9·1 answer
  • Find x so that m || n.(8x + 4)(9x-11)
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!