In a survey of X university students, 64 had taken Discrete mathematics course,

Ann Tice

Ann Tice

Answered question

2021-11-06

In a survey of X university students, 64 had taken Discrete mathematics course, 94 had taken Object Oriented Programming course, 58 had taken Digital Logic course, 28 had taken Discrete Mathematics and Digital Logic , 26 had taken Discrete Mathematics and Object Oriented Programming, 22 had taken Object Oriented Programming and Digital Logic course, and 14 had taken all the three courses. Find how many had taken one course only.

Answer & Explanation

Lupe Kirkland

Lupe Kirkland

Beginner2021-11-07Added 21 answers

Step 1
Let the discrete mathematics course be represented by M, the Object-Oriented Programming course by O, and the Digital Logic course by L.
Now, n(A) represents the number of students who took course A, and n(AB)nAB represent number of students who took both courses A and B and n(ABC) represent number of students who took all three courses A, B, and C.
Now, 64 had taken Discrete mathematics course, therefore, n(M)=64
94 had taken Object-Oriented Programming course, therefore, n(O)=94
58 had taken Digital Logic course, therefore, n(L)=58
28 had taken Discrete Mathematics and Digital Logic, therefore, n(ML)=28
26 had taken Discrete Mathematics and Object-Oriented Programming, therefore, n(MO)=26
22 had taken Object-Oriented Programming and Digital Logic course, n(OL)=22
14 had taken all the three courses, therefore, n(MOL)=14.
Hence,
n(M)=64
n(O)=94
n(L)=58
n(ML)=28
n(MO)=26
n(OL)=22
n(MOL)=14
Step 2
Now, let us make a Venn diagram and represent the situation:

Here, the discrete mathematics course is represented by the red color circle, the Object-Oriented Programming course is represented by the black color circle, and the Digital Logic course is represented by the blue color circle.
Now, the students who have taken only the discrete mathematics course can be found by subtracting the number of students who take Discrete Mathematics and Digital Logic and the number of students who take Discrete Mathematics and Object-Oriented Programming from all the students who take Discrete Mathematics course.
But then the part that is common to all three circles gets subtracted twice. So, add the number of students who take all three courses.
In short,
n(only discrete maths)=n(M)n(ML)n(MO)+n(MOL)
Similarly, number of students who take only Digital Logic course is : n(only digital logi ccourse)=n(L)n(ML)n(OL)+n(MOL) Similarly, number of students who take only Object-Oriented Programming is: n(only ObjectOriented Programming)=n(O)n(MO)n(OL)+n(MOL)
Step 3
Hence, we get:
n(only discrete maths)=n(M)n(ML)n(MO)+n(MOL) =642826+14 =24
n(only digital logi course)

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?