MATH528Due date: 12/05/18
Exercise. PS11.4.11
The Parseval equality states
In[3]:=
S[n_]:=Sum[1/(2m-1)^2,{m,1,n}]; Sinf=N[Pi^2/8.,16]
In[11]:=
Table[N[S[n]],{n,10,100,10}]
In[13]:=
Table[Log10[Abs[N[(S[n]-Sinf)/Sinf]]],{n,10,100,10}]
In[14]:=
Convergence is not rapid due to discontinuity in at
Exercise. PS11.5.7
For , applying boundary conditions to the general solution , , , hence which is not an eigenfunction. For , applying boundary conditions to the general solution , , are eigenvalues, with associated eigenfunctions . For , applying boundary conditions to the general solution , , , leads to a homogeneous linear system with principal determinant
that would have to be null in order to obtain a non-trivial solution. This occurs for , a contradiction. Hence the only eigenvalue, eigenfunction pairs are
In[1]:=
Exercise. PS1.1.7
In[1]:=
Exercise. PS1.1.8
In[1]:=
Exercise. PS1.2.2
In[1]:=
Exercise. PS1.2.3
In[1]:=
Exercise. PS1.2.4
In[1]:=
Exercise. PS1.3.5
In[1]:=
Problem. PS11.6.1
with
and the Legendre polynomials
In[16]:=
p=Table[LegendreP[m,x],{m,0,5}]
In[17]:=
Since has only odd powers less than , the expansion is
One can compute directly, but simple observations lead to a quicker result
In[17]:=
f[x_]=63 x^5 - 90 x^3 + 35 x;
Table[ (2m+1)/2 Integrate[f[x]
LegendreP[m,x],{x,-1,1}],{m,1,5}]
In[18]:=
f[x]-8 LegendreP[5,x]
In[20]:=
Expand[f[x]- 8 LegendreP[5,x] + 8 LegendreP[3,x]]
In[21]:=
Problem. PS1.1.17
In[1]:=
Problem. PS1.1.18
In[1]:=
Problem. PS1.3.22
In[1]:=