Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

------- PYTHON PROGRAM ------- As a team, you are to write a program that will find a root of a cubic polynomial. A cubic polynomial

------- PYTHON PROGRAM -------

image text in transcribed

As a team, you are to write a program that will find a root of a cubic polynomial. A cubic polynomial is of the form: f(x)- Ax3 + Bx2 + Cx D A root of the polynomial is a value, x, such that f(x)-0. For a generic cubic polynomial, there will be one local maximum, and one local minimum, and the curve will go off to negative infinity in one direction, and positive infinity in another. Here are three examples: f(x) " .r The polynomial has some number of real roots: the points at which the curve crosses the x-axis. A cubic curve will have either 3 roots (as above at left), 1 root (above, middle), or in rare cases 2 roots (as above at right). Note that roots are typically single roots, and for single roots, the curve is negative on one side of the root, positive on the other (a double root results in a tangent to the curve, like that above and right) You should write a program that takes in the coefficients of the polynomial: A, B, C, and D, along with a bound on one single root: a,b. The user should be expected to input a and b such that a

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

What is a global industry?

Answered: 1 week ago