Discrete Mathematics with Coding
- Length: 529 pages
- Edition: 1
- Language: English
- Publisher: Chapman and Hall/CRC
- Publication Date: 2023-08-21
- ISBN-10: 1032398523
- ISBN-13: 9781032398525
This book, for a first undergraduate course in Discrete Mathematics, systematically exploits the relationship between discrete mathematics and computer programming. Unlike most discrete mathematics texts focusing on one of the other, the book explores the rich and important connection between these two disciplines and shows how each discipline reinforces and enhances the other.
The mathematics in the book is self-contained, requiring only a good background in precalculus and some mathematical maturity. New mathematical topics are introduced as needed.
The coding language used is VBA Excel. The language is easy to learn, has intuitive commands, and the reader can develop interesting programs from the outset. Additionally, the spreadsheet platform in Excel makes for convenient and transparent data input and output and provides a powerful venue for complex data manipulation. Manipulating data is greatly simpliļ¬ed using spreadsheet features and visualizing the data can make programming and debugging easier.
The VBA language is seamlessly integrated into the spreadsheet environment with no other resources required. Furthermore, as some of the modules in the book show, intricate patterns, graphs, and animation in the form of moving cells is possible.
Features
- Introduces coding in VBA Excel assuming no previous coding experience.
- Develops programs in Linear Analysis, Logic, Combinatorics, Probability, and Number Theory.
- Contains over 90 fully tested and debugged programs. The code for these is as well as the exercises is available on the author’s website.
- Contains numerous examples that gradually introduce the reader to coding techniques.
- Includes programs that solve systems of linear equations, linear programming problems, combinatorial problems, Venn diagram problems and programs that produce truth tables from logic statements and logic statements from switching and gate circuits, encrypt and decrypt messages and simulate probability experiments.