1. Numbers in Everyday Life

1.1 Numbers

1.2 Adding and Subtracting

1.3 Multiplying

1.4 Dividing

1.5 Fractions

1.6 Reducing and expanding fractions

1.7 Adding and multiplying fractions

1.8 Fractions and decimal numbers

1.9 Percents

1.10 Percents (continued)

2. Solving Everyday Problems

2.1 Comparisons

2.2 Times more / % icmrease

2.3 Ratios

2.4 Rates

2.5 Rates (continued)

2.6 Unit conversion problems

2.7 Unit conversion problems (continued)

2.8 Unit conversion examples

3. Problem Solving with Shapes

3.1 Perimeter

3.2 Area

3.3 Volume

3.4 Estimating in 1, 2, and 3 dimensions

3.5 Angles

4. Basic Algebra

4.1 Equations with an unknown value

4.2 Solving for x

4.3 Creating equations with x

4.4 Solving for x mentally

4.5 Rate and comparison problems with x

5. Everyday Math Examples

5.1 Personal finance

5.2 Health

5.3 Utilities and phone

5.4 Electricity

5.5 Investing: Stocks and bonds

6. Tables, Graphs, and Functions

6.1 Introduction to functions

6.2 Function examples

6.3 Linear functions

6.4 Linear function examples

6.5 Graphing via slope and intercept

6.6 Piecewise linear functions

7. Spreadsheets

7.1 Tables and spreadsheets

7.2 Spreadsheets and formulas

7.3 Exploring with formulas

7.4 Spreadsheets and graphing

7.5 Bar charts

7.6 Spreadsheets and bar charts

7.7 Spreadsheets and pie charts

8. Logic and Sets

8.1 True/false statements

8.2 If-then statements

8.3 Logical deduction

8.4 If-then statements whose reverse is correct

8.5 Common logical deduction mistakes

8.6 Logic: AND/OR

8.7 AND/OR/NOT logic examples

8.8 Common applications of logic

8.9 Logical induction

8.10 Sets and Venn Diagrams

9. Statistics

9.1 Averages

9.2 Median

9.3 Spread

9.4 Estimates/Margins of error

9.5 Margin of Error Examples

9.6 Comparing averages of two subpopulations

10. Probability

10.1 Counting

10.2 Probability

10.3 Odds and percent chance

10.4 Adding and multiplying probabilities

10.5 Expected values

11. Recursion

11.1 Recursion: Introduction

11.2 Recursive functions

11.3 Recursive algorithm: Search

11.4 Adding output statements for debugging

11.5 Creating a recursive function

11.6 Recursive math functions

11.7 Recursive exploration of all possibilities

11.8 Stack overflow

11.9 C++ example: Recursively output permutations

12. Exceptions

12.1 Exception basics

12.2 Exceptions with functions

12.3 Multiple handlers

12.4 C++ example: Generate number format exception

13. Templates

13.1 Function templates

13.2 Class templates

13.3 C++ example: Map values using a function template

14. Containers

14.1 Range-based for loop

14.2 List

14.3 Pair

14.4 Map

14.5 Set

14.6 Queue

14.7 Deque

14.8 find() function

14.9 sort() function

15. Searching and Sorting Alg.

15.1 Searching and algorithms

15.2 Binary search

15.3 O notation

15.4 Algorithm analysis

15.5 Sorting: Introduction

15.6 Selection sort

15.7 Insertion sort

15.8 Quicksort

15.9 Merge sort

16. Additional Material

16.1 Do-while loops

16.2 Arrays

16.3 Iterating through arrays

16.4 Multiple arrays

16.5 Loop-modifying or copying/comparing arrays

16.6 Debugging example: Reversing an array

16.7 Engineering examples

16.8 Functions with array parameters

16.9 Functions with array parameters: Common errors

16.10 Engineering examples using functions

16.11 Grouping data: struct

16.12 Structs and functions

16.13 Structs and vectors

16.14 Structs, vectors, and functions: A seat reservation example

16.15 Command-line arguments

16.16 Command-line arguments and files

16.17 The #define directive

16.18 Modular compilation

16.19 Makefiles

16.20 Additional practice: Output art

16.21 Additional practice: Grade calculation

16.22 Additional practice: Tweet decoder

16.23 Additional practice: Dice statistics

16.24 zyBooks built-in programming window

## What You’ll Find In This zyBook:

### More action with less text.

- Teaches math people use in everyday life, using examples like personal finance, health, home maintenance, and cooking, relevant to everyone (not just engineers and scientists)
- Used an exceptionally straightforward friendly style that alleviates math anxiety
- Includes over 150 animations and 225 question sets
- Widely praised by students as helping them realize that some math can actually be useful to them, and that they can really do that math

## The zyBooks Approach

### Less text doesn’t mean less learning.

People use numbers and perform calculations in everyday life, often without realizing. But math education seems to assume that students will become engineers or mathematicians (most won’t), or that students enjoy doing math for math’s sake (most don’t). Instead, this material focuses on teaching the math concepts that people use in everyday life and showing application of those concepts to improve one’s life — making better decisions, saving more money, estimating more accurately, understanding media reports, and more.

## Author

**Frank Vahid**

*Professor of Computer Science and Engineering, **Univ. of California, Riverside*