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 view (last 30 days)
Show older comments
Temesgen Gelaw
on 11 Jun 2016
Commented: Temesgen Gelaw
on 12 Jun 2016
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 Comments
Image Analyst
on 11 Jun 2016
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.
Accepted Answer
Roger Stafford
on 11 Jun 2016
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.
More Answers (0)
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!