Wrong atan() with two arguments derivative ...

Wrong atan() with two arguments derivative ... - ... and error without real error is reported - Messages

#1 Posted: 5/5/2017 8:18:33 AM
avanturist

avanturist

2 likes in 9 posts.

Group: User

Seems, like I faced 2 bugs simultaneously... From four (almost) equivalent expressions only one is calculated correctly.

1. Wrong derivative atan() with 2 arguments, shown in red.

2. Two expressions are shown in yellow, where error is reported, although the same term with dot products is successfully calculated in another expression (shown in green).

testderv.sm (14 KiB) downloaded 50 time(s).

testderv.png

#2 Posted: 5/5/2017 10:04:44 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

You seem familiar with Maple.

Can't help in there, Mathcad11/Maple NOT same as Maple in Smath.
Uni reported some bugs in Maple. All CAS have bugs.

Cheers, Jean

testderv.sm (26 KiB) downloaded 50 time(s).



#3 Posted: 5/5/2017 2:40:42 PM
avanturist

avanturist

2 likes in 9 posts.

Group: User

Wrote

You seem familiar with Maple.


Jean,

I use Maple for the first time. I found in SMath no possibility to simplify expressions (and also wrote a corresponding Feature Request). Maple plugin was the first possibility, which I found, to get readable expressions.

Both bugs here have nothing to do with Maple. To ensure that differentiation is performed by SMath, I have used Martins implementation of "symbeval()" function. Maple is used only to show differentiataion results in readable form.

testderv-sm.sm (15 KiB) downloaded 50 time(s).

testderv-sm.png
#4 Posted: 5/8/2017 11:17:22 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

The script is correct as sanity check below
but result is NOT ! as proved ... Ah !
As it looks Maple is the guilty companion.

Hello Martin, Adventurist,

Martin, one day you gave me a trick "to be more divine".
Here is one to make Maple expansion "more divine".
There is a missing link somewhere.

Jean

testderv-sm (2).sm (71 KiB) downloaded 57 time(s).
  • New Posts New Posts
  • No New Posts No New Posts