calc simplification problem

  • Done
  • quality assurance status badge
Details
3 participants
  • Chong Yidong
  • Jay Belanger
  • Colin Williams
Owner
unassigned
Submitted by
Colin Williams
Severity
normal
C
C
Colin Williams wrote on 4 Aug 2009 16:28
(address . bug-gnu-emacs@gnu.org)
1b97198a0908040728u21355fccjd9e7c485958ba471@mail.gmail.com
In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
"cos(x)^2 sec(x)", which contradicts an example in the tutorial on
rewrite rules.

Colin
J
J
Jay Belanger wrote on 5 Aug 2009 02:44
(name . Colin Williams)(address . lackita@gmail.com)(address . jay.p.belanger@gmail.com)
87d47b2inv.fsf@gmail.com
Colin Williams <lackita@gmail.com> writes:

Toggle quote (4 lines)
> In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
> "cos(x)^2 sec(x)", which contradicts an example in the tutorial on
> rewrite rules.

So it does. Calc needs to simplify expressions with secant (and
cosecant and cotangent) better. I'll be out of town for the next week;
I'll fix it as soon as I get back.

Jay
C
C
Chong Yidong wrote on 24 Oct 2009 21:27
(name . Jay Belanger)(address . jay.p.belanger@gmail.com)
87hbtoegn8.fsf@stupidchicken.com
Jay Belanger <jay.p.belanger@gmail.com> wrote:

Toggle quote (8 lines)
> > In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
> > "cos(x)^2 sec(x)", which contradicts an example in the tutorial on
> > rewrite rules.

> So it does. Calc needs to simplify expressions with secant (and
> cosecant and cotangent) better. I'll be out of town for the next week;
> I'll fix it as soon as I get back.

Hi Jay,

Did you get around to fixing this? If so, this bug should be closed.
J
J
Jay Belanger wrote on 24 Oct 2009 22:47
(name . Chong Yidong)(address . cyd@stupidchicken.com)(address . jay.p.belanger@gmail.com)
87skd8msds.fsf@gmail.com
Chong Yidong <cyd@stupidchicken.com> writes:
...
Toggle quote (3 lines)
>> > In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
>> > "cos(x)^2 sec(x)", which contradicts an example in the tutorial on
>> > rewrite rules.
...
Toggle quote (4 lines)
> Hi Jay,
>
> Did you get around to fixing this?

Yes.

Toggle quote (2 lines)
> If so, this bug should be closed.

Sorry; I'll take care of it now.

Jay
J
J
Jay Belanger wrote on 24 Oct 2009 22:58
Re: calc simplification problem
(address . 4031-done@debbugs.gnu.org)(address . jay.p.belanger@gmail.com)
87k4ykmrvh.fsf@gmail.com
Toggle quote (4 lines)
> In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
> "cos(x)^2 sec(x)", which contradicts an example in the tutorial on
> rewrite rules.

The simplification rules were adjusted, and the example was changed to
match the rules.
?
Your comment

This issue is archived.

To comment on this conversation send an email to 4031@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 4031
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch