Output of propositional functions
01-12-2017, 05:40 AM
Post: #1
 Alberto Candel Member Posts: 169 Joined: Dec 2013
Output of propositional functions
A propositional function outputs 0/1 or True/False depending on ...? Maybe someone knows how to always get True/False. I explain:

The function gt0(x):=x>0 outputs 0/1: for example gt0(2)=1 and gt0(-1)=0. But the function ge0(x):=x &ge; 0 outputs True/False (&ge; is the html code for "at least"), for example ge0(2)=True and ge0(-3)=False.

Is there some kind of switch that will always give True/False as possible answers?

BTW, Xcas seems to always return True/False
 « Next Oldest | Next Newest »

 Messages In This Thread Output of propositional functions - Alberto Candel - 01-12-2017 05:40 AM RE: Output of propositional functions - roadrunner - 01-13-2017, 12:06 PM RE: Output of propositional functions - compsystems - 01-14-2017, 12:49 PM RE: Output of propositional functions - DrD - 01-13-2017, 05:00 PM RE: Output of propositional functions - Alberto Candel - 01-14-2017, 04:44 AM

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