Different results for integration

Different results for integration - 消息

#1 已发布: 2019/6/7 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.56 KiB)已下载 1180 次。
Thanks
#2 已发布: 2019/6/8 02:39:08
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: 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)已下载 1195 次。

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

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1202 次。
#4 已发布: 2019/6/8 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.

  • 有新帖
  • 无新帖