Different results for integration

Different results for integration - Сообщения

#1 Опубликовано: 07.06.2019 23:11:31
mgklein

mgklein

0 сообщений из 10 понравились пользователям.

Группа: User

Hi.

I've been trying some silly problems in dynamics in Smath.

Came across an integration expression and tried to do it numerically.

Then, I tried with another "int" function and came out different results.

My questions is: should we always take on Maxima plugin's expression?


Another question, can we do symbolic diff() and returning the expression?

exm_12_2_din.sm (10 КиБ) скачан 26 раз(а).
Thanks
#2 Опубликовано: 08.06.2019 02:39:08
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Hello,

There were mistakes in your file. You should pay attention to definite and indefinite integrals and the function arguments when using definite integrals. See the picture with corrections and hover the expressions in the file to see the difference.

definteg.PNG

exm_12_2_din-2corr.sm (12 КиБ) скачан 34 раз(а).

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Опубликовано: 08.06.2019 09:04:33
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I've been trying some silly problems in dynamics in Smath.
Came across an integration expression and tried to do it numerically.
Then, I tried with another "int" function and came out different results.
My questions is: should we always take on Maxima plugin's expression?
Another question, can we do symbolic diff() and returning the expression?


Good idea to save Carlos adaptive integration.
Exceptional numerical integrator that meets Mathcad/Mathsoft Adaptive.
I have exhausted this integrator, it ranges from exact2atleast 6/8 decimals.
Hope it clarifies your questions ... Jean

Sanity.PNG

exm_12_2_din Sanity.sm (28 КиБ) скачан 35 раз(а).
#4 Опубликовано: 08.06.2019 16:24:59
mgklein

mgklein

0 сообщений из 10 понравились пользователям.

Группа: User

Wrote

Hello,

There were mistakes in your file. You should pay attention to definite and indefinite integrals and the function arguments when using definite integrals. See the picture with corrections and hover the expressions in the file to see the difference.

Regards,
Radovan



I see what you did but with respect to "t" and "x". Just to be clear, the definite integral k(t) goes diffent because of the Constant? The constant C=0 and the expression is evaluated for t=4? I think I get it now.

Thanks, Rodovan.

Wrote

Good idea to save Carlos adaptive integration.
Exceptional numerical integrator that meets Mathcad/Mathsoft Adaptive.
I have exhausted this integrator, it ranges from exact2atleast 6/8 decimals.
Hope it clarifies your questions ... Jean



Sure it does.
I'll test this code.

Thanks, Jean.

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений