In[]:=
sol=DSolve[{X''[x]+λ^2X[x]==0,X[0]==0,X[1]==0},X,x]
Out[]=
XFunction{x},
|
In[]:=
m=sol[[1]]
Out[]=
XFunction{x},
|
In[]:=
X[x]/.m
Out[]=
|
In[]:=
Plot[Evaluate[X[x]/.sol/.{->1,n->2}],{x,-1,1}]
1
Out[]=