How can I calculate the integral of associate LegendreP(​1,n,theta)​*cos(theta​)^2 ?

2 views (last 30 days)
How can I calculate the integral of associate Legendre function P(1,n,theta)*cos(theta)^2 ?

Accepted Answer

David Goodmanson
David Goodmanson on 7 May 2024
Hello Se,
First of all I think you probably mean the integral of
P(1,n,cos(theta))*cos(theta)^2
which is what makes sense when trig functions come into it. This issue has caused a lot of back and forth on your other posted question. Also, this integrand would usually be multiplied by sin(theta) since sin(theta)* dtheta is part of the volume element in spherical coordinates. Are you looking for this integral from ) 0 to pi?

More Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!