The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Integration
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nelsonnc

USA
3 Posts

Posted - 11/17/2016 :  7:08:14 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2015

How come when I integrate data represented by y=x^2 from 1 to 5 Origin gives me area = 42. However, the real answer is 41.3333. This error becomes bigger as the definite integral grows. Please help to explain this. Thank you!

nelsonnc

USA
3 Posts

Posted - 11/17/2016 :  7:43:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Figured it out. Origin uses trapezoid approximation. So if you want a more accurate definite integral you need more data points. For example, integrating y=x^2 from 1-4 with four data points gives 21.5 as the integration value (real value is 21). Integrating the same thing using 31 data points gives 21.005. Much closer.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000