Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

How right to build graphic of line integral from elementatry function?

Please login with a confirmed email address before reporting spam

I have a trouble. I try to plot graphic ∫f(x)dx where f(x) = 2x; (See screenshots)
For this objective I used integrate function.
It's obviously, that graphic must be F(x) = x²;
I have done it all in accordance to last paragraph of this post www.comsol.com/blogs/overview-integration-methods-space-time/
Comsol have put me results as:
F(x) = 2x*5 if I use expression: integrate(an1(x),x,0,5)
F(x) = 2x*x if I use expression: integrate(an1(x),x,0,x)
I have tried many other expressions. The result remained incorrect.
What am I doing wrong?
What will I should to do for get properly result?



0 Replies Last Post Jul 21, 2017, 5:42 a.m. EDT
COMSOL Moderator

Hello Andrey Kachalin

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.