Post Reply 
HP-50g plots of cube roots (no negative domain displayed)
03-22-2018, 01:58 PM
Post: #3
RE: HP-50g plots of cube roots (no negative domain displayed)
(03-21-2018 07:16 PM)Dieter Wrote:  Cliff,
as you can see you posted this message twice. Please delete the other one. To do so, logĀ in and use the delete button below your post (the one with the red X).

I tried that when I noticed it was duplicated, I don't have permission to do it. I also reported it to a mod for deletion as duplication.


Quote:I do not have a 50g, but this behaviour is the way I would expect a decent calculator to react

Well, my question was how to generate certain behavior, not what is the "right" behavior in a normative sense which is a different question for a different thread. I don't see that as productive as I don't see what kind of categorical imperative you could appeal to so it is going to be nothing more than a statement of preference. However, since you diverted the thread anyway, the reasons why I don't prefer the behavior are many, but here are three obvious ones :

1) In exact mode, if you enter Y1(x) = 3root(x) and Y2(x)=x^(1/3), they are displayed on the screen if you recall them as exactly the same (in root form). Yet they produce different answers. Due to this, you can't know what an equation will produce by looking at it, you have to know the original form it was entered. This breaks mathematical reasoning on a very fundamental level. Plus the whole idea of an exact mode is to prevent the kind of issues where you get things like ((1/7)*7)^1E100 = 0. That doesn't happen in exact mode.

2) Worse still, if you enter one of the functions which won't generate the negative real roots in the plots but you go outside of the graph and manually make a table of values by just evaluating the function, it happily makes the real roots. Thus the calculator won't actually match the graph it makes with the table of values it generates on the same numbers.

Quote:Are you sure about this?

Yes, it can do the cube root of a negative and return a real, then it can raise that to the fifth power. However, if you do the fifth power of the negative, it can't cube root that. Function composition doesn't actually produce the same results as manually running the functions after each other. That likely bothers me the most as I am a functional style programmer and if you break functional composition, well it makes programming that way impossible.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-50g plots of cube roots (no negative domain displayed) - Cliff Stamp - 03-22-2018 01:58 PM



User(s) browsing this thread: 1 Guest(s)