like subscribe and share
The link to the video to FIND THE TYPE of QUADRATIC EQUATION is:
• (python) How to check the type of the give...
The codes for the following program:
_____________________________________________________________________________________________
import math
a= input ("enter the coefficiant of X^2: ")
b= input ("enter the coefficiant of X: ")
c= input ("enter the constant: ")
d= b*b
e= 4*a*c
f= d-e
h= math.sqrt(f)
g= ((-1*b)+h)/2*a
i= ((-1*b)-h)/2*a
print "D= ", f
print "X can either be", g,"or", i
_____________________________________________________________________________________________