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!