Results 1 to 10 of 10
Like Tree3Thanks
  • 1 Post By Plato
  • 1 Post By Plato
  • 1 Post By Plato

Thread: Compound conditions

  1. #1
    Member
    Joined
    Mar 2017
    From
    Annabay
    Posts
    145

    Compound conditions

    Let A, B and C be conditions which can be either true or false. Suppose we want to writea computer program in which a certain piece of code should be executed if exactly one of thetwo conditions A and B is true, and in addition C is false. Using the operations ^, and ,write down a compound condition which is true only under the described circumstances. Usea truth table to prove that your expression has the required property.


    To solve this I understand A can be True , then B would be False and also C would be False .
    Or B can be True and then A would be False as would C be False.

    A B C
    T F F
    F T F

    I'm kind of not sure how to use the operations to make the compound condition .
    Any help would be appreciated .
    Thanks
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Member
    Joined
    Mar 2017
    From
    Annabay
    Posts
    145

    Re: Compound conditions

    Would I have to make 8 of each letter ?

    A B C
    T T T
    T T F
    T F T
    T F F
    F T T
    F T F
    F F T
    F F F ..... and from here try work out the compound condition?
    Last edited by bee77; Aug 8th 2017 at 07:17 PM.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member
    Joined
    Mar 2017
    From
    Annabay
    Posts
    145

    Re: Compound conditions

    I think I just figured it out to suit those conditions
    is the compound condition (p ^ q) ∨ r
    Am I right ?
    Also is there any good tips to finding what operations to use in questions such as these?
    Thanks
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor

    Joined
    Aug 2006
    Posts
    21,203
    Thanks
    2628
    Awards
    1

    Re: Compound conditions

    Quote Originally Posted by bee77 View Post
    Let A, B and C be conditions which can be either true or false. Suppose we want to writea computer program in which a certain piece of code should be executed if exactly one of the two conditions A and B is true, and in addition C is false. Using the operations ^, ∨ and ,write down a compound condition which is true only under the described circumstances. Use a truth table to prove that your expression has the required property.
    The conditional is If $(A\wedge \neg B\wedge \neg C)\vee(\neg A\wedge B\wedge \neg C)$ then $\cdots$
    Thanks from bee77
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Member
    Joined
    Mar 2017
    From
    Annabay
    Posts
    145

    Re: Compound conditions

    (A^ B ^ C) ∨ (A^B^C)
    (A and not B and not C) or (not A and B and not C)
    then
    (A^B^C) ∨ (A^B^C)
    I'm probably wrong ...sorry struggle with this
    Follow Math Help Forum on Facebook and Google+

  6. #6
    MHF Contributor

    Joined
    Aug 2006
    Posts
    21,203
    Thanks
    2628
    Awards
    1

    Re: Compound conditions

    Quote Originally Posted by bee77 View Post
    (A^ B ^ C) ∨ (A^B^C)
    (A and not B and not C) or (not A and B and not C)
    then (A^B^C) ∨ (A^B^C)
    Why did you add the part is red?
    You were correct up to that point. But the red part is totally wrong. It has no meaning for the question.

    If you wanted to simplify $(A\wedge \neg B\wedge \neg C)\vee(\neg A\wedge B\wedge \neg C)$
    it could be $[(A\wedge \neg B)\vee(\neg A\wedge B)]\wedge\neg C$

    You need to learn LaTeX coding. (A\wedge \neg B\wedge \neg C)\vee(\neg A\wedge B\wedge \neg C) between \$ \$ gives the above.
    Thanks from bee77
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Member
    Joined
    Mar 2017
    From
    Annabay
    Posts
    145

    Re: Compound conditions

    Oh I thought I had to break it down further.
    I assumed when you typed then... that it meant i had to go further ...sorry
    The help with these problems is greatly appreciated .
    Thanks again Plato !!
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Member
    Joined
    Mar 2017
    From
    Annabay
    Posts
    145

    Re: Compound conditions

    I also have no idea how you guys are so quick with this stuff ...0.o It takes me a while to do an example such as the above ...do i just simply follow the worded and or and not pars and slot them straight into the equation? I think i tend to over think...sigh
    Follow Math Help Forum on Facebook and Google+

  9. #9
    MHF Contributor

    Joined
    Aug 2006
    Posts
    21,203
    Thanks
    2628
    Awards
    1

    Re: Compound conditions

    Quote Originally Posted by bee77 View Post
    I also have no idea how you guys are so quick with this stuff ..
    Don't feel bad. Although I am now retired, I did teach courses in foundation of mathematics and topology for thirty-five years.
    Thanks from bee77
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Member
    Joined
    Mar 2017
    From
    Annabay
    Posts
    145

    Re: Compound conditions

    I wish I had your brain this logic course is hard for me ...as a mature age student back at uni
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. need help regarding conditions....
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: Dec 14th 2009, 01:04 PM
  2. Under what conditions does A\(A\B)=B?
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: Sep 19th 2009, 10:35 AM
  3. Replies: 2
    Last Post: Aug 25th 2009, 06:05 PM
  4. conditions
    Posted in the Algebra Forum
    Replies: 3
    Last Post: Aug 9th 2008, 03:55 AM
  5. PDE boundary conditions
    Posted in the Calculus Forum
    Replies: 3
    Last Post: Jan 28th 2008, 08:02 AM

/mathhelpforum @mathhelpforum