Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Could someone help explain what exactly they'd like us to do? Thanks Consider the following 4 equivalent equations for the root of a quadratic function
Could someone help explain what exactly they'd like us to do? Thanks
Consider the following 4 equivalent equations for the root of a quadratic function in the picture below. Write a python function that takes 3 parameters (a,b,c) and finds the 4 sets of roots using all 4 equations. Find function then evaluates the function using the 4 sets of solutions and returns the ones with the minimum floating point error
Question 1) Consider the following 4 equivalent equations for the root of a quadratic function in the picture below. Write a python function that takes 3 parameters (a,b,c) and finds the 4 sets of roots using all 4 equations. Find function then evaluates the function using the 4 sets of solutions and returns the ones with the minimum floating point error 2.1. It is well known that a quadratic equation ax? +bx+c=0 has two roots given by -b + b2 - 4ac 2a There are, however, other mathematically correct ways of expressing the quadratic equation. For example, it could be written as -2c b02 - 4ac or, indeed, as either -6 (1 + (1 - 4ac/b2). 2a or -2c b(1 + (1 - 4ac/62) (you can derive these by noting that 4ac (6 + b2 - 4ac)(b - 62 - 4ac)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started