Question: How to use python3to solve the problemThank you The solutions to an equation of the form ax +bx c- is: b2-4ac 2a X1,X2 = There
The solutions to an equation of the form ax +bx c- is: b2-4ac 2a X1,X2 = There are two solutions: one for adding, and one for subtracting the radical. Write a program that takes a, b, and c as input and solves for xi and xz oumay assume that b2-4ac 0, Let xi bethe solution where you add the term under the square root term, and x2 bethe solution where you subtract the square root term. In t def quadratic(a, b, c): x1-# your code here x2 , Your code here return (x1,x2) in t 1.quadratie ( 1, 2, 1) -. (-1.0. -1.0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
