Results 1 to 8 of 8

Thread: negation

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    9

    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)

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: negation

    Quote 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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    9

    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)

  4. #4
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    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

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    9

    Re: negation

    Quote 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

  6. #6
    Hyperactive Member
    Join Date
    Jun 2004
    Posts
    468

    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)

  7. #7

  8. #8

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    9

    Re: negation

    Quote 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
  •  



Click Here to Expand Forum to Full Width