Skip to content

Task #1

@chidixonyekwelu

Description

@chidixonyekwelu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions