Menu

#269 trigreduce(sin(x)^2/cos(x)^2)

None
open
nobody
5
2025-04-13
2003-03-24
No

trigreduce(sin(x)^2/cos(x)^2) returns tan(x)^2

Shouldn't it return (1-cos(2*x))/(1+cos(2*x))?

For that matter, it would be nice if trigreduce(tan(x)^2)
also did this, but the documentation of trigreduce
explicitly says that it handles only sin's and cos's
(unlike trigexpand, which handles trigs in general).

On the other hand, Trigrat already does this.

Discussion

  • Robert Dodier

    Robert Dodier - 2006-07-04
    • labels: --> 460522
     
  • Robert Dodier

    Robert Dodier - 2006-08-27
    • labels: 460522 --> Lisp Core - Trigonometry
     
  • Robert Dodier

    Robert Dodier - 2025-04-13

    Still present (same result) in 53c7739 (post-5.47).

     

Log in to post a comment.