Rank: Advanced Member Groups: Registered
Joined: 22/02/2014(UTC) Posts: 81
Was thanked: 11 time(s) in 10 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: tomtit Please see attached example. What about completing the code to make it profitable ? Not new the derivative of a constant is 0.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
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. Best regards. Alvaro.
|
1 user thanked Razonar for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Get more from the companions ...
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Razonar 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 (13kb) downloaded 21 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 22/02/2014(UTC) Posts: 81
Was thanked: 11 time(s) in 10 post(s)
|
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. Edited by user 08 October 2019 17:38:45(UTC)
| Reason: Not specified
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: tomtit 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 (24kb) downloaded 46 time(s).
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.