Algorithm to find the roots of a quadratic equation


Asked by admin @ in Math viewed by 356 People


Write an algorithm to find root of quadratic equation

Answered by admin @



Algorithm to find root of a quadratic equation

  • Start.
  • Input the value of a, b, c.
  • Calculate k = b*b - 4*a*c.
  • If (d < 0) Display "Roots are Imaginary, calculater1 = (-b +i ? k)/ 2a and r2 =(b + i? k)/ 2a. else if (d = 0) Display "Roots are Equal" and calculate r1 = r2 = (-b / 2*a) ...
  • Print r1 and r2.
  • Stop.


Similar Questions

Find the roots of the following quadratic equation

Asked by admin @ in Math viewed by 297 persons

Question 1 Find the roots of the following quadratic equations, if they exist, by the method of completing the square: (i) 2x^2 - 7x + 3 = 0 (ii) 2x^2 …

Find quadratic equation from sum and product of roots

Asked by admin @ in Math viewed by 294 persons

How to find quadratic equation from sum and product of roots are given?

Python program to find all roots of a quadratic equation

Asked by admin @ in Computer Science viewed by 358 persons

Write a python program to find all roots of a quadratic equation​

How to find all real solutions of a quadratic equation

Asked by admin @ in Mathematics viewed by 347 persons

Find all real solutions of the quadratic equation. (Enter your answers as a comma-separated list. If there is no real solution, enter NO REAL SOLUTION.) x2 − 6x + 1 …

If is a root of the quadratic equation

Asked by admin @ in Math viewed by 302 persons

If -5 is a root of the quadratic equation 2x2+px-15=0

How to find third term of quadratic equation

Asked by maham237 @ in Mathematics viewed by 448 persons

A quadratic pattern has a second term equal to 1,a third term equal to -16 and a fifth term equal to -14 1.1.1.calculate the second difference of this quadratic pattern …

Which system of equations can be used to find the roots of the equation ?

Asked by maham237 @ in Mathematics viewed by 380 persons

Which system of equations can be used to find the roots of the equation 4x2 =x3 +2x?

How to solve quadratic equations using the square root method

Asked by admin @ in Mathematics viewed by 297 persons

How can square roots be used to solve quadratic equations?

What is the square root method when solving quadratic equation

Asked by admin @ in Mathematics viewed by 286 persons

How can square roots be used to solve quadratic equations?

How do you find the roots of a polynomial equation

Asked by admin @ in Mathematics viewed by 340 persons

How to find the roots of a polynomial equation?

How do you find the equation of a quadratic function

Asked by admin @ in Mathematics viewed by 307 persons

Write the equation of the quadratic function in standard form represented by the graph

How to find the y intercept of a quadratic equation

Asked by admin @ in Mathematics viewed by 280 persons

What is the y-intercept of this quadratic function? f(x)=-x2+10x-22

A quadratic equation whose one root is 3 is

Asked by admin @ in Math viewed by 306 persons

A quadratic equation whose one root is 3 is​

If the quadratic equation px2 2 root 5 15

Asked by admin @ in Math viewed by 309 persons

If the quadratic equation px2 - 2√5px + 15 = 0 has two equal roots then find the value of p.

If 1 p is a root of quadratic equation

Asked by admin @ in Math viewed by 301 persons

If (1 - p) is a root of quadratic equation x2 + px + (1 - p) = 0 then find its roots?

Most viewed questions in Math


What is the value of x in the expression

Asked by admin @ in Math viewed by 15137 persons


Shubham is facing south and moves 30 km

Asked by admin @ in Math viewed by 12980 persons


Prachi excellence in mathematics class 7 solutions pdf free download

Asked by admin @ in Math viewed by 12031 persons



Oxford new enjoying mathematics class 7 solutions chapter 1

Asked by admin @ in Math viewed by 11515 persons


Survey of various types of bank accounts icse project

Asked by admin @ in Math viewed by 11504 persons


The town of p is located at point x

Asked by admin @ in Math viewed by 11357 persons



A clock gains 4 minutes after every 4 minutes

Asked by admin @ in Math viewed by 10163 persons


Running a tuck shop or canteen maths project pdf

Asked by admin @ in Math viewed by 9377 persons


Paul is sixteenth from the front of the row

Asked by admin @ in Math viewed by 9346 persons



The average weight of 20 teachers is 80 kg

Asked by admin @ in Math viewed by 7519 persons


The number 567 xy is completely divisible by 30

Asked by admin @ in Math viewed by 7395 persons


In a row of friends tiya occupies fifteenth place

Asked by admin @ in Math viewed by 7202 persons



What would $ mean if fat is coded as

Asked by admin @ in Math viewed by 5274 persons


Consider a 3 digit integer x with distinct digits

Asked by admin @ in Math viewed by 4801 persons


Rahul went to his mother's mother in law

Asked by admin @ in Math viewed by 4175 persons