homogeneity: Relational Operators A==B => true/false

02102018, 04:13 AM
(This post was last modified: 02102018 06:23 PM by compsystems.)
Post: #2




RE:
In the first release of firmware 2018, I observe that the expressions that return A≠B already throw true or false, but their inverse A==B still returns a numerical value 1/0.
I think that uniformity should be given, in CAS mode true/false, and in numeric mode (home) 1/0. From the point of view of the logic of an algorithm, it is indifferent if it returns true/false or 1/0, but from the didactic point, sometimes returning true and other times 1, it can cause repeated questions in the students. Why does this happen? The majority of users of this forum, and even the developers do not disagree with me, because they are limited to the use of the device, in my case I use it as a tool in the classroom. Xcas SIMPLIFY MAXIMUM: (x+y)^2 == x^2+2*x*y+y^2 returns: true Xcas NONE OR SIMPLIFY MINIMUM: (x+y)^2 == x^2+2*x*y+y^2 returns: false 

« Next Oldest  Next Newest »

Messages In This Thread 
homogeneity: Relational Operators A==B => true/false  compsystems  08272017, 01:25 PM
RE:  compsystems  02102018 04:13 AM

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