#solving quadratic eequation a = int(input("Enter the value of a: ")) b = int(input("Enter the value of b: ")) c = int(input("Enter the value of c: ")) d = (b**2)-4*a*c if d>0: print("The roots are real and distinct.") x1 = (-b+d**0.5)/2*a x2 = (-b-d**0.5)/2*a print("The roots are",x1,"and",x2) elif d==0: print("The roots are real and equal.") x = (-b+d**0.5)/2*a else: print("The roots are imaginary.")
@NewtumYT3 ай бұрын
Your quadratic equation solver looks great! Any dbout feel to discuss with us.
@WardaWarda-ow6ze3 ай бұрын
Sir your explanation is excellent. Keep it up.
@NewtumYT3 ай бұрын
Thanks a lot
@snehalgajbhiye1454Ай бұрын
Thank you so much sir😊
@NewtumYTАй бұрын
Most welcome if you want full understand of python please email us @ info@newtum.com we are providing peer coruse on python just email that u want free course
@alihamza-il8dq Жыл бұрын
good explanation keep it up
@NewtumYT3 ай бұрын
Thank you so much for the encouragement! I appreciate your support.