Problem Statement. The roots of a quadratic equation ax² + bx + c = 0 can be determined with the quadratic formula, -b ±

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Problem Statement. The roots of a quadratic equation ax² + bx + c = 0 can be determined with the quadratic formula, -b ±

Post by answerhappygod »

Problem Statement The Roots Of A Quadratic Equation Ax Bx C 0 Can Be Determined With The Quadratic Formula B 1
Problem Statement The Roots Of A Quadratic Equation Ax Bx C 0 Can Be Determined With The Quadratic Formula B 1 (24.3 KiB) Viewed 11 times
Problem Statement The Roots Of A Quadratic Equation Ax Bx C 0 Can Be Determined With The Quadratic Formula B 2
Problem Statement The Roots Of A Quadratic Equation Ax Bx C 0 Can Be Determined With The Quadratic Formula B 2 (43.76 KiB) Viewed 11 times
Problem Statement. The roots of a quadratic equation ax² + bx + c = 0 can be determined with the quadratic formula, -b ± √b² - 4ac| 2a X1 X2 =
import numpy as np a eval(input ("Please input a:")) beval(input ("Please input b: ")) c = eval(input("Please input c:")) r=0 rl = 0 x2=0 d = b**2- 4*a*c if a == 0: if b == 0: print("There is no solution to this equation!") elif b 10: r = -b/c print("The solution r \=", r) elif a = 0: if d >= 0: rl-(-b+np.sqrt(d))/(2*a) r2=(-b-np.sqrt(d))/(2*a) print("The solutions rl and r2 are:", rl, "and", r2, ", respectively.") elif d < 0: print("The equation does not have real solutions.")
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply