Is there any one who can help me how to sum the following summation expression? I tried but it said to many inputs. Thank you for your help!
1 次查看(过去 30 天)
显示 更早的评论
U(x,y) = ∑[∝.ϕ1(x) + β.ϕ2(x)].ψ(y), the summation is k : 0 --> infinity.
Where ψ(y)=sin(kπy), b=√(1/(2ϵ)^2 +(kπ)^2 ),
ϕ1(x)=e^(x/(2ϵ)) (sinh(b.(1-x)))/(sinh(b)),
ϕ2(x)=e^((x-1)/(2ϵ)).(sinh(b.x)/(sinh(b)),
∝=2/kπ (cos(0.45kπ) ),
β=∝.(b.e^(1/(2ϵ))/(sinh(b))⁄(1/2ϵ+b.(cosh(b)/sinh(b)))
3 个评论
Image Analyst
2016-6-11
But you must have overlooked Geoff's suggestion " the full error message" since I don't see the error message. You need to give ALL THE RED TEXT including lines numbers, line of code, etc.
采纳的回答
Roger Stafford
2016-6-11
The first result with ‘symsum’ very likely indicates that ‘symsum’ is unable to compute this particular infinite sum.
The second result indicating too many input arguments refers to the ‘sum’ function. See:
http://www.mathworks.com/help/matlab/ref/sum.html
The ‘sum’ function is not symbolic but is numeric instead, and the arguments you gave, namely k,1,Inf, are inappropriate. You need to make ‘k’ a vector and unfortunately it has to be of finite length so you can only approximate an infinite sum with this method.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!