From 9a607a503c171c6c0857dc637bdf879b8c52f3f5 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Mon, 1 Jul 2024 14:32:45 +0200 Subject: [PATCH] Typo: thne -> then --- src/XC1.xml | 8 ++++---- src/XC1_stub.xml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/XC1.xml b/src/XC1.xml index 75bdc178d..130f69e13 100644 --- a/src/XC1.xml +++ b/src/XC1.xml @@ -13,13 +13,13 @@ But his best efforts failed, And at Betty he railed: "Your insights? A true empty set!" - + -

Many of the topics in this book are defined in terms of sets. It is essential to understand basic set theory and how it is use to define basic structures such as relation, functions, graphs and algebraic structures. We begin this chapter with some of the basic set language and notation that will be used throughout the text. We thne consider basic set operations. Venn diagrams will be introduced in order to give the reader a clear picture of these operations. In addition, we will review the binary representation of positive integers and introduce summation notation and its generalizations.

- +

Many of the topics in this book are defined in terms of sets. It is essential to understand basic set theory and how it is use to define basic structures such as relation, functions, graphs and algebraic structures. We begin this chapter with some of the basic set language and notation that will be used throughout the text. We then consider basic set operations. Venn diagrams will be introduced in order to give the reader a clear picture of these operations. In addition, we will review the binary representation of positive integers and introduce summation notation and its generalizations.

+ - \ No newline at end of file + diff --git a/src/XC1_stub.xml b/src/XC1_stub.xml index 2b2c921f7..0764a4c0e 100644 --- a/src/XC1_stub.xml +++ b/src/XC1_stub.xml @@ -4,14 +4,14 @@ Goals for Chapter 1

This is a stub for Part 2 of Applied Discrete Structures. To see the whole chapter, visit our web page at http://faculty.uml.edu/klevasseur/ADS2.

-

Many of the topics in this book are defined in terms of sets. It is essential to understand basic set theory and how it is use to define basic structures such as relation, functions, graphs and algebraic structures. We begin this chapter with some of the basic set language and notation that will be used throughout the text. We thne consider basic set operations. Venn diagrams will be introduced in order to give the reader a clear picture of these operations. In addition, we will review the binary representation of positive integers and introduce summation notation and its generalizations.

-
+

Many of the topics in this book are defined in terms of sets. It is essential to understand basic set theory and how it is use to define basic structures such as relation, functions, graphs and algebraic structures. We begin this chapter with some of the basic set language and notation that will be used throughout the text. We then consider basic set operations. Venn diagrams will be introduced in order to give the reader a clear picture of these operations. In addition, we will review the binary representation of positive integers and introduce summation notation and its generalizations.

+ Binary Conversion AlgorithmBinary Conversion Algorithm

An algorithm for determining the binary representation of a positive integer.

-

Input: a positive integer n.

-

Output: the binary representation of n in the form of a list of bits, with units bit last, twos bit next to last, etc.

+

Input: a positive integer n.

+

Output: the binary representation of n in the form of a list of bits, with units bit last, twos bit next to last, etc.

  1. k := n \qquad //initialize k

  2. L := { } \qquad //initialize L to an empty list

  3. @@ -26,4 +26,4 @@ - \ No newline at end of file +