Harmoniques sphériques
> | restart: with(plots): |
Warning, the name changecoords has been redefined
> | f:=u->sqrt(u): |
> | kn:=20:km:=20: |
> | for n from 0 to kn do c[n]:=evalf((n+1/2)*int(f(u)*LegendreP(n,u), u=-1..1)); a[n]:=1: od: |
> | vv:=(m,r,u)->sum('c[k]*r^k*LegendreP(k,m,u)','k'=0..kn); |
> |
> | plot([Re(vv(0,0.5,u)),u,u=0..2*Pi],coords=polar); |
> | V:=(r,u,v)->sum('a[j]*exp(I*j*v)*vv(j,r,u)','k'=0..km); |
> |
Maple
TM is a registered trademark of Waterloo Maple Inc.
Math rendered by
WebEQ