Wrong integral calculation

02152017, 09:01 PM
Post: #1




Wrong integral calculation
Today I was doing an exercise where I had to calculate a really simple integral. I was too lazy to do it so i took my Prime to solve it.
I had to calculate the integral of (((10e12)^2)/f)*df from 10 to 198e3. I get the same result in cas and in home: 661.2397e24 The correct result is: 989.3437e21 This is quite bad. What's happening? 

02152017, 10:26 PM
Post: #2




RE: Wrong integral calculation
Annoying bug, I tried that and got your wrong result, if you take that factor outside the integral, better before, as a constant factor, you get the correct result.
Arno 

02162017, 10:05 AM
Post: #3




RE: Wrong integral calculation
During the computation of the quadrature on the first subdivision, one of the error estimates is about 1e24, and considered to be 0, therefore the result of this first approximation is returned.


« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)