Orthogonality of Sines
M.M. Yovanovich
ORTHOGSINES.MWS
Orthogonality of Sines.
>
restart:
with(linalg):
Warning, new definition for norm
Warning, new definition for trace
> matsin:= (m,n)->int(sin(m*Pi*x/L)*sin(n*Pi*x/L), x = 0..L);
Obtain a 10 by 10 matrix to show that all entries except for the diagonal are zeros. This shows that the sines
have the orthogonality property
for
different from
,
otherwise the integral gives
for all values
.
> matrix(10,10,matsin);
>