Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 1 Write a python function quad roots_1() that will calculate the real-valued roots of the quadratic equation, i.e. the values of x such that

image text in transcribed

image text in transcribed

Exercise 1 Write a python function quad roots_1() that will calculate the real-valued roots of the quadratic equation, i.e. the values of x such that ax+bx+c= 0. The return value should be a list of two roots, according to the positive and negative roots of the quadratic formula. Your function should have four arguments: the first is the value on the horizontal axis, x, the rest are the coefficients (a,b,c) in the quadratic equation, in that order. Exercise 2 The discriminant of the quadratic equation is the value 62 4ac. What happens to your answer in Example 1 when b2 - 4ac

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

More Books

Students also viewed these Databases questions