Different results for integration

Different results for integration - Messaggi

#1 Pubblicato: 07/06/2019 23:11:31
mgklein

mgklein

0 apprezzamenti in 10 post.

Gruppo: 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,56 KiB) scaricato 1169 volta(e).
Thanks
#2 Pubblicato: 08/06/2019 02:39:08
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: 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,42 KiB) scaricato 1183 volta(e).

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Pubblicato: 08/06/2019 09:04:33
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,48 KiB) scaricato 1196 volta(e).
#4 Pubblicato: 08/06/2019 16:24:59
mgklein

mgklein

0 apprezzamenti in 10 post.

Gruppo: 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.

  • Nuovi post
  • Nessun nuovo post