Symbolic issue in Smath Studio

Symbolic issue in Smath Studio - Differential operator fails on indexed functions - 消息

#1 已发布: 2019/10/7 13:03:02
Igor Skarine

Igor Skarine

14个赞,共97个帖子。

组: User

Please see attached example.
sym_diff_issue.sm (3.96 KiB)已下载 1444 次。
#2 已发布: 2019/10/7 21:49:29
Jean Giraud

Jean Giraud

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

组: User

Wrote

Please see attached example.


What about completing the code to make it profitable ?
Not new the derivative of a constant is 0.

Derivative.PNG
#3 已发布: 2019/10/7 22:07:31
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi Tom. maple() knows how to eval diff because, as plugin, Viacheslav (uni, plugin author) know how to handle the function el(A,k). But notice what happen with an unknoun function, like El(A,k). So, problem here is what to do with the SMath el(A,k) with the operator diff.

Clipboard02.gif

Best regards.
Alvaro.
1位用户喜欢此帖子
#4 已发布: 2019/10/8 06:14:03
Jean Giraud

Jean Giraud

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

组: User

Get more from the companions ...

maple D(n).PNG
#5 已发布: 2019/10/8 09:34:26
Jean Giraud

Jean Giraud

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

组: User

Wrote

Hi Tom. maple() knows how to eval diff because, as plugin, Viacheslav (uni, plugin author) know how to handle the function el(A,k). But notice what happen with an unknoun function, like El(A,k). So, problem here is what to do with the SMath el(A,k) with the operator diff.


As you mentioned Ei(x), like many special functions,
you may have to rescue from infinitesimal analysis,
the ancestor of CAS.

sym_diff_issue (more).sm (12.37 KiB)已下载 1469 次。
#6 已发布: 2019/10/8 11:35:59
Igor Skarine

Igor Skarine

14个赞,共97个帖子。

组: User

I think this is a bug.
If there is no evidence that variable A[k] depends on x, dA[k]/dx should be immediately set to 0.
This is the way how symbolic engine of Wolfram Mathematica works.
Probably, I made a mistake mentioning "indexed functions", the right subject name should be "indexed symbolic variables" instead.
In real case A[k] were indexed unknowns in the system of equations.
I intentionally made this example as simple as possible to make it evident.
#7 已发布: 2019/10/8 15:52:05
Jean Giraud

Jean Giraud

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

组: User

Wrote

In real case A[k] were indexed unknowns in the system of equations.
I intentionally made this example as simple as possible to make it evident.


You can do lot more from lot less for real project:
1. get your function from index
2. get the partial derivatives wrt parameters in function.

sym_diff_issue (more).sm (23.48 KiB)已下载 1577 次。
  • 有新帖
  • 无新帖