(09-27-2017 10:01 PM)Paul Dale Wrote: He who must not be named suggests that the WP 34S handles the problem perfectly:

Code:

2 ENTER 1000 ENTER 13 ^MOD

I'm glad we exposed the exp-mod function.

Pauli

Pauli: When I first attempted to try this, I hadn't read the footnote on the manual page for the ^MOD function and did not realize that it is ONLY available in the menus when you have the calculator in INTEGER MODE. Once I put the calculator into INTEGER mode, then the ^MOD function showed up in the menus. Thanks for exposing the exp-mod function.

(09-27-2017 08:56 PM)Gilles59 Wrote: I suppose that the CAS simplify too much ;D

If in this simple case the CAS cannot decide the right domain and do not gives the right solution, how we can decide about the solution in any complicated case? How can I trust in CAS if it cannot solve this simple example?!?

If 3×X+1/(X-5)=15+1/(X-5) is the unbreakable code for Skynet newer gains to self-awareness and X=5 is the password and John Connor believe that, Skynet never will wake up, because the CAS of Skynet never find x=5 (because it is out of the domain and Skynet's CAS is really intelligent), one simple HP50 with its CAS can be destroy the whole mankind on the Earth...

So, this is a REALLY serious problem - please solve it...

Csaba

PS.: No any CAS which can solve this problem correctly... This is too simple to handle it correctly. Of course the triple integrals in negative dimensions on a hyperboloid surface can do without problem, but I'm an engineer and I want RELIABLE solutions.

If you have a friend who is one time did not says the truth - he is a LIAR.

(09-28-2017 01:50 AM)Paul Dale Wrote: It should also be there in programme mode.

Pauli

This is true, but if one were to RUN a program including the ^MOD command while NOT in INTEGER mode, then you would get a "BAD MODE ERROR", because that
instruction step would not be appropriate in non-integer modes.

(09-29-2017 12:00 AM)rprosperi Wrote: If your comments are a reply to my question (I honestly can't tell), I can say, with absolutely no offence meant at all, that it doesn't help (me) one bit.

Yes, that was aimed partly at you (for calling division by zero undefined) but also in repsonse to the "cannot decide the right domain" statement because the same response addresses both: in the "right" domain division by zero can be defined.

I think there is a very wide mix of people on this forum, which is probably part of the reason why we are having these discussions (with different expectations). :-)

To "answer" your question: the extended or compactified complex plane is very useful in complex function theory because it turns out that you can treat "infinity" as just another point in the "plane" for many purposes, thereby simplifying a lot of the theory.

To "misdirect" from your question: it does not matter. We are talking about well-established mathematics that is over 150 years old. A lot of it has found is way into applications and much more will no doubt follow. It is interesting that you mention number theory because that is one of the success stories of "useless" abstract mathematics finding its way into applications (think encryption).

The point that I am trying to make is that even within mathematics there is always a context in which you are working and that context will justify defining (or undefining) things that require a different approach elsewhere. Whoever created the algorithms for your tool would have done so in some context that may not be yours. This doesn't affect most calculations but it might affect borderline situations. Unless there is a clear bug I would just accept and (try to) understand what the tools does and hopefully when to expect the unexpected...

Csaba, the referenced equation is easily simplified to 3x=15. Consider a substitution such that the expression a+b = c+b represents the original equation, which reduces to the expression a+b-b=c which further reduces to a=c. Simplifying equations is a standard practice in math and a necessity for some computational algorithms deployed on diverse devices, machines, programs, etc..