Integration with infinity limits problem - Problems with definite integrations - Сообщения
WroteSomething wrong happening with definite integration with infinities. For example, integrate sin(x)/x from 0 to infinity, we get pi/2, but SMath does not integrate, what looks like negative infinity.
The Smath native Simpson integrator is often poor to scrap.
It does not like long range of the variable of integration.
The Romberg-Simpson kernel copes nicely for this last case.
For your other functions: please attach the Smath work sheet.
Jean
Arios.sm (10 КиБ) скачан 46 раз(а).
WroteSomething wrong happening with definite integration with infinities. For example, integrate sin(x)/x from 0 to infinity, we get pi/2, but SMath get me answer, what looks like negative infinity. But if I integrate it from negative to positive infinity, it shows me that X is not defined. Same result happening when I integrate (x-1)/ln(x) and 1/x from 1 to infinity. Also, I checked integral from -1 to 1 of X, I got something looks like zero (2.9*10^-17 approximately zero), and integral from 0 to infinity of 1/x, which looks like infinity (3.3*10^11 approximately infinity for this software). Is it a bug? And will be it ever fixed? Which integration numerical methods using this software? And how can I calculate this integrals in correct way? Thank you for answering.
Globally: your testing has no interest in Engineering works
x [-1 .. 1] = 0 by inspection
1/x = infinity by deduction
(x-1)/ln(x) [1 .. infinity] = infinity ... Non-sense coz no application.
(x-1)/ln(x) [0 .. some reasonable up] try Romberg-Simpson
When you are stuck, visit WolframAlpha on line integrator cost [0.00 $]
Always plot first.
jentu.sm (8 КиБ) скачан 31 раз(а).
Smath has been exhausted as much as Mathcad about numerical integration.
In short: Smath + utilities is equivalent to Mathcad.
The other method that does not lie and still the reference in many standards
is Legendre Quadrature. I have up to 63/64. They exists up to ~ 1000
but can't download ... see you soon.
WroteBut I search analogs for MathCAD, with client for Linux (and free will be good)
I have added few more of those Edu. Quiz
In short and within reason: Smath 1/1 Mathcad
Remember, no numerical maths are exact,
except arithmetic + ... accepted -,* sub-accepted /
NO function exist in computing machinery, all are approximations
In your Quiz and in maths what's the value ± ∞
Smath does not interpret more than what's computable.
Cheers ... Jean
jentu.sm (66 КиБ) скачан 58 раз(а).
-
Новые сообщения
-
Нет новых сообщений