legendre polynomial and terms

hello,i have to solve this type of legendre polynomial: Pk+2(x) = ((2*k+3)/(k+2))*x*Pk+1(x) - ((k+1)/(k+2))* Pk(x), plus i want to find the root of P6(x) (6 digits accuracy) . I am a begginer so your help is significant! Thank you!

3 件のコメント

John BG
John BG 2017 年 1 月 25 日
編集済み: John BG 2017 年 1 月 25 日
have you realised that the first part of your question is the same as the recursion formula shown in MATLAB help for the MATLAB function.
Replace in your expression k+2=n
legendrep(n,x)
.
.
in same MATLAB help you can read how to find roots of these polynomials:
roots = vpasolve(legendreP(6,x) == 0)
roots =
-0.93246951420315202781230155449399
-0.66120938646626451366139959501991
-0.23861918608319690863050172168071
0.23861918608319690863050172168071
0.66120938646626451366139959501991
0.93246951420315202781230155449399
bk97
bk97 2017 年 1 月 25 日
thanks a lot my friend i appreciate your hep. I just had a probem with the toolbox and i avoided to use this comand.Now it's fixed. But tell me , what is the command for 6 digits accuracy of this root?
Walter Roberson
Walter Roberson 2017 年 1 月 25 日
vpa(roots,6)

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePolynomials についてさらに検索

タグ

質問済み:

2017 年 1 月 24 日

コメント済み:

2017 年 1 月 25 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by