Đề cương Toán rời rạc (HUST) GV. Nguyễn Đức Nghĩa Logics Set&Functions
Giáo trình về logic hình thức và toán rời rạc, bao gồm các chương về logic mệnh đề, tập hợp, hàm số, thuật toán, quy nạp, đếm, đồ thị và cây. Tài liệu cung cấp định nghĩa các phép toán logic, bảng chân trị, và các bài tập ứng dụng.
Generating preview...
MATH 221, Formal Logic and Discrete Mathematics Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. Brian W. Kernighan Table Of Contents Chapter 1: Logic and Proofs Chapter 2: Sets, functions, sequences and sums Chapter 3: Algorithms, the integers and matrices Chapter 4: Induction and recursion Chapter 5: Counting Chapter 9: Graphs Chapter 10: Trees 1 13 20 35 44 50 61 Chapter 1: Logic and Proofs Section 1: Propositional logic proposition - a declarative statement that is either true or false, but not both {p, q, r, s} - typically represent a proposition Logical Operators negation: not p read, not p true when p is false connectives: conjunction disjunction exclusive or pq pq pq read, p and q read, p or q read, p x-or q true when both p and q are true true when either p or q are true true when p q F but p q T conditional: implication p →q read, p implies q true when p F or p q T read, p if and only if q true when p → q T and q → p T biconditional: bi-implication pq Important Conditional Constructs p→q statement contrapositive p→q statement converse p→q statement inverse Order of operations q → p q→ p p → q 1. ( ) 2. 3. 4. 5. → 6. Truth Tables Truth tables start with a systematic and exhaustive list of the possible truth values for each proposition, typically followed by the resulting truth value of the compound propositions leading ultimately to the final truth value. Example ( p q ) → r There are three variables (simple propositions). There is a compound or, the negation of r and the complete statement. p q r pq r ( p q ) → r T T T T F F F F T T F F T T F F T F T F T F T F T T T T T T F F F T F T F T F T F T F T F T T T Bit strings consist of a sequence of 0's and 1's, each of which is a bit. The length of the string is the number of bits. By convention 1 denotes true an
… Tải file gốc để đọc toàn bộ tài liệu.
- Document name
- Đề cương Toán rời rạc (HUST) GV. Nguyễn Đức Nghĩa Logics Set&Functions
- School / Course
- Đại học Bách khoa Hà Nội · Toán rời rạc
- Author (in document)
- GV. Nguyễn Đức Nghĩa
- Content
- Đề cương giới thiệu về logic mệnh đề, các toán tử logic cơ bản (phủ định, hội, tuyển, kéo theo, tương đương) và cách sử dụng bảng chân lý để phân tích mệnh đề. Tài liệu cũng đề cập đến việc áp dụng logic vào chuỗi bit.
- Table of contents
- Chapter 1: Logic and Proofs
- Chapter 2: Sets, functions, sequences and sums
- Chapter 3: Algorithms, the integers and matrices
- Chapter 4: Induction and recursion
- Chapter 5: Counting
- Chapter 9: Graphs
- Chapter 10: Trees
- Chapter 1: Logic and Proofs
- Section 1: Propositional logic
- Doc.pages
- 70 pages
- Uploaded by
- lienhejb
Frequently asked questions
Tài liệu này có miễn phí không?
Có. “Đề cương Toán rời rạc (HUST) GV. Nguyễn Đức Nghĩa Logics Set&Functions” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 70 trang, thuộc môn Toán rời rạc. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.

Comments (0)
No comments yet. Be the first!