Python program to solve quadratic equation
# Then do according to the steps to solve the # Check if D is negative, positive or zero Given the coefficients a, b, c of the equation form ''' Function returns the solutions of the quadratic equation #Import the module numpy for numerical calculations
![python program to solve quadratic equation python program to solve quadratic equation](https://btechgeeks.com/wp-content/uploads/2021/05/Python-Program-to-Solve-Quadratic-Equation-1024x576.png)
Researchers should focus on this important kind of equations. We will continue to explore their uses in all areas of research in the coming notes. Nowadays, applications of quadratic equations are known and most of them are from Mathematics and Physics. The quadratic equations that govern the motion of this ball. To come up with solutions of above 3 questions leads to solving The time to move before it reaches back the ground.The height it reaches after time \(t\),.The real-life application of quadratic equation in Physics is the problem of motion.Ī ball is thrown upwards and we are interested at finding out. It is clear that Peter is 5 years old while John is 10 years old. The mathematical expression of this problem leads to \((x-5)x=50\) where \(x\) is the age of John. One of the uses of Quadratic equations is solving the problem of ages.įor example, the age of Peter is 5 years less than age of John and the product of their ages is 50. In this part, we are interested in applications of Their usage in real life is our major concerns. Quadratic equations have many applications in Physics and Mathematics.Īlthough we can find many examples where these equations of 2 degree with one variable are applied, Step 3: Since Delta is less than zero, we have two complex numbersĪpplications of quadratic equations in real life Step 2: , this means we have two complex distinct solutions
![python program to solve quadratic equation python program to solve quadratic equation](https://i.ytimg.com/vi/LsdmrWJMwGg/hqdefault.jpg)
Step 3: Since Delta is greater than zero, Step 2: , this means we have two real distinct solutions Solutions of Examples of Quadratic Equations Step 3: For the first 2 Delta, the solutions are real numbers while for Delta negative, we have complex numbers, We want to use the following steps to find the solution of equation (1): In our above equation (1), we want to find the value of the unknown. Solving an equation means finding the value(s) of the unknown (s). There are several methods to solve this equation (1). Where are real or complex numbers but in this post we want to deal with to be real numbers. Quadratic Equations are equations of one unknown that has the highest power of 2.