level 9
ID0577775606
楼主
如图,图中把n定义成整数了,如何定义成为正奇数,试过2n-1,数列什么的,输出都是奇奇怪怪的,最后答案也是Sqrt[1/a]。

ClearAll[n];
f[x_] := Cos[(n*Pi*x)/(2*a)];
A = Assuming[
n \[Element] Integers &&
a \[Element] Reals, {Sqrt[1/Integrate[(f[x])^2, {x, -a, a}]]}]
2015年10月29日 10点10分
1

ClearAll[n];f[x_] := Cos[(n*Pi*x)/(2*a)];
A = Assuming[
n \[Element] Integers &&
a \[Element] Reals, {Sqrt[1/Integrate[(f[x])^2, {x, -a, a}]]}]