User Activity

  • Modified a comment on ticket #3579 on Maxima -- GPL CAS based on DOE-MACSYMA

    Hi there. Just to say I think I'm having the same issue :) For z: (%i1) z : cos ( 13 * %pi / 15 ) + %i * sin ( 13 * %pi / 15 ) ; When I use carg(), I get: (%i2) carg ( z ) ; (%o2) atan ( sin ( 13 * %pi / 15 ) / cos ( 13 * %pi / 15 ) ) + %pi If I replace sinθ/cosθ by tanθ, I get the expected result: (%i3) atan ( tan ( 13 * %pi / 15 ) ) + %pi ; (%o3) 13 * %pi / 15 But when I pass the result of carg() directly into trigreduce(), the result is wrong: (%i4) trigreduce ( carg ( z ) ) ; (%o4) 28 * %pi /...

  • Posted a comment on ticket #3579 on Maxima -- GPL CAS based on DOE-MACSYMA

    Hi there. Just to say I'm having the same issue :) For z: (%i1) z : cos ( 13 * %pi / 15 ) + %i * sin ( 13 * %pi / 15 ) ; When I use carg(), I get: (%i2) carg ( z ) ; (%o2) atan ( sin ( 13 * %pi / 15 ) / cos ( 13 * %pi / 15 ) ) + %pi If I replace sinθ/cosθ by tanθ, I get the expected result: (%i3) atan ( tan ( 13 * %pi / 15 ) ) + %pi ; (%o3) 13 * %pi / 15 But when I pass the result of carg() directly into trigreduce(), the result is wrong: (%i4) trigreduce ( carg ( z ) ) ; (%o4) 28 * %pi / 15 Tested...

View All

Personal Data

Username:
eranbx
Joined:
2021-04-29 12:09:36

Projects

  • No projects to display.

Personal Tools

Auth0 Logo