• simplify

    From William Unruh@21:1/5 to All on Wed Aug 9 21:57:19 2017
    Having just graduated from Maple 9.5 to Maple 2016.2 I am flummoxed by
    the simplify command. My expression includes square roots, and all I get
    from simplify is "`simplify/sqrt/product` uses a 2nd argument, n, which
    is missing" which is of no help at all. One would think it would use the
    old simplfy procedure (eg assuming positivee argument and positive
    result by default, or something like that).
    Looking at the help page and putting in
    simplify(%,assume=positive) just give the same response.
    If simplify is simply going to throw up its hands in despair every time
    it runs across something slightly out of the ordinary, it makes it
    pretty useless.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From G. A. Edgar@21:1/5 to [email protected] on Fri Aug 11 04:17:19 2017
    In article <omg0fv$u3k$[email protected]>, William Unruh
    <[email protected]> wrote:

    Having just graduated from Maple 9.5 to Maple 2016.2 I am flummoxed by
    the simplify command. My expression includes square roots, and all I get
    from simplify is "`simplify/sqrt/product` uses a 2nd argument, n, which
    is missing" which is of no help at all. One would think it would use the
    old simplfy procedure (eg assuming positivee argument and positive
    result by default, or something like that).
    Looking at the help page and putting in
    simplify(%,assume=positive) just give the same response.
    If simplify is simply going to throw up its hands in despair every time
    it runs across something slightly out of the ordinary, it makes it
    pretty useless.



    Why not give us an example where you get this message?

    --
    G. A. Edgar http://www.math.ohio-state.edu/~edgar/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to G. A. Edgar on Fri Aug 11 10:48:05 2017
    On 2017-08-11, G. A. Edgar <[email protected]d> wrote:
    In article <omg0fv$u3k$[email protected]>, William Unruh
    <[email protected]> wrote:

    Having just graduated from Maple 9.5 to Maple 2016.2 I am flummoxed by
    the simplify command. My expression includes square roots, and all I get
    from simplify is "`simplify/sqrt/product` uses a 2nd argument, n, which
    is missing" which is of no help at all. One would think it would use the
    old simplfy procedure (eg assuming positivee argument and positive
    result by default, or something like that).
    Looking at the help page and putting in
    simplify(%,assume=positive) just give the same response.
    If simplify is simply going to throw up its hands in despair every time
    it runs across something slightly out of the ordinary, it makes it
    pretty useless.



    Why not give us an example where you get this message?

    >simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));
    Error, (in simplify) invalid input: `simplify/sqrt/product` uses a 2nd
    argument, n, which is missing

    In the sequence of calculations I an doing, stuff like this can occor
    all the time.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From G. A. Edgar@21:1/5 to [email protected] on Tue Aug 15 06:36:10 2017
    In article <omk215$7rm$[email protected]>, William Unruh
    <[email protected]> wrote:

    On 2017-08-11, G. A. Edgar <[email protected]d> wrote:

    Why not give us an example where you get this message?

    >simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));
    Error, (in simplify) invalid input: `simplify/sqrt/product` uses a 2nd
    argument, n, which is missing

    In the sequence of calculations I an doing, stuff like this can occor
    all the time.


    In Maple 2015 I get...

    simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));

    (-(-R(u)+2*m(u))*R(u)^3)^(1/2)

    version();

    User Interface: 1097895
    Kernel: 1097895
    Library: 1097895
    1097895

    Let's see what happens in other versions.

    --
    G. A. Edgar http://www.math.ohio-state.edu/~edgar/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to G. A. Edgar on Tue Aug 15 14:42:54 2017
    On 2017-08-15, G. A. Edgar <[email protected]d> wrote:
    In article <omk215$7rm$[email protected]>, William Unruh
    <[email protected]> wrote:

    On 2017-08-11, G. A. Edgar <[email protected]d> wrote:

    Why not give us an example where you get this message?

    >simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));
    Error, (in simplify) invalid input: `simplify/sqrt/product` uses a 2nd >> argument, n, which is missing

    In the sequence of calculations I an doing, stuff like this can occor
    all the time.


    In Maple 2015 I get...

    simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));

    (-(-R(u)+2*m(u))*R(u)^3)^(1/2)


    So, it looks like it is bug introduced into 2016.2 (maybe earlier).

    version();

    User Interface: 1097895
    Kernel: 1097895
    Library: 1097895
    1097895

    Let's see what happens in other versions.

    I get
    version();
    User Interface: 1194701
    Kernel: 1194701
    Library: 1194701



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jfh@21:1/5 to William Unruh on Wed Aug 16 19:30:16 2017
    On Wednesday, August 16, 2017 at 2:47:09 AM UTC+12, William Unruh wrote:
    On 2017-08-15, G. A. Edgar <[email protected]d> wrote:
    In article <omk215$7rm$[email protected]>, William Unruh
    <[email protected]> wrote:

    On 2017-08-11, G. A. Edgar <[email protected]d> wrote:

    Why not give us an example where you get this message?

    >simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));
    Error, (in simplify) invalid input: `simplify/sqrt/product` uses a 2nd >> argument, n, which is missing

    In the sequence of calculations I an doing, stuff like this can occor
    all the time.


    In Maple 2015 I get...

    simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));

    (-(-R(u)+2*m(u))*R(u)^3)^(1/2)


    So, it looks like it is bug introduced into 2016.2 (maybe earlier).

    version();

    User Interface: 1097895
    Kernel: 1097895
    Library: 1097895
    1097895

    Let's see what happens in other versions.

    I get
    version();
    User Interface: 1194701
    Kernel: 1194701
    Library: 1194701



    I get
    |\^/| Maple 2017 (X86 64 LINUX)
    ._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2017
    \ MAPLE / All rights reserved. Maple is a trademark of
    <____ ____> Waterloo Maple Inc.
    | Type ? for help.
    simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));
    3 1/2
    (-(-R(u) + 2 m(u)) R(u) )

    version();
    User Interface: 1231047
    Kernel: 1231047
    Library: 1231047
    1231047

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to William Unruh on Fri Aug 18 14:55:07 2017
    It turned out that the problem was GRTensorII which I am almost always
    running when I use Maple. Somehow it messed up the sqrt routine so that simplify got confused.

    One needs to use
    kernelopts(unread = `sqrt`):
    in setting up grtensor.
    (This only seems to be a problem with versions of maple at least later
    than 9.5)

    Sorry about the noise.


    On 2017-08-15, William Unruh <[email protected]> wrote:
    On 2017-08-15, G. A. Edgar <[email protected]d> wrote:
    In article <omk215$7rm$[email protected]>, William Unruh
    <[email protected]> wrote:

    On 2017-08-11, G. A. Edgar <[email protected]d> wrote:

    Why not give us an example where you get this message?

    >simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));
    Error, (in simplify) invalid input: `simplify/sqrt/product` uses a 2nd >>> argument, n, which is missing

    In the sequence of calculations I an doing, stuff like this can occor
    all the time.


    In Maple 2015 I get...

    simplify(sqrt((1-2*m(u)/R(u))*R(u)^4));

    (-(-R(u)+2*m(u))*R(u)^3)^(1/2)


    So, it looks like it is bug introduced into 2016.2 (maybe earlier).

    version();

    User Interface: 1097895
    Kernel: 1097895
    Library: 1097895
    1097895

    Let's see what happens in other versions.

    I get
    version();
    User Interface: 1194701
    Kernel: 1194701
    Library: 1194701



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)