Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ ¹ ² ³ °
 

You are not logged in. Pages: 1 2 #2 20131014 18:44:04
Re: What's the difference between a statement and a boolean expression?hi atran You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei #3 20131014 20:02:18
Re: What's the difference between a statement and a boolean expression?Hi Bob The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #4 20131014 21:50:18
Re: What's the difference between a statement and a boolean expression?OK, thanks for the correction. You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei #5 20131014 21:51:11
Re: What's the difference between a statement and a boolean expression?Now, that would be true. Thus, it is also a Boolean expression. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #6 20131014 22:34:17
Re: What's the difference between a statement and a boolean expression?
That is a boolean expression too. The hat is either nice or not. If the hat is nice, the statement evaluates to true. Code:#include <iostream.h> //statement using namespace std; //statement int main(void) { int n; //declaration statement cin << n; //declaration statement if (n > 2) { // the part (n >2) is a boolean expression cout << "OK"; //statement } return 1; //statement } Last edited by Agnishom (20131014 22:34:46) 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #7 20131014 23:00:01
Re: What's the difference between a statement and a boolean expression?
Actually, I agree with Stefy's correction. Whether a hat is nice is a matter of opinion. Some people may think it is and some not. Mathematical statements don't have that doubt about them; everyone has to agree that it is TRUE. It is a subtle point of semantics as some statements are borderline. See You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei #8 20131014 23:01:57
Re: What's the difference between a statement and a boolean expression?By the way, I think the OP was in need of what I posted in #6. 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #9 20131014 23:09:46
Re: What's the difference between a statement and a boolean expression?
You may be right. That's the great thing about MIF; lots of folk contribute; each bringing their owns ideas. The poster can pick and choose as they like. You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei #10 20131014 23:23:59
Re: What's the difference between a statement and a boolean expression?
That statement might not be undecidable. I like Arthur Prior's resolution of it. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #11 20131014 23:51:22
Re: What's the difference between a statement and a boolean expression?What is Arthur Prior's resolution to it? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #12 20131015 00:02:56
Re: What's the difference between a statement and a boolean expression?The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #13 20131015 00:24:19
Re: What's the difference between a statement and a boolean expression?If he thinks he has resolved the statement is false, then the statement is what it claims to be, then why is it false, again? 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #14 20131015 00:30:33
Re: What's the difference between a statement and a boolean expression?Well, if you claim something to be both true and false, your claim is false. The same is here. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #15 20131015 00:37:53
Re: What's the difference between a statement and a boolean expression?Nope. The order matters. 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #16 20131015 01:06:58
Re: What's the difference between a statement and a boolean expression?
First, that has nothing to do with what I said. If you were to claim "Agnishom is 15 and is not 15", it would be false and that is what I am trying to say. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #17 20131015 10:16:52
Re: What's the difference between a statement and a boolean expression?Let the statement with which we are working be 'This statement is False' 'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.' 'God exists because Mathematics is consistent, and the devil exists because we cannot prove it' 'Who are you to judge everything?' Alokananda #18 20131015 18:40:44
Re: What's the difference between a statement and a boolean expression?hi Agnishom and Stefy, You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei #19 20131015 20:56:53
Re: What's the difference between a statement and a boolean expression?Hi Bob The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #20 20131015 22:07:46
Re: What's the difference between a statement and a boolean expression?hi Stefy, You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei #21 20131015 22:15:17
Re: What's the difference between a statement and a boolean expression?Hi Bob Last edited by anonimnystefy (20131015 22:15:35) The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #22 20131016 02:41:19
Re: What's the difference between a statement and a boolean expression?I thought I'd covered that by saying
Bob You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei #23 20131016 02:48:54
Re: What's the difference between a statement and a boolean expression?Ah, okay. So, you agree that the statement is always false or...? The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment #24 20131016 04:16:12
Re: What's the difference between a statement and a boolean expression?It seems to me that the statement is FALSE exactly when it is TRUE.
That seems to sew up all the loose ends nicely. You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei #25 20131016 05:11:42
Re: What's the difference between a statement and a boolean expression?I'm not sure what you are trying to say. The limit operator is just an excuse for doing something you know you can't. “It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman “Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment Pages: 1 2 