Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Finding out roots of Chebyshev's polynomials
#2
I have figured out how to do this. My new code is as follows:

for n in range(10):
    nprint(chop(taylor(lambda x: chebyt(n, x), 0, n)))
    print(np.roots(chop(taylor(lambda x: chebyt(n, x), 0, n))[::-1]))
It seems that there was some issue with the function nprint.

I hope this is helpful
Quote

Top Page

Messages In This Thread
RE: Finding out roots of Chebyshev's polynomials - by player1681 - Dec-02-2019, 01:56 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Can I evaluate a Chebyshev polynomial using a function player1681 1 235 Nov-22-2019, 06:33 AM
Last Post: scidam

Forum Jump:


Users browsing this thread: 1 Guest(s)