Computer Science, asked by raunakharsh7685, 1 year ago

How to Solve Quadratic Equation using Python?

Answers

Answered by Shubu01
0

\huge{Hey Mate!!!}

☆☞ Here is ur answer ☜☆

✔✔ # Solve the quadratic equation ax**2 + bx + c = 0.

✔✔ # import complex math module.

✔✔ # To take coefficient input from the users.

✔✔ # a = float(input('Enter a: '))

✔✔ # b = float(input('Enter b: '))

✔✔ # c = float(input('Enter c: '))

✔✔ # calculate the discriminant.

✔✔ # find two solutions.

HOPE IT HELPS!

Answered by SnehaG
0

<font color="red">hello!

☆☞ Here is ur answer ☜☆

✔✔ # Solve the quadratic equation ax**2 + bx + c = 0.

✔✔ # import complex math module.

✔✔ # To take coefficient input from the users.

✔✔ # a = float(input('Enter a: '))

✔✔ # b = float(input('Enter b: '))

✔✔ # c = float(input('Enter c: '))

✔✔ # calculate the discriminant.

✔✔ # find two solutions.

HOPE IT HELPS!

Similar questions