StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Discrete Mathematics For Computing - Assignment Example

Summary
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER98.2% of users find it useful

Extract of sample "Discrete Mathematics For Computing"

Student Name Disсrеtе Маthеmаtiсs for Соmрuting Institution Name Date Disсrеtе Маthеmаtiсs for Соmрuting Question 1 Answer (a) Truth table for [(pvq) ^ (rvp)] v (rvp) p q P ^ q P v q p q rvp r v q F F F F F T T F T F T T T F T F F T T F F T T T T F T T The expression is neither a tautology nor a contradiction because the values are a combination of True and False for all the premises. When a compound statement is true for every value of all its truth vales are true for every truth-values of its assignments, then the expression is referred to as a tautology, denoted by T0. On the other hand, it is known as a contradiction if the compound statement is false for everyone of such assignment. Answer (b) Use of Logic Expression: [P ^ (p  q)] q p v p p and p^pp p v Fp and p ^ To p p v pTo and p ^ pFo P v To To and p ^ Fo Fo P v (p ^ q) p and p ^ (p v q) p Therefore: P q = () d = We now apply Distributive Law P v (q ^ r) (p v q) ^ (p v r) P^(q v r) (p ^q)v(p ^ r) We now apply Idempotent Law P v pp where pp We now apply Identity Law P v Fop where p ^ Top We now apply Inverse Law P vp To where p^pFo We now apply Domination Law P v ToTo and P ^ FoFo Finally, we apply Absorption Law P v (p ^ q) p, p ^ (p v qp) Question 2 Answer (a). The relation R on the set A is an equivalent relationship since it is symmetric, reflexive and transitive at the same time (Rosen 237). The relation R on a set A is reflexive because (1, 1) R for every member 1A and (2, 2) R for every member 2A. The relation R on a set A is symmetric because (2, 1) R every time (1, 2) R for every member 1, 2A. The relation R on a set A transitive because whenever (1, 2) R and (2,-1) R, then (1,-1c) R for 1, 2, -1A. (b). Matrix representation of the relationship R = Question 3 The geometric progression is 40, 41, 42, 43, 44… 4n. The progression is 1, 4, 16, 64, 256 …. 4n Objective: To prove that 1 + 4 + 16 + 64 +… + 4n = (4 n + 1-1)/3 We split the expression into two parts then we try to confirm if the values of the two sides are equal. x + xy + xy2 +xy3+ …+xbn-1 = x (bn - 1)/b - 1 Considering the sum of the next integer k + 1 [x + xb + xb2 + … +xbk-1+ xbk [x + xb + xb2 + … +xbk-1] + xbk [x + xb + xb2 + … +xbk-1] + xbk = xbn - 1)/b - 1+ xbk xbn - 1) / b – 1 + xbk = (xbk – x + xb k + 1- xbk) / b-1 = (xb k+1-x) / b - 1 = (xb k+1 - 1) / b – 1 It therefore proves that x + xb + xb2 + xbk-1 + xbk = x (bk+1 - 1) / b -1 We take an instance where n = 4 The solution will be: Sum1= 1 + 4 + 16 + 64 + 256 = 341 Now we have an objective to prove that (4 n + 1 - 1) / 3 = 341 Solution N = 4 We substitute n with 4 Sum2 = (4 4+ 1 - 1) / 3 Sum2= (45 - 1) / 3 Sum2 = (1024 - 1) / 3 Sum2 = 1023 / 3 Sum2 = 341 Sum1 = Sum2, hence, the two sides are confirmed to be equal. (b) We have an objective to calculate Sum (4i), where I = 0, 1, 2, 3… 14 and 15 It means we are taking n = 16. Sum (4i) = (4 16+1 -1) / 3 Sum (4i) = (417 - 1) / 3 Sum (4i) = (1073741824 - 1) / 3 = 357913941. We now take Sum (4i) = 357913941 Question 4 (a) The sum of the sequence is S (n) When n = 0, S (0) = 0 When n = 1, S (1) = 1 When n > = 2, S (n) = S (n – 1) + S (n - 2) We find this to be a recursive formula. However, our objective is to produce a non-recursive formula for the same sequence. For any integer n, being equal to or greater than 0, let s(n) be the recursive number of ways in which we are able to write the number n as its total by use of three numbers 1, 2, and 3 in whichever way they are arranged. We will have the following Non-recursive formula: S (n) = S (n − 3) + S (n − 2) – S (n − 5) + 1 Beginning with the numbers S (0) = 1, S (1) = 1, S (2) = 2, S (3) = 3, S (4) = 4, S (5) = 5, S (6) = 7, S (7) = 8, S (8) = 10, S (9) =12, S (10) = 14. (b) S (10) = S (10 - 3) +S (10 - 2) – S (n - 5) + 1 S (10) = S (7) + S (8) – S (5) + 1 S (10) = 8 + 10 - 5 +1 S (10) = 19 - 5 S (10) = 14. Question 5 (a) The original Boolean Expression is xy + xz’ + x’y +x’y’ Digital Circuit that corresponds to this expression is drawn below (b). Writing the expression in a disjunctive normal form, we obtain the expression below x (y + z’) + x’(y + y’) = xx’ (yz + y’z + y’z’ + yz’) c. Karnaugh Map yz y’z y’z’ yz’ x 1 1 0 1 x’ 1 0 0 0 Using the map, we can now simplify the expression by using the points at which the map is indicating a 1. The expression now becomes: x (yz + y’z + yz’) + x’yz = xyz + xy’z +xyz’ + x’yz (d) Digital circuit for the simplified expression Works Cited Rosen, Kenneth. Discrete Mathematics and Its Applications. New York: McGraw-Hill College, 2012. Print. Read More

CHECK THESE SAMPLES OF Discrete Mathematics For Computing

Differences between Concrete and Virtual Manipulatives

The use of concrete manipulatives in the classroom such as Cuisenaire rods, mini cubes, patterned blocks, fraction slices, base-ten blocks, and square tiles enabled students to forge relationships with the abstract thus assisting students in observing a more practical application of mathematics.... On one hand, standardized tests regard to use the results of specifically stated standards to measure proficiency levels of students in mathematics, English and Science....
25 Pages (6250 words) Thesis

The title is related to New applications of mathematics or Maths and technology

TITLE: "DESPITE DIFFERENCES IN THE NATURE OF SCIENCES CAN mathematics BE APPLIED TO ARTS AND BIOLOGY?... THESIS STATEMENT: mathematics and ALL OTHER SCIENCES are distinct modes of study.... They are however interrelated in the form that mathematics ‘can' be applied to each of them.... May it be the field of arts, science or the corporate management the application of mathematics in each of these fields has proved to be meritorious for the concerned field....
10 Pages (2500 words) Essay

Everyday life with Algebra in the Real World

Techniques from algebra, discrete mathematics and algebraic geometry have lately acquired new applications in systems biology causing the emergence of the fields of “algebraic biology”.... For example, algebra is applied in computing mathematical predictions of cellular interactions, analysis of heritage, body reactions to chemicals and intercellular features....
4 Pages (1000 words) Research Paper

Computer Science and Information Technology: Numerical Precision

Goldberg (1991) states that discrete mathematics is what distinguishes old computers from scientific computing.... However, as BCD was not used mostly like in the past, dial-fixed point as well as floating-point formats are of much importance in profitable, monetary as well as manufacturing computing where much errors cannot be endured.... Taking the plunge into GPU computing.... ACM computing Surveys (CSUR), 23(1), 5-48.... Results of the third NAEP mathematics assessment: Secondary school....
5 Pages (1250 words) Research Paper

How software engineering differs from other fields of engineering

This difference shows that the field depends, mainly, on the principles of discrete mathematics, particularly that related to logic (Jones, 1995).... Additionally, traditional engineering fields are mature fields incorporating continuous mathematics and physical sciences, but software engineering is more immature, and reliant on discrete mathematics and computer sciences (Herbsleb and Goldenson, 1996).... The differences between software engineering and other traditional engineering disciplines The field of software engineering, unlike other traditional fields of engineering, can be traced to the growth in the field of computing and information technology....
3 Pages (750 words) Essay

Assessment Criteria for Maths Project

iverse means was utilized in computing averages and corresponding participants' ages ranging from 10 years to 16 years ... Diverse means was utilized in computing averages and corresponding participants' ages were mainly ranging from ten years of age to sixteen years of age whilst the shoe size mainly ranged from a children's size eleven to a corresponding size five.... am presently studying Access to the underlying Higher Education Diploma for the Health Professions and one of the prevailing modules is mathematics....
5 Pages (1250 words) Coursework

Fundamental Advances in Video Gaming Technology

However, processing power improves all the time – and todays limitations may be reduced to a footnote in computing history. ... A Brief History of computing.... A Brief History of computing.... TCP/IP Illustrated, Volume 1: The Protocols (2nd Edition) (Addison-Wesley Professional computing Series) Addison-Wesley Professional; 2 edition (November 25, ... Artificial intelligence represented through mathematics is arguably the core principle for which the computer itself was initially developed....
8 Pages (2000 words) Case Study

Value of Wave Functions

Applied mathematics.... athématiques & Applications (Berlin) [mathematics & Applications], Springer-Verlag, ... ambridge Texts in Applied mathematics.... here are certain particle that have nonzero spin such as photons and electrons and wave function for the particles include discrete degree of freedom and spin as an intrinsic (Binney & Skinner, 2013).... A system can have an internal and external degree of freedom, when it is having an internal degree of freedom, the wave function at every point in uninterrupted degrees of freedom allocates a complex number in all values of the discrete degrees of freedom such as the spin z-component. ...
13 Pages (3250 words) Coursework
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us