# Python | Numpy np.chebder() method

• Last Updated : 12 Dec, 2019

With the help of `np.chebder()` method, we can get the differentiated value of chebyshev series in the form of an array having value of coordinates using `np.chebder()` method.

Syntax : `np.chebder(series, value)`
Return : Return an array having coordinates of series after differentiation.

Example #1 :
In this example we can see that by using `np.chebder()` method, we are able to get the differentiation of chebyshev series and it will return an array having coordinates of it.

 `# import numpy``import` `numpy as np``from` `numpy.polynomial ``import` `chebyshev as C`` ` `x ``=` `np.array([``1``, ``2``, ``3``])``# using np.chebder() method``gfg ``=` `C.chebder(x, ``2``)`` ` `print``(gfg)`

Output :

```[ 12.]
```

Example #2 :

 `# import numpy``import` `numpy as np``from` `numpy.polynomial ``import` `chebyshev as C`` ` `x ``=` `np.array([``2``, ``5``, ``7``, ``11``])``# using np.chebder() method``gfg ``=` `C.chebder(x, ``2``)`` ` `print``(gfg)`

Output :

```[  28.  264.]
```

Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course

My Personal Notes arrow_drop_up