Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does np.roots([1, 0, 1]) give? | StemPy Lab
Quizzes
/
What does np.roots([1, 0, 1]) give?
Python Programming
Medium
High School (11–12)
High School (9–10)
Undergraduate
General
Python for Science and Maths › Solving Equations
Created by
StemPy Lab
What does np.roots([1, 0, 1]) give?
An error
The numbers 1 and -1
The number 0
Two complex numbers, +1j and -1j, because x squared plus 1 has no real root
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← Which line is one step of Newton's method for the function f with the derivative df?
For which matrix does np.linalg.solve(A, b) raise a LinAlgError? →
More on
Python for Science and Maths › Solving Equations
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
A capacitor discharges through a resistor.
Hard
The counts per second of a sample at 0, 5, 10, 15, 20, 25 and 30 minutes are 800, 566, 400, 283…
Medium
A system Ax = b with n unknowns has one solution if the rank of A is n.
Hard
A meal is made from three foods, with x, y and z portions.
Medium
All problems on this topic →