 #1
joshmccraney
Gold Member
 1,971
 104
Hi PF!
Attached are two plots of the same function, one uses a parameter ##a=89.9## and the other uses ##a=89+9/10##. As you can see both functions are very different. Also, using NIntegrate over each gives two different outputs respectively, ##6.91846*10^{12},6.91949*10^{19}##.
My question is, how do I know if either is right, and if so which one? I'm obviously leaning towards the nonfloating point ##a=89+9/10## as the more correct, but how do I know this integral is even right at all?
Are there other numerical integration strategies I should look at besides NIntegrate?
Attached are two plots of the same function, one uses a parameter ##a=89.9## and the other uses ##a=89+9/10##. As you can see both functions are very different. Also, using NIntegrate over each gives two different outputs respectively, ##6.91846*10^{12},6.91949*10^{19}##.
My question is, how do I know if either is right, and if so which one? I'm obviously leaning towards the nonfloating point ##a=89+9/10## as the more correct, but how do I know this integral is even right at all?
Are there other numerical integration strategies I should look at besides NIntegrate?
Attachments

18.2 KB Views: 276

20 KB Views: 290