Different results for integration

Different results for integration - Poruke

#1 Objavljeno: 7. 6. 2019. 23:11:31
mgklein

mgklein

0 svidjanja u 10 postova.

Grupa: 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) preuzeto 1206 put(ova).
Thanks
#2 Objavljeno: 8. 6. 2019. 02:39:08
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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) preuzeto 1208 put(ova).

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Objavljeno: 8. 6. 2019. 09:04:33
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1225 put(ova).
#4 Objavljeno: 8. 6. 2019. 16:24:59
mgklein

mgklein

0 svidjanja u 10 postova.

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

  • Novi postovi
  • Nema novih postova