Skip to content

Commit

Permalink
Merge pull request #56 from SageMathOER-CCC/pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Lubliner authored May 9, 2024
2 parents 7a70561 + 3cbaf17 commit 782baf7
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 49 deletions.
Binary file added Discrete-Math-with-SageMath.pdf
Binary file not shown.
5 changes: 1 addition & 4 deletions source/boolean-algebra/sec-boolean-algebra.ptx
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<section xml:id="sec-boolean-algebra" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Boolean Algebra</title>
<p>
Boolean algebra is the algebra of two-valued logic with only sentential connectives, or equivalently of algebras of sets under union and complementation.
</p>
<p>
A common structure analyzed in Boolean algebra is the lattice. Below, we show how to work with a divisor lattice, which is a specific type of lattice useful in various mathematical computations.
A Boolean algebra is a bounded lattice that is both complemented and distributive.
</p>
<aside>
<p>
Expand Down
2 changes: 1 addition & 1 deletion source/boolean-algebra/sec-boolean-functions.ptx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<section xml:id="sec-boolean-functions" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Boolean functions</title>
<p>
A Boolean function refers to a function having <m>n</m> number of entries or variables, so it has <m>2n</m> number of possible combinations of the given variables.
A Boolean function is a function that takes only values 0 or 1 and whose domain is the Cartesian product <m>{\{0, 1\}^n}</m>.
</p>
<p>
In SageMath, Boolean functions can be manipulated through various built-in functions designed for handling Boolean variables and expressions.
Expand Down
117 changes: 73 additions & 44 deletions source/frontmatter.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<!-- This frontmatter division will contain all content before the -->
<!-- first chapter. Fill in and comment/uncomment to see how this -->
<!-- works. -->

<frontmatter xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="frontmatter">
<titlepage>
<author>
Expand All @@ -17,69 +16,81 @@

<colophon>

<p>
<m>\textbf{PDF Download}:</m> This book is available for free download in PDF format by clicking

<url href="https://github.com/SageMathOER-CCC/sage-discrete-math/blob/main/Discrete-Math-with-SageMath.pdf">here</url>.
</p>

<website>
<url href="https://github.com/SageMathOER-CCC/sage-discrete-math">GitHub Repository</url>
</website>

<copyright>
<year>2020<ndash />2023</year>
<holder>Zunaid Ahmed, Hellen Colman, Samuel Lubliner</holder>
<shortlicense> This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit <url href="http://creativecommons.org/licenses/by-sa/4.0/" visual="creativecommons.org/licenses/by-sa/4.0"> CreativeCommons.org</url>
<shortlicense> This work is licensed under the Creative Commons Attribution-ShareAlike 4.0
International License. To view a copy of this license, visit <url
href="http://creativecommons.org/licenses/by-sa/4.0/"
visual="creativecommons.org/licenses/by-sa/4.0"> CreativeCommons.org</url>
</shortlicense>
</copyright>
</colophon>


<preface xml:id="authors">
<title>Authors</title>

<contributor xml:id="za">
<personname>Zunaid Ahmed</personname>
<department>Computer Engineering</department>
<institution>Truman College</institution>
<email>[email protected]</email>
</contributor>
<contributor xml:id="hc">
<personname>Hellen Colman</personname>
<department>Math Department</department>
<institution>Wright College</institution>
<email>[email protected]</email>
</contributor>

<contributor xml:id="sl">
<personname>Samuel Lubliner</personname>
<department>Computer Science</department>
<institution>Wright College</institution>
<email>[email protected]</email>
</contributor>

<contributors>
<contributor xml:id="za">
<personname>Zunaid Ahmed</personname>
<department>Computer Engineering</department>
<institution>Truman College</institution>
<email>[email protected]</email>
</contributor>

<contributor xml:id="hc">
<personname>Hellen Colman</personname>
<department>Math Department</department>
<institution>Wright College</institution>
<email>[email protected]</email>
</contributor>

<contributor xml:id="sl">
<personname>Samuel Lubliner</personname>
<department>Computer Science</department>
<institution>Wright College</institution>
<email>[email protected]</email>
</contributor>
</contributors>
</preface>

<acknowledgement>
<p permid="ewA">
We would like to acknowledge the following reviewers for their helpful comments and suggestions.

We would like to acknowledge the following peer-reviewers:
<ul permid="ODI">
<li permid="uKR">
<p permid="EeD">
A B, University of Sheffield
</p>
</li>

<li permid="XXu">
<p permid="hrg">
C D, University of Wisconsin
</p>
</li>
</ul>
</p>
<p permid="ewA">
We would like to acknowledge the following proof-readers for their helpful comments and suggestions.

<p permid="ewA">
We would like to acknowledge the following proof-readers:
<ul permid="ODI">
<li permid="uKR">
<p permid="EeD">
A B, University of Sheffield
</p>
</li>

<li permid="XXu">
<p permid="hrg">
C D, University of Wisconsin
Expand All @@ -89,33 +100,51 @@
</p>

<p permid="KDJ">
Testing sentence.
Special thanks to Ken Levasseur for guiding us sharing his considerable expertise in creating
open source textbooks.
</p>

<p>
Wright College librarian Tineka Scalzo provided valuable advice on publishing and copyright
issues.
</p>

<p>
We are very grateful to the many people who have worked to develop Sage and to the creators of
PreTeXt.
</p>
</acknowledgement>


<preface permid="Cpq">
<p >
This book was written by undergraduate students at Wright College who were enrolled in my Math 299 class, Writing in the Sciences. </p>
<p>
This book was written by undergraduate students at Wright College who were enrolled in my Math 299 class, Writing in the Sciences.
</p>

<p >For many years, I have been teaching Discrete Math using the open source mathematical software SageMath. Despite the fabulous capabilities of this software, students were often frustrated by the lack of specific documentation geared towards beginning undergrad students in Discrete Math.</p>
<p>
For many years, I have been teaching Discrete Math using the open source mathematical software SageMath. Despite the fabulous capabilities of this software, students were often frustrated by the lack of specific documentation geared towards beginning undergrad students in Discrete Math.
</p>

<p >
This book was born out of this frustration and the desire to make our own contribution to the Open Education movement from which we have benefitted greatly. In the context of Open Pedagogy, my students and I ventured into a challenging learning experience based on the principles of freedom and responsibility. Each week students wrote a chapter of this book. They found the topics and found their voice. We critically analyzed their writing and they edited, and edited again and again. They wrote code, tested it and polished it. In the process we all learned so much about Sage and we found some bugs in the software that are now in the process of being fixed thanks to its very active community of developers.</p>
<p>
This book was born out of this frustration and the desire to make our own contribution to the Open Education movement from which we have benefitted greatly. In the context of Open Pedagogy, my students and I ventured into a challenging learning experience based on the principles of freedom and responsibility. Each week students wrote a chapter of this book. They found the topics and found their voice. We critically analyzed their writing and they edited, and edited again and again. They wrote code, tested it and polished it. In the process we all learned so much about Sage and we found some bugs in the software that are now in the process of being fixed thanks to its very active community of developers.
</p>

<p > The result is the book that we dreamed to have had when we first attempt Discrete Math with Sage. </p>
<p>
The result is the book that we dreamed to have had when we first attempt Discrete Math with
Sage.
</p>

<p >Our book is intended to provide concise and complete instructions of how to use different Sage functions to solve problems in Discrete Math. Our goal is to streamline the learning process helping students focus more on mathematics and reducing the friction of learning how to code. Our textbook is interactive and designed for all math students, regardless of programming experience. Rooted in the open education philosophy, our textbook is, and always will be, free for all. </p>
<p>
Our book is intended to provide concise and complete instructions of how to use different Sage functions to solve problems in Discrete Math. Our goal is to streamline the learning process helping students focus more on mathematics and reducing the friction of learning how to code. Our textbook is interactive and designed for all math students, regardless of programming experience.
Rooted in the open education philosophy, our textbook is, and always will be, free for all.
</p>

<p >I am very proud of the work of my students and hope that this book will serve as inspiration for other students to take ownership of a commons-based education. Towards a future where higher education is equally accessible to all.
<p>
I am very proud of the work of my students and hope that this book will serve as inspiration for other students to take ownership of a commons-based education. Towards a future where higher education is equally accessible to all.
</p>
<p >
</p>
<attribution>
<line>Hellen Colman</line>
<line>Chicago, May 2024</line>
</attribution>
</preface>



</preface>
</frontmatter>

0 comments on commit 782baf7

Please sign in to comment.