Consider the sequence (wn) defined recursively by
w2 = 3
wn = (wn-1 (1 - 0.02)) - 2(n + 1)/ n2 for n >= 3.
Write a MATLAB program to compute wn for n = 2, 3, 4, . . . , 10 and display the values n
and wn in two columns with appropriate headings. The program should also compute
and display the sum å10∑10\sum 10
∑10 i=2 wi
Let A be a given finite set and P(A) its power set. Let ⊆ be the inclusion relation on the elements of P(A). Draw Hasse diagrams of (P(A), ⊆) for A={a}; A={a,b}; A={a,b,c} and A={a,b.c.d}.
Determine how many bit strings of length 6 can be formed, where the last bit is 0 and two consecutive 0s are not allowed.
Suppose we are given a Boolean function f(x, y, z)=(x+y)(x+y)(x+2). Find its DN form
Let S = [1,2,4,5,10,20, 25, 50, 100). Then show that 5 forms a lattice under divisibility.
Draw the Hasse diagram also.
a) Suppose P (x, y) denotes the equation8, what will the truth values of the Propositions P (2,2), P (0,4).
A student can choose a computer project from one of three lists. The three lists
contain 23, 15 and 19 possible projects, respectively. How many possible
projects are there to choose from?
Consider the recurrence relation an= 3 an1 + 3 an-2 when ao = 1 and a1= 2 then a3= ..: O 56
Produce truth tables for given Boolean expressions
A’B’C + AB’C + ABC + ABC’
2. A survey on subjects being taken by 250 college students in Candon City revealed the following information.
Subject Number of students taking the subject
Mathematics 145
Filipino 90
English 88
Math and Filipino 25
Filipino and English 38
Math and English 59
Math, Filipino and English 15
How many did not take any of the three subjects?
How many took Math as their only subject? English only? Filipino only?
How many were taking Math and Filipino but not English?
How many were taking Filipino and English but not Math?