 # Python | Numpy np.chebmulx () method

Using the method `np.chebmulx() ` we can get the multiplication of Chebyshev`s series by the independent variable x using ` np.chebmulx () `.

Syntax: ` np.chebmulx (s1) `
Return: Return an array after multiplication with x.

Example # 1:
In this example we can see that with ` np. chebmulx () ` we can get the multiplication of the Chebyshev series by the independent variable x using this method.

 ` # NumPy import ` ` import ` ` numpy as np ` ` from ` ` numpy.polynomial ` ` import ` ` chebyshev as C ` `  ```` s1 = ( 4 , 6 , 8 )   # using the np.chebmulx () method gfg = C.chebmulx (s1)   print (gfg) ```

Output:

[3. 8. 3. 4.]

Example # 2:

 ` # NumPy import ` ` import ` ` numpy as np ` ` from ` ` numpy.polynomial ` ` import ` ` chebyshev as C `   ` s1 ` ` = ` ` (` ` 4 ` `, ` ` 6 ` `, ` ` 8 ` `, ` ` 1 ` `, ` ` 3 ` `, ` ` 5 ` `) `   # using the np.chebmulx () method ` gfg ` ` = C.chebmulx (s1) ````   print (gfg) ```

Logout:

[3. 8. 3.5 5.5 3. 1.5 2.5]