rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

Bug in function evaluation involving secant and cosecant #2287

Open rtoy opened 4 months ago

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 22:42:55 Created by yam2016end on 2016-11-26 17:16:57 Original: https://sourceforge.net/p/maxima/bugs/3254


A trigonometric function involving sec and cosec is not evaluated correctly. h(x,y):=cosec(y-x)sec(x)sec(y); On the other hand, the function involving cotangent function is evaluated correctly. g(x,y):=cot(y-x)(1 - 1/(1+cot(x)cot(y)));

Both functions are equivalent but, Maxima evaluates only g(x,y) correctly. In the attached output, you will see that Maxima evaluates h(x,y) wrong.

Attachments:

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 22:42:56 Created by kjak on 2016-11-26 19:52:54 Original: https://sourceforge.net/p/maxima/bugs/3254/#0f7d


rtoy commented 4 months ago

Imported from SourceForge on 2024-07-05 22:42:59 Created by kjak on 2016-11-26 19:52:54 Original: https://sourceforge.net/p/maxima/bugs/3254/#4672


In Maxima, cosecant is csc, not cosec. I'm closing this as wont-fix.