-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Exercise 3.8: Write a function for solving ax2 + bx + c = 0
Given a quadratic equation ax2 + bx + c =0, write a function roots(a, b, c) that returns the two roots of the equation. The returned roots should be float-type objects when the roots are real, otherwise complex-type objects.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels