Solved

Needs help in logic

Posted on 2011-09-05
7
294 Views
Last Modified: 2012-05-12
A={2,3,4}
B={3,4,5,6}
U={1,2,3,4,5,6,7,8,9}

P(B\A)

Answer is
{0,{5},{6},{5,6}}

Dont know how it get that needs help. Thanks.
0
Comment
Question by:mustish1
  • 3
  • 2
  • 2
7 Comments
 
LVL 19

Accepted Solution

by:
n2fc earned 500 total points
Comment Utility
See:  http://www.mathgoodies.com/lessons/vol6/conditional.html
for explanation on conditional probabilty...

Rule to use is:
P(B | A)  =   P(A and B)  /  P(A)
0
 

Author Comment

by:mustish1
Comment Utility
A={2,3,4}
B={3,4,5,6}
(A and B) = {2,3,4,5,6}

is this is correct. I am guessing here and means U.
0
 

Author Comment

by:mustish1
Comment Utility
I think B\A = {5, 6} because 5 and 6 are elements of B but not of A.
power set of {5, 6} means ?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:mustish1
Comment Utility
The proper subsets of {5, 6} are {5} and {6} and then add in the empty set and the set itself.

i dont know if this is the way to do that.
0
 
LVL 19

Expert Comment

by:n2fc
Comment Utility
I believe you are correct in your assumptions!  Thus you match the answer given in your original poser.
0
 
LVL 37

Expert Comment

by:TommySzalapski
Comment Utility
Um, it's not conditional probability. The problem is asking for the power set of A\B
A\B is the set of elements that are in A and not in B so {5,6} in this case. And then the power set is all the possible subsets you can create from that set so of course it would be the { {Ø} {5} {6} {5,6} }
As long as you mean empty set when you write {0} then your answer is correct. I would use the Ø character instead to avoid confusion (Hold the Alt key down and press 0216 on the keypad in Windows to get that character).
0
 
LVL 37

Expert Comment

by:TommySzalapski
Comment Utility
Sorry, of course in your question we had B\A (elements in B but not in A). I wrote A\B in the above post, but the definition is the same so don't let my typo confuse you.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
noX challenge 17 75
mapShare challenge 13 66
move one pixel 4 38
C Programming - If Statement 8 47
We are taking giant steps in technological advances in the field of wireless telephony. At just 10 years since the advent of smartphones, it is crucial to examine the benefits and disadvantages that have been report to us.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now