%
matplotlib inline
import
numpy
as
np
,
matplotlib
.
pyplot
as
plt
x
=
np
.
linspace
(
-
20
,
20
,
10
)
print
(
x
)
[-20. -15.55555556 -11.11111111 -6.66666667 -2.22222222
2.22222222 6.66666667 11.11111111 15.55555556 20. ]
y
=
x
**
3
+
2
*
x
**
2
+
6
*
x
+
5
plt
.
plot
(
x
,
y
,
marker
=
"o"
)
[
]