Question: Write a program in Fortran to do the following 2. The polynomial of degree il 21 (X2-1), 1=0,1,2, -1 x 1 , are known as
Write a program in Fortran to do the following
2. The polynomial of degree il 21 (X2-1), 1=0,1,2, -1 x 1 , are known as Legendre polynomials and play important role in theoretical atomic physics. The Legendre polynomials satisfy the recurrence relations Using this relation and expressions for the first polynomials, Po(x)-1 and Pi (x)-x, write the program to obtain Legendre polynomial with any given / and x (as a fiunction subroutne). Compare the numerical results with the analytical expression for P(x) = (63x5-70x3 +15x) for -1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
