Computational errors in MATLAB, Wolfram, Derive, and TI-Nspire

5 replies · 8K views · last reply
jeffer vitola
Messages
25
Reaction score
0
hello remember not speak English and use a translator on line,

together some pictures to show some errors,from a simple integral or easy to those who are not as oscillatory integrals, when I worked and ask oscillatory integrals or approximate numerical answers, also when try plot a complex function on a small scale, the graph has cuts which is not correct because the complex function is continuous in these intervals,i want job *2 years ago texas instruments contact and wolfram alpha for these failures corrected, and I don't not *was hired as a consultant mathematician of his companies, as *i don't not they hired me, there are some mathematical problems of these programs, I do as a publication for knowledge general, I *not upload all the photos , low quality pictures so they could see on this forum. as the translator is bad clarify that I have not been hired by wolfram alpha or by texas instruments. never.*
jefferson alexander vitola (Bigsmile)

hola recuerden que yo no hablo ingles me toca usar un traductor en linea,, escribio en español you que la traduccion es muy mala. al no ser contratado como consultor matematico para texas instruments o wolfram alpha, entonces yo decidi publicar algunos errores que he encontrado desde hace you mas de 2 años entonces ahora lo voy a publicar como pasatiempo.att
jefferson alexander vitola (Bigsmile)

View attachment 917View attachment 918View attachment 919View attachment 920View attachment 921
 
Attachments
  • Screenshot of TI-Nspire software showing an integral of sin(x^2) from 0 and a integral of (2x-1)e^(x^2)/e^x dx with a reduction step, next to a Derive 6 window with the same integral and a simplified result.
    foto1.jpg
    60.3 KB · Views: 242
  • Screenshot of Wolfram Mathematica 8.0 showing an integral of sin(x^4) times 78541212/8411 from 15.73 to 19, its closed-form result with Gamma functions, and NIntegrate numerical output 0.5299726883.
    foto2.jpg
    62.6 KB · Views: 247
  • Mathematica notebook showing Integrate[25841366/752415 Sin[x^6], {x, 573/100, Infinity}] returning -0.0414393069... and NIntegrate failing with convergence and recursive bisection warnings, returning 5.492401320249016×10^62.
    foto4.jpg
    45.9 KB · Views: 244
  • Mathematica notebook screenshot: a plot of a small-valued function showing a nearly straight decreasing line with y-values near -0.0037507, and below it a second plot showing a broken, step-like stair pattern of short line segments at y-values near -0.000499209 over x from about 4.2 to 4.3.
    foto6.jpg
    25.1 KB · Views: 248
  • Screenshot of Wolfram Mathematica 8.0 showing input int(y,52/11,inf) returning NaN, with NIntegrate warnings about an expression derived from the integrand and a result of -8.778025713021148 x 10^219.
    foto7.jpg
    59.4 KB · Views: 234
Re: Some mistakes en matlab, wolfram alpha,derive 6 and calculator ti nspire cas

In your first image, in the Derive 6 window, you have:

$$\int\frac{(2x-1)e^{x^2}}{e^x}\,dx=e^{x^2-x}$$

With the exception of the omission of the constant of integration, we can see that this is correct, we we rewrite the integral as:

$$\int(2x-1)e^{x^2-x}\,dx$$

Use the substitution:

$$u=x^2-x\,\therefore\,du=(2x-1)\,dx$$

and we have:

$$\int e^u\,du=e^u+C=e^{x^2-x}+C$$

For the definite integral:

$$\int_{15.73}^{19}\frac{78541212}{8411}\sin\left(x^4 \right)\,dx$$

W|A returns:

0.529973

An online Simpson's Rule calculator gives (with $n=2^{16}$):

0.53022209468772
 
Re: Some mistakes en matlab, wolfram alpha,derive 6 and calculator ti nspire cas

MarkFL said:
In your first image, in the Derive 6 window, you have:

$$\int\frac{(2x-1)e^{x^2}}{e^x}\,dx=e^{x^2-x}$$

With the exception of the omission of the constant of integration, we can see that this is correct, we we rewrite the integral as:

$$\int(2x-1)e^{x^2-x}\,dx$$

Use the substitution:

$$u=x^2-x\,\therefore\,du=(2x-1)\,dx$$

and we have:

$$\int e^u\,du=e^u+C=e^{x^2-x}+C$$

For the definite integral:

$$\int_{15.73}^{19}\frac{78541212}{8411}\sin\left(x^4 \right)\,dx$$

W|A returns:

0.529973

An online Simpson's Rule calculator gives (with $n=2^{16}$):

0.53022209468772

forgive I was not clear in the first image at the top, it shows that the texas instruments calculator can not take the integral, but the same image compare with a program called derrive 6 which although they are the same texas instruments company computer program has a better structure in some fields of mathematics more than the calculator from the same company, on the other images do a comparison of the errors committed by one or other program or sometimes in all programs. is just a small sample that sometimes math programs contradict one another or that some are successful and others are not,or in the case of the same program wolfram alpha contradicts himself by giving some numerical approximation modes for oscillatory integrals despite being the same exercise raised from the beginning,my language is very limited in this language because as not handling and all I have to do it through a translator if you think I can write in Spanish explaining each image, because if you look closely compare a program on top of the same image and the other at the bottom of the same photograph, or sometimes it is the same program but show different solutions giving the same problem and not are good solutions.

this type of oscillatory integrals $$\int_{15.73}^{19}\frac{78541212}{8411}\sin\left(x^4 \right)\,dx$$, I me find designed a new numerical method to calculate and am in copyright to publish freely and that I what me recognized as the creator of the numerical method, I'm working on it.
clarify that your MarkFL solutions are perfect ,,,, what I mean is that mathematics programs sometimes contradict each other finding different solutions to the same problem and are not correct, or sometimes not even find a solution to a problem proposed. any questions write me.:)

att
jefferson alexander vitola(Bigsmile)
 
Last edited:
Okay, now I see what you are referring to with the first integral...my TI-89 Titanium returns the same result as your TI Nspire.

I did notice that the second integral returns wildly different results with the online Simpson's Rule calculator until the number of steps was made sufficiently large. It may be that with such rapidly oscillating functions some numeric integration algorithms will fail because care is not taken to ensure successive results do not differ by a small enough value.

If you have developed an algorithm that handles such oscillatory functions in a superior manner than that which is currently implemented by mainstream software, then I applaud your ingenuity!
 
MarkFL said:
Okay, now I see what you are referring to with the first integral...my TI-89 Titanium returns the same result as your TI Nspire.

I did notice that the second integral returns wildly different results with the online Simpson's Rule calculator until the number of steps was made sufficiently large. It may be that with such rapidly oscillating functions some numeric integration algorithms will fail because care is not taken to ensure successive results do not differ by a small enough value.

If you have developed an algorithm that handles such oscillatory functions in a superior manner than that which is currently implemented by mainstream software, then I applaud your ingenuity!

I hope as good contributions from the mistakes and failures that all users of this forum have found that the work programs in math and you know,,, is also including errors in different calculators and math programs,,,I'll be watching to see which errors and faults found all of you, in programs of math and calculators,,,att
jefferson alexander vitola(Bigsmile)
 
jeffer vitola said:
hello remember not speak English and use a translator on line,

together some pictures to show some errors,from a simple integral or easy to those who are not as oscillatory integrals, when I worked and ask oscillatory integrals or approximate numerical answers, also when try plot a complex function on a small scale, the graph has cuts which is not correct because the complex function is continuous in these intervals,i want job *2 years ago texas instruments contact and wolfram alpha for these failures corrected, and I don't not *was hired as a consultant mathematician of his companies, as *i don't not they hired me, there are some mathematical problems of these programs, I do as a publication for knowledge general, I *not upload all the photos , low quality pictures so they could see on this forum. as the translator is bad clarify that I have not been hired by wolfram alpha or by texas instruments. never.*
jefferson alexander vitola (Bigsmile)

hola recuerden que yo no hablo ingles me toca usar un traductor en linea,, escribio en español you que la traduccion es muy mala. al no ser contratado como consultor matematico para texas instruments o wolfram alpha, entonces yo decidi publicar algunos errores que he encontrado desde hace you mas de 2 años entonces ahora lo voy a publicar como pasatiempo.att
jefferson alexander vitola (Bigsmile)

View attachment 917View attachment 918View attachment 919View attachment 920View attachment 921
hi all, as I had said before I will continue publishing mistakes math programs, I recommend you look well put pictures that the integrals are simple but the program fails with the change of variable and can not develop and other computer does not understand the substitutions that are also including calculator ti-nsipre cas, and remember I use a translator online,,, greetings from Colombia,,,.,.att
jefferson alexander vitola (Bigsmile)

View attachment 3511View attachment 3509View attachment 3512View attachment 3513View attachment 3510View attachment 3514View attachment 3515View attachment 3516View attachment 3517

att
jefferson alexander vitola (Bigsmile)
 
Attachments
  • Screenshot of the Derive 6 algebra window showing numbered complex-number exponential expressions, with several lines marked false and two numerically evaluated results of -0.1184264841 + 0.6917759840i.
    2.jpg
    81.8 KB · Views: 198
  • Derive 6 algebra session window showing numbered entries #20 to #28: SOLVE(COS(x) = i·SINH(3), x), its solution list, a check of COS(3·pi/2 + 3·i), an expression i·e^(-3)·(e^6 - 1)/2 compared with i·(e^3/2 - e^(-3)/2) returning false, and numerical approximations of 10.0178749274099...
    5.jpg
    81.7 KB · Views: 166
  • Screenshot of Derive 6 showing two contour integrals of a rational function in t from 0 to 2π, with the left and right sides compared; line #2 gives false, line #4 gives 12π·i = 12π·i and line #5 gives true.
    1.jpg
    46.7 KB · Views: 183
  • Screenshot of Derive 6 showing ATAN(50·√2/199 − 4·√14/199) evaluated to a long decimal, compared with 2·ATAN(2·√14/3 − 5·√2/3), which Derive returns as a different numeric value.
    3.jpg
    90.1 KB · Views: 173
  • Screenshot of Derive 6 showing solve of cos(x) = i·sinh(3), with solutions and a false comparison of i·e^(-3)·(e^6 - 1)/2 against i·(e^3/2 - e^(-3)/2).
    4.jpg
    81.8 KB · Views: 182
  • Wolfram Mathematica 8.0 notebook showing NIntegrate[Sin[E^x^(4)], {x, 52/11, Infinity}] returning -0.0217326818573772 with inumexpr, mtdfb, slwcon and ncvb warnings, and NIntegrate[Sin[E^x^(4)], {x, 2, Infinity}] returning 0.000414593663873 31395.
    6.jpg
    66.4 KB · Views: 176
  • Wolfram Mathematica screenshot of two NIntegrate calls on Sin[E^x^4] from 2.1 and 3.1 to Infinity, with inumexpr, mtdfb, slwcon and ncvb warning messages and numeric outputs 0.1377668381564765 and 0.013371966436558082.
    7.jpg
    65.5 KB · Views: 183
  • Screenshot of TI-Nspire CAS software showing a series of calculator pages with integrals and solve results, including the integral of 1/((x-2)sqrt(x^2-4x+3)) and a Solve(cos(x)=t-sinh(3),x) output, with results marked true or false.
    8.jpg
    71.8 KB · Views: 176
  • Derive 6 worksheet showing contour integrals of a rational function over 0 to 2π, with results #60 false, #62 false, #64 12·π·i and #66 12·π·i, and an expression entered in the input bar.
    11.jpg
    51.9 KB · Views: 179