|
-
Apr 7th, 2006, 06:34 PM
#1
Thread Starter
New Member
negation
"Can someone explain negation?"
The question is for the following problems write a condition equivalentto the negation of the given condition.
problem a is a>b
(a<>'')AND(a<b)ANDLen(a<5)
(a-d)OR(a=d)
-
Apr 7th, 2006, 06:48 PM
#2
Re: negation
 Originally Posted by catdancing
"Can someone explain negation?"
The question is for the following problems write a condition equivalentto the negation of the given condition.
problem a is a>b
(a<>'')AND(a<b)ANDLen(a<5)
(a-d)OR(a=d)
You must have mistyped the question since what you have there doesn't make sense.
-
Apr 7th, 2006, 07:04 PM
#3
Thread Starter
New Member
negation
"Can someone explain negation?"
The question is for the following problems write a condition equivalentto the negation of the given condition.example,(a<>b)is equivelant to the negation of a=b
problem a is a>b
(a<>'')AND(a<b)ANDLen(a<5)
(a-d)OR(a=d)
-
Apr 7th, 2006, 07:08 PM
#4
Frenzied Member
Re: negation
catdancing:
I think I have seen this question somewhere before and I believe the actual question should be:
For the following problems, write a condition equivalent to the negation of the given condition. (For example, a <> b is equivalent to the negation of a = b.)
a. a > b
b. (a <> “”) And (a<b) And Len(a) < 5)
c. (a=b) Or (a=d)
And, I agree with MartinLiss that it may not make a lot of sense, but I don't know enough to answer it even if it did make sense.
Hopefully someone else will understand this and be able to help you.
I am sure it is probably one of those things that is real simple if you know it.
Good Luck
-
Apr 7th, 2006, 07:10 PM
#5
Thread Starter
New Member
Re: negation
 Originally Posted by MartinLiss
You must have mistyped the question since what you have there doesn't make sense.
Thanks I have reposted the question
-
Apr 7th, 2006, 07:16 PM
#6
Hyperactive Member
Re: negation
Well, I won't do it for you, but I'll tell you how to do it.
To negate an expression, reverse the operators. So, for instance, convert all ANDs to ORs and all ORs to ANDs. Also, convert all = to <>, all <> to =, all > to <=, all < to >=, etc.
By way of example, if the expression were:
(a <> b) OR (b <= c)
The negation would be:
(a = b) AND (b > c)
-
Apr 7th, 2006, 07:19 PM
#7
Re: negation
 Originally Posted by catdancing
Thanks I have reposted the question
You should have edited the original post rather than creating a second thread. I've merged the two threads.
-
Apr 7th, 2006, 07:25 PM
#8
Thread Starter
New Member
Re: negation
 Originally Posted by bpd
Well, I won't do it for you, but I'll tell you how to do it.
To negate an expression, reverse the operators. So, for instance, convert all ANDs to ORs and all ORs to ANDs. Also, convert all = to <>, all <> to =, all > to <=, all < to >=, etc.
By way of example, if the expression were:
(a <> b) OR (b <= c)
The negation would be:
(a = b) AND (b > c)
Thanks so much that is very helpful.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|