Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use python and also show indentation of the codes # Question 2 def quadratic(a, b, c): solve the quadratic equation ax^2+bx+c=0, and return

image text in transcribed

please use python and also show indentation of the codes 
# Question 2 def quadratic(a, b, c): """ solve the quadratic equation ax^2+bx+c=0, and return the answer as requested in the text of the question" # insert your code here # note: the output of your print commands does not have to look identical # to what is shown here, but must give the correct text and the correct value(s) print (quadratic(1,5,6)) # should print (real distinct roots', [-2.0, -3.0]) print (quadratic(1,-22,121)) # should print ('repeated real root', [11.01) print (quadratic(1,-8,65)) # should print ('complex conjugate roots', [(4+7;), (4-7)))) print (quadratic(1,0,1)) # should print ('complex conjugate roots', [1], -1jl) print (quadratic(1,-1,0)) # should print ('real distinct roots', (1.0, 0.01)

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

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

Discuss what are the Disciplinary Rules and Procedures.

Answered: 1 week ago

Question

differentiate the function ( x + 1 ) / ( x ^ 3 + x - 6 )

Answered: 1 week ago

Question

Question What is an educational benefit trust and how is it used?

Answered: 1 week ago

Question

Question How are VEBA assets allocated when a plan terminates?

Answered: 1 week ago

Question

Question May a taxpayer roll over money from an IRA to an HSA?

Answered: 1 week ago