求方程的根:#3x2 + 4x -5 = 0
from math import sqrt
a=3; b=4; c= -5
dis=bb - 4a*c
r1 = (-b + sqrt(dis) ) /(2a)
r2 = (-b - sqrt(dis) ) /(2a)
print('r1= ', r1)
print('r2= ', r2)
求方程的根:#3x2 + 4x -5 = 0
from math import sqrt
a=3; b=4; c= -5
dis=bb - 4a*c
r1 = (-b + sqrt(dis) ) /(2a)
r2 = (-b - sqrt(dis) ) /(2a)
print('r1= ', r1)
print('r2= ', r2)