Skip to content

An AI skill that turns books into animated, narrated, interactive web experiences

feat(math): add fraction basics chapter

yzree81393cb908
diff --git a/site/index.html b/site/index.html
index 47a1d24..48a2e29 100644
--- a/site/index.html
+++ b/site/index.html
@@ -23,8 +23,8 @@
<a class="book-hotspot algebra-book" data-book="elementary-algebra" href="elementary-algebra/" aria-label="Open Elementary Algebra, 68 narrated chapters">
<span class="book-caption"><strong>Elementary Algebra <span aria-hidden="true">↗</span></strong><small>68 narrated chapters</small></span>
</a>
- <a class="book-hotspot math-book" data-book="math-notebook" href="math-notebook/" aria-label="Open Elementary Mathematics, 5 narrated chapters">
- <span class="book-caption"><strong>Elementary Mathematics <span aria-hidden="true">↗</span></strong><small>5 narrated chapters</small></span>
+ <a class="book-hotspot math-book" data-book="math-notebook" href="math-notebook/" aria-label="Open Elementary Mathematics, 6 narrated chapters">
+ <span class="book-caption"><strong>Elementary Mathematics <span aria-hidden="true">↗</span></strong><small>6 narrated chapters</small></span>
</a>
<span class="physics-pending">Physics · Coming soon</span>
</section>
diff --git a/site/lib/bookshelf.js b/site/lib/bookshelf.js
index 70c5ca7..aaa8637 100644
--- a/site/lib/bookshelf.js
+++ b/site/lib/bookshelf.js
@@ -17,7 +17,7 @@
const books = [
{ id: 'elementary-algebra', key: 'progress', chapterBase: 'elementary-algebra/', chapters: 68 },
{ id: 'math-notebook', key: 'animebook:progress:' + new URL('math-notebook/', location.href).pathname,
- chapterBase: 'math-notebook/', chapters: 5 },
+ chapterBase: 'math-notebook/', chapters: 6 },
];
for (const book of books) {
const cover = document.querySelector(`[data-book="${book.id}"]`);
diff --git a/site/math-notebook/ch05/index.html b/site/math-notebook/ch05/index.html
index bb3ba2b..9d8f66c 100644
--- a/site/math-notebook/ch05/index.html
+++ b/site/math-notebook/ch05/index.html
@@ -13,7 +13,7 @@
<script src="audio/en/timings.js"></script>
<script>
'use strict';
-const CHAPTER = { number: 5, title: 'Multiples and Least Common Multiple', minutes: 10, language: 'en' };
+const CHAPTER = { number: 5, title: 'Multiples and Least Common Multiple', minutes: 10, language: 'en', next: '../ch06/' };
const MC_A=COL.whole,MC_B=COL.nat;
const mcText=(p,s,x,y,t=0,size=32,col=COL.chalk,anchor='start')=>{const e=T(p,s,{x,y,size,fill:col,anchor,o:0});show(e,t);return e;};
const mcMath=(p,s,x,y,t=0,size=44,col=COL.chalk,anchor='middle')=>{const e=M(p,[s],{x,y,size,fill:col,anchor,o:0});show(e,t);return e;};
diff --git a/site/math-notebook/ch06/audio/en/equal.mp3 b/site/math-notebook/ch06/audio/en/equal.mp3
new file mode 100644
index 0000000..41ea8b2
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/equal.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/final1.mp3 b/site/math-notebook/ch06/audio/en/final1.mp3
new file mode 100644
index 0000000..26d2591
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/final1.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/final2.mp3 b/site/math-notebook/ch06/audio/en/final2.mp3
new file mode 100644
index 0000000..afcdd47
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/final2.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/final3.mp3 b/site/math-notebook/ch06/audio/en/final3.mp3
new file mode 100644
index 0000000..6e273eb
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/final3.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/final4.mp3 b/site/math-notebook/ch06/audio/en/final4.mp3
new file mode 100644
index 0000000..cbea71d
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/final4.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/finish.mp3 b/site/math-notebook/ch06/audio/en/finish.mp3
new file mode 100644
index 0000000..3eacdc2
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/finish.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/improper.mp3 b/site/math-notebook/ch06/audio/en/improper.mp3
new file mode 100644
index 0000000..e4f2d3e
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/improper.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/intro.mp3 b/site/math-notebook/ch06/audio/en/intro.mp3
new file mode 100644
index 0000000..e6f5d83
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/intro.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/likeadd.mp3 b/site/math-notebook/ch06/audio/en/likeadd.mp3
new file mode 100644
index 0000000..ddf2b5b
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/likeadd.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/likesub.mp3 b/site/math-notebook/ch06/audio/en/likesub.mp3
new file mode 100644
index 0000000..f4a0615
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/likesub.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/mixed.mp3 b/site/math-notebook/ch06/audio/en/mixed.mp3
new file mode 100644
index 0000000..103853c
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/mixed.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/parts.mp3 b/site/math-notebook/ch06/audio/en/parts.mp3
new file mode 100644
index 0000000..62c4981
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/parts.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/q1.mp3 b/site/math-notebook/ch06/audio/en/q1.mp3
new file mode 100644
index 0000000..9ef6816
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/q1.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/q2.mp3 b/site/math-notebook/ch06/audio/en/q2.mp3
new file mode 100644
index 0000000..b6535eb
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/q2.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/q3.mp3 b/site/math-notebook/ch06/audio/en/q3.mp3
new file mode 100644
index 0000000..39119d3
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/q3.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/remainder.mp3 b/site/math-notebook/ch06/audio/en/remainder.mp3
new file mode 100644
index 0000000..ca4e5e4
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/remainder.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/rename.mp3 b/site/math-notebook/ch06/audio/en/rename.mp3
new file mode 100644
index 0000000..3d10756
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/rename.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/simplify.mp3 b/site/math-notebook/ch06/audio/en/simplify.mp3
new file mode 100644
index 0000000..1a38b98
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/simplify.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/timings.js b/site/math-notebook/ch06/audio/en/timings.js
new file mode 100644
index 0000000..04ccae7
--- /dev/null
+++ b/site/math-notebook/ch06/audio/en/timings.js
@@ -0,0 +1,785 @@
+window.TIMINGS = {
+ "intro": {
+ "dur": 14.52,
+ "marks": {
+ "sub": 7.331
+ },
+ "cues": [
+ [
+ 0.104,
+ "Chapter six."
+ ],
+ [
+ 1.484,
+ "Fraction basics."
+ ],
+ [
+ 2.969,
+ "Types of fractions, and adding and subtracting fractions."
+ ],
+ [
+ 7.331,
+ "A fraction tells us how many equal pieces of a whole we have."
+ ],
+ [
+ 11.992,
+ "Let us make the pieces do the explaining."
+ ]
+ ]
+ },
+ "parts": {
+ "dur": 29.592,
+ "marks": {
+ "split": 5.234,
+ "count": 10.898,
+ "names": 14.727
+ },
+ "cues": [
+ [
+ 0.117,
+ "Here is one whole strip."
+ ],
+ [
+ 2.266,
+ "The outline fixes the size of our whole."
+ ],
+ [
+ 5.234,
+ "Cut it into six equal pieces."
+ ],
+ [
+ 7.826,
+ "Each piece is one sixth of that same whole."
+ ],
+ [
+ 10.898,
+ "Shade four of them."
+ ],
+ [
+ 12.122,
+ "The shaded amount is four sixths."
+ ],
+ [
+ 14.727,
+ "Four, the numerator, counts the pieces we have."
+ ],
+ [
+ 18.503,
+ "Six, the denominator, counts the equal pieces in one whole."
+ ],
+ [
+ 23.177,
+ "The fraction bar separates those two counts."
+ ],
+ [
+ 26.263,
+ "It does not mean the denominator is the whole itself."
+ ]
+ ]
+ },
+ "equal": {
+ "dur": 28.824,
+ "marks": {
+ "uneven": 3.633,
+ "equal": 13.398,
+ "one": 19.883
+ },
+ "cues": [
+ [
+ 0.104,
+ "Counting pieces only works when the pieces are equal."
+ ],
+ [
+ 3.633,
+ "This strip has three pieces, but one piece is much wider than the others."
+ ],
+ [
+ 9.023,
+ "Coloring two of them does not automatically give two thirds."
+ ],
+ [
+ 13.398,
+ "Now compare a strip with equally spaced cuts."
+ ],
+ [
+ 16.484,
+ "Two equal pieces out of three give two thirds."
+ ],
+ [
+ 19.883,
+ "Always ask two questions: what is one whole, and are its pieces equal?"
+ ],
+ [
+ 24.701,
+ "We will keep the same whole size throughout each calculation."
+ ]
+ ]
+ },
+ "remainder": {
+ "dur": 36.432,
+ "marks": {
+ "share": 6.484,
+ "left": 12.435,
+ "fraction": 23.346
+ },
+ "cues": [
+ [
+ 0.143,
+ "Fractions also help describe what is left after sharing."
+ ],
+ [
+ 4.583,
+ "Here are eleven snack bars."
+ ],
+ [
+ 6.484,
+ "Give three snack bars to each of three friends."
+ ],
+ [
+ 9.492,
+ "Three times three uses nine snack bars."
+ ],
+ [
+ 12.435,
+ "Two snack bars remain."
+ ],
+ [
+ 14.089,
+ "Eleven divided by three is three, with remainder two."
+ ],
+ [
+ 18.372,
+ "A remainder is the quantity left over after making the complete groups."
+ ],
+ [
+ 23.346,
+ "If the two leftovers can be divided equally, each friend can receive another two thirds of a snack bar."
+ ],
+ [
+ 30.13,
+ "Whole bars alone leave a remainder; divisible pieces let us describe the full share."
+ ]
+ ]
+ },
+ "q1": {
+ "dur": 4.512,
+ "marks": {},
+ "cues": [
+ [
+ 0.104,
+ "Quick check."
+ ],
+ [
+ 1.133,
+ "Choose the picture that really shows two thirds."
+ ]
+ ]
+ },
+ "types": {
+ "dur": 32.448,
+ "marks": {
+ "proper": 3.815,
+ "improper": 11.784,
+ "mixed": 23.073
+ },
+ "cues": [
+ [
+ 0.13,
+ "For these examples, we are using positive fractions."
+ ],
+ [
+ 3.815,
+ "Three fourths is a proper fraction."
+ ],
+ [
+ 6.224,
+ "The numerator is smaller than the denominator, so the amount is less than one whole."
+ ],
+ [
+ 11.784,
+ "Five fourths is improper."
+ ],
+ [
+ 13.828,
+ "Its numerator is at least the denominator, so the amount is at least one whole."
+ ],
+ [
+ 18.789,
+ "Four fourths is improper too, even though it is exactly one."
+ ],
+ [
+ 23.073,
+ "One and one fourth is a mixed number: a whole number and a proper fractional part."
+ ],
+ [
+ 28.385,
+ "Five fourths and one and one fourth name the same amount."
+ ]
+ ]
+ },
+ "mixed": {
+ "dur": 31.896,
+ "marks": {
+ "split": 7.591,
+ "count": 10.521,
+ "rule": 18.841
+ },
+ "cues": [
+ [
+ 0.104,
+ "How many fourths are in two and one fourth?"
+ ],
+ [
+ 2.995,
+ "The picture already shows two whole strips and one extra quarter."
+ ],
+ [
+ 7.591,
+ "Split each whole into four quarters."
+ ],
+ [
+ 10.521,
+ "The two wholes supply eight quarters."
+ ],
+ [
+ 13.073,
+ "The extra quarter makes nine."
+ ],
+ [
+ 15.247,
+ "So two and one fourth equals nine fourths."
+ ],
+ [
+ 18.841,
+ "Multiply the whole-number count by the denominator, then add the numerator."
+ ],
+ [
+ 24.128,
+ "Keep the denominator."
+ ],
+ [
+ 25.612,
+ "This multiplication counts equal pieces; it does not change their size or the amount we have."
+ ]
+ ]
+ },
+ "improper": {
+ "dur": 34.992,
+ "marks": {
+ "groups": 7.708,
+ "left": 12.956,
+ "name": 19.297
+ },
+ "cues": [
+ [
+ 0.091,
+ "Let us go back from nine fourths to a mixed number."
+ ],
+ [
+ 3.034,
+ "Nine separate quarter tiles have the same total area as before."
+ ],
+ [
+ 7.708,
+ "Gather four quarters into a whole."
+ ],
+ [
+ 10.052,
+ "Gather another four into a second whole."
+ ],
+ [
+ 12.956,
+ "One quarter remains."
+ ],
+ [
+ 14.688,
+ "Dividing nine by four gives two whole groups, with remainder one."
+ ],
+ [
+ 19.297,
+ "The mixed number is two and one fourth."
+ ],
+ [
+ 22.122,
+ "The quotient counts whole strips."
+ ],
+ [
+ 24.401,
+ "The remainder becomes the new numerator, and the denominator stays four."
+ ],
+ [
+ 29.036,
+ "Either notation is a valid value; use the requested form when a problem specifies one."
+ ]
+ ]
+ },
+ "q2": {
+ "dur": 4.632,
+ "marks": {},
+ "cues": [
+ [
+ 0.091,
+ "Quick check."
+ ],
+ [
+ 1.133,
+ "Which picture is nine fourths, written as a mixed number?"
+ ]
+ ]
+ },
+ "simplify": {
+ "dur": 40.416,
+ "marks": {
+ "group": 7.031,
+ "both": 14.336,
+ "gcf": 26.797
+ },
+ "cues": [
+ [
+ 0.104,
+ "Can we describe the same shaded area with fewer, larger pieces?"
+ ],
+ [
+ 4.688,
+ "This strip shows nine twelfths."
+ ],
+ [
+ 7.031,
+ "Group every three neighboring twelfths together."
+ ],
+ [
+ 10.508,
+ "The whole now has four equal groups, and three groups are shaded."
+ ],
+ [
+ 14.336,
+ "Nine divided by three is three."
+ ],
+ [
+ 17.122,
+ "Twelve divided by three is four."
+ ],
+ [
+ 19.857,
+ "Nine twelfths equals three fourths."
+ ],
+ [
+ 22.734,
+ "Both counts change together, so the amount stays fixed."
+ ],
+ [
+ 26.797,
+ "Three is the greatest common factor of nine and twelve."
+ ],
+ [
+ 30.794,
+ "Dividing both by their greatest common factor produces lowest terms."
+ ],
+ [
+ 35.482,
+ "We are simplifying one fraction, not canceling unrelated numbers."
+ ]
+ ]
+ },
+ "likeadd": {
+ "dur": 34.008,
+ "marks": {
+ "move": 10.69,
+ "count": 14.323,
+ "denom": 22.826
+ },
+ "cues": [
+ [
+ 0.117,
+ "Here are two sevenths of one strip and three sevenths of an identical strip."
+ ],
+ [
+ 5.625,
+ "Our whole strips are the same size, and every small piece has the same area."
+ ],
+ [
+ 10.69,
+ "Move the colored pieces into a single result strip."
+ ],
+ [
+ 14.323,
+ "Two pieces plus three pieces make five pieces."
+ ],
+ [
+ 18.255,
+ "Two sevenths plus three sevenths equals five sevenths."
+ ],
+ [
+ 22.826,
+ "The denominator stays seven because seven equal pieces still make one whole."
+ ],
+ [
+ 28.372,
+ "We are counting sevenths, not inventing fourteenths by adding the denominators."
+ ]
+ ]
+ },
+ "likesub": {
+ "dur": 29.904,
+ "marks": {
+ "remove": 5.703,
+ "left": 8.724,
+ "denom": 16.263
+ },
+ "cues": [
+ [
+ 0.104,
+ "Subtraction removes pieces of the same size."
+ ],
+ [
+ 3.19,
+ "Start with six sevenths of a strip."
+ ],
+ [
+ 5.703,
+ "Remove two seventh-sized pieces."
+ ],
+ [
+ 8.724,
+ "Four seventh-sized pieces remain, so six sevenths minus two sevenths equals four sevenths."
+ ],
+ [
+ 16.263,
+ "The denominator stays seven."
+ ],
+ [
+ 18.633,
+ "It tells us the size of the pieces, and removing some pieces does not change that size."
+ ],
+ [
+ 24.297,
+ "Simplify the result when numerator and denominator share a common factor."
+ ]
+ ]
+ },
+ "unlike": {
+ "dur": 31.68,
+ "marks": {
+ "sizes": 8.997,
+ "mistake": 14.753,
+ "common": 25.312
+ },
+ "cues": [
+ [
+ 0.104,
+ "What changes when the denominators are different?"
+ ],
+ [
+ 2.695,
+ "One half and one third refer to the same size whole, but the pieces have different sizes."
+ ],
+ [
+ 8.997,
+ "A half is wider than a third."
+ ],
+ [
+ 11.146,
+ "We cannot count these as if they were identical pieces."
+ ],
+ [
+ 14.753,
+ "Adding the top and bottom numbers would give two fifths."
+ ],
+ [
+ 18.229,
+ "That is smaller than the half we started with, even though we added a positive amount."
+ ],
+ [
+ 23.151,
+ "The picture exposes the mistake."
+ ],
+ [
+ 25.312,
+ "Instead, choose a common piece size and rename both fractions without changing their amounts."
+ ]
+ ]
+ },
+ "rename": {
+ "dur": 39.84,
+ "marks": {
+ "split": 7.201,
+ "half": 18.008,
+ "third": 23.294,
+ "why": 28.424
+ },
+ "cues": [
+ [
+ 0.091,
+ "We need a denominator that both two and three can reach."
+ ],
+ [
+ 4.427,
+ "Their least common multiple is six."
+ ],
+ [
+ 7.201,
+ "Subdivide each half into three equal pieces, and each third into two equal pieces."
+ ],
+ [
+ 14.128,
+ "Every new small piece is one sixth of the same whole."
+ ],
+ [
+ 18.008,
+ "One half is three sixths: multiply both its counts by three."
+ ],
+ [
+ 23.294,
+ "One third is two sixths: multiply both its counts by two."
+ ],
+ [
+ 28.424,
+ "The colored areas have not changed at all."
+ ],
+ [
+ 30.99,
+ "More, smaller pieces describe the same amount."
+ ],
+ [
+ 34.232,
+ "Multiplying just the denominator would change the value, so rename both counts together."
+ ]
+ ]
+ },
+ "unlikeadd": {
+ "dur": 29.88,
+ "marks": {
+ "move": 3.555,
+ "answer": 8.828,
+ "lcm": 13.841
+ },
+ "cues": [
+ [
+ 0.104,
+ "Now both fractions count sixth-sized pieces."
+ ],
+ [
+ 3.555,
+ "Move the three blue sixths and the two coral sixths into the result strip."
+ ],
+ [
+ 8.828,
+ "Five sixths are filled."
+ ],
+ [
+ 10.417,
+ "One half plus one third equals five sixths."
+ ],
+ [
+ 13.841,
+ "The least common multiple supplied a convenient common denominator."
+ ],
+ [
+ 18.49,
+ "Any common denominator can work, but the least one keeps the counts smaller."
+ ],
+ [
+ 23.529,
+ "Rename, combine the numerators, keep the common denominator, then simplify if possible."
+ ]
+ ]
+ },
+ "q3": {
+ "dur": 4.68,
+ "marks": {},
+ "cues": [
+ [
+ 0.104,
+ "Quick check."
+ ],
+ [
+ 1.133,
+ "Choose the result picture for one half plus one third."
+ ]
+ ]
+ },
+ "unlikesub": {
+ "dur": 38.4,
+ "marks": {
+ "lcm": 6.133,
+ "rename": 10.065,
+ "remove": 21.107,
+ "answer": 25.443
+ },
+ "cues": [
+ [
+ 0.091,
+ "Use the same plan for subtraction."
+ ],
+ [
+ 2.669,
+ "We have three fourths and want to remove one sixth."
+ ],
+ [
+ 6.133,
+ "The least common multiple of four and six is twelve."
+ ],
+ [
+ 10.065,
+ "Split the fourths into three pieces each, and the sixths into two pieces each."
+ ],
+ [
+ 16.055,
+ "Three fourths becomes nine twelfths."
+ ],
+ [
+ 18.62,
+ "One sixth becomes two twelfths."
+ ],
+ [
+ 21.107,
+ "Remove two twelfth-sized pieces from the nine filled pieces."
+ ],
+ [
+ 25.443,
+ "Seven twelfths remain."
+ ],
+ [
+ 27.148,
+ "Seven and twelve have no common factor greater than one, so the answer is already in lowest terms."
+ ],
+ [
+ 33.88,
+ "The original whole size stayed fixed through every cut and every move."
+ ]
+ ]
+ },
+ "wrap": {
+ "dur": 31.296,
+ "marks": {
+ "w1": 1.758,
+ "w2": 9.284,
+ "w3": 16.576,
+ "w4": 21.12
+ },
+ "cues": [
+ [
+ 0.156,
+ "Four ideas to keep."
+ ],
+ [
+ 1.758,
+ "A denominator counts equal pieces in one whole."
+ ],
+ [
+ 5.508,
+ "The numerator counts how many of those pieces we have."
+ ],
+ [
+ 9.284,
+ "Proper, improper, and mixed describe fraction size or notation."
+ ],
+ [
+ 14.427,
+ "Conversions keep the same amount."
+ ],
+ [
+ 16.576,
+ "Simplify by dividing both counts by their greatest common factor."
+ ],
+ [
+ 21.12,
+ "For addition and subtraction, first match the piece size."
+ ],
+ [
+ 25.573,
+ "Rename using a common denominator, combine or remove pieces, then simplify."
+ ]
+ ]
+ },
+ "final1": {
+ "dur": 4.464,
+ "marks": {},
+ "cues": [
+ [
+ 0.104,
+ "Chapter practice, one of four."
+ ],
+ [
+ 2.461,
+ "Classify these examples."
+ ]
+ ]
+ },
+ "final2": {
+ "dur": 7.584,
+ "marks": {},
+ "cues": [
+ [
+ 0.104,
+ "Chapter practice, two of four."
+ ],
+ [
+ 2.487,
+ "Convert, simplify, and find a remainder."
+ ],
+ [
+ 5.977,
+ "Follow the form requested."
+ ]
+ ]
+ },
+ "final3": {
+ "dur": 8.808,
+ "marks": {},
+ "cues": [
+ [
+ 0.104,
+ "Chapter practice, three of four."
+ ],
+ [
+ 2.526,
+ "Add and subtract."
+ ],
+ [
+ 4.102,
+ "Give fractions in lowest terms."
+ ],
+ [
+ 6.628,
+ "Equivalent mixed numbers are welcome."
+ ]
+ ]
+ },
+ "final4": {
+ "dur": 6.984,
+ "marks": {},
+ "cues": [
+ [
+ 0.117,
+ "Chapter practice, four of four."
+ ],
+ [
+ 2.5,
+ "Use fractions in two new stories."
+ ],
+ [
+ 5.156,
+ "Keep the unit whole fixed."
+ ]
+ ]
+ },
+ "finish": {
+ "dur": 10.776,
+ "marks": {},
+ "cues": [
+ [
+ 0.104,
+ "Chapter complete."
+ ],
+ [
+ 1.354,
+ "Equal pieces make fraction arithmetic understandable."
+ ],
+ [
+ 5.156,
+ "You can now rename fractions, combine them, and check that the picture agrees with the numbers."
+ ]
+ ]
+ }
+};
diff --git a/site/math-notebook/ch06/audio/en/types.mp3 b/site/math-notebook/ch06/audio/en/types.mp3
new file mode 100644
index 0000000..f2ac412
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/types.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/unlike.mp3 b/site/math-notebook/ch06/audio/en/unlike.mp3
new file mode 100644
index 0000000..0702ec6
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/unlike.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/unlikeadd.mp3 b/site/math-notebook/ch06/audio/en/unlikeadd.mp3
new file mode 100644
index 0000000..b7667dc
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/unlikeadd.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/unlikesub.mp3 b/site/math-notebook/ch06/audio/en/unlikesub.mp3
new file mode 100644
index 0000000..016c83f
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/unlikesub.mp3 differ
diff --git a/site/math-notebook/ch06/audio/en/wrap.mp3 b/site/math-notebook/ch06/audio/en/wrap.mp3
new file mode 100644
index 0000000..0cd921d
Binary files /dev/null and b/site/math-notebook/ch06/audio/en/wrap.mp3 differ
diff --git a/site/math-notebook/ch06/index.html b/site/math-notebook/ch06/index.html
new file mode 100644
index 0000000..6a30ac6
--- /dev/null
+++ b/site/math-notebook/ch06/index.html
@@ -0,0 +1,73 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
+<title>Fraction Basics — Elementary Mathematics</title>
+<link rel="stylesheet" href="../lib/engine.css"><link rel="expect" href="#bar" blocking="render">
+<style>.screen .blanks .line{gap:14px}.screen input.box{min-width:110px}</style>
+</head><body>
+<script src="../lib/engine.js"></script><script src="audio/en/timings.js"></script><script>
+'use strict';
+const CHAPTER = { number: 6, title: 'Fraction Basics: Types of Fractions and Adding and Subtracting Fractions', minutes: 13, language: 'en' };
+const FB_A=COL.whole,FB_B=COL.nat;
+const fbText=(p,s,x,y,t=0,size=32,col=COL.chalk,anchor='start')=>{const e=T(p,s,{x,y,size,fill:col,anchor,o:0});show(e,t);return e;};
+const fbMath=(p,s,x,y,t=0,size=48,col=COL.chalk,anchor='middle')=>{const e=M(p,Array.isArray(s)?s:[s],{x,y,size,fill:col,anchor,o:0});show(e,t);return e;};
+function fbTitle(p,s,sub=''){fbText(p,s,100,118,.1,43);if(sub)fbText(p,sub,100,171,.2,27,COL.dim);}
+// A fixed outline is ONE whole. Its colored cells have exact widths w/d.
+function fbBar(p,x,y,w,d,n,col=FB_A,t=.2,h=90,{cuts=true,uneven=null}={}){
+ const g=G(p,{x,y,o:0}),filled=[],lines=[];mk('rect',{x:0,y:0,width:w,height:h,fill:COL.faint,'fill-opacity':.14},g);
+ const edges=uneven||Array.from({length:d+1},(_,i)=>i*w/d);
+ for(let i=0;i<n;i++){const e=G(g,{x:edges[i],y:0});mk('rect',{width:edges[i+1]-edges[i],height:h,fill:col,'fill-opacity':.65},e);filled.push(e);}
+ for(let i=1;i<d;i++){const e=path(g,`M${edges[i]} 0V${h}`,{stroke:COL.chalk,'stroke-width':2});if(!cuts){put(e,{o:0});}lines.push(e);}
+ mk('rect',{x:0,y:0,width:w,height:h,fill:'none',stroke:COL.chalk,'stroke-width':3},g);show(g,t);return {g,filled,lines,x,y,w,d,h};
+}
+function fbCuts(b,d,t,col=COL.task){for(let i=1;i<d;i++)draw(path(b.g,`M${i*b.w/d} 0V${b.h}`,{stroke:col,'stroke-width':2,'stroke-dasharray':'6 5'},{d:0}),t+i*.025,.7);}
+function fbPieces(p,n,d,x,y,w,col,t=.2,h=90){return Array.from({length:n},(_,i)=>{const e=G(p,{x:x+i*w/d,y,o:0});mk('rect',{width:w/d,height:h,fill:col,'fill-opacity':.7,stroke:COL.chalk,'stroke-width':2},e);show(e,t+i*.05);return e;});}
+function fbMove(es,x,y,w,d,t,offset=0){es.forEach((e,i)=>tw(e,{x:x+(i+offset)*w/d,y},t+i*.06,1.2,io));}
+function fbMixed(p,x,y,whole,n,d,w=270,t=.2){const g=G(p);for(let i=0;i<3;i++){const count=i<whole?d:i===whole?n:0;fbBar(g,x,y+i*105,w,d,count,FB_A,t,72);}return g;}
+function fbCandidates(p,data,y=305){return data.map((v,i)=>{const x=155+i*470,g=G(p);fbBar(g,x,y,350,v.d,v.n,FB_A,.2,110,{uneven:v.uneven});fbText(g,v.label,x+175,y+175,.3,35,COL.chalk,'middle');return {el:g,box:[x-15,y-15,380,215],label:v.label};});}
+const BEATS=[
+['intro','Fraction basics',(m,D)=>{const g=G(scene,{o:0,y:24});T(g,'Unit 1 · The Number System · Chapter 6',{x:800,y:235,size:28,fill:COL.dim,anchor:'middle'});T(g,'Fraction Basics',{x:800,y:345,size:82,weight:600,anchor:'middle'});T(g,'Types · Adding · Subtracting',{x:800,y:435,size:49,anchor:'middle'});tw(g,{o:1,y:0},.2,1,out);const b=fbBar(g,560,490,480,3,2,FB_A,.5,90,{cuts:false});b.lines.forEach(e=>show(e,m('sub')));const s=fbText(scene,'Make the equal pieces explain the numbers.',800,720,m('sub'),34,COL.dim,'middle');hide(g,D-.8,.7);hide(s,D-.8,.7);}],
+['parts','Pieces of ONE whole',m=>{const p=panel(0);fbTitle(p,'Count equal pieces of one whole','The outline always means one whole strip.');const b=fbBar(p,200,300,840,6,0,FB_A,.2,140,{cuts:false});b.lines.forEach(e=>show(e,m('split')));const color=fbPieces(p,4,6,200,300,840,FB_A,m('count'),140);fbText(p,'one whole → 6 equal pieces',620,520,m('split'),34,COL.dim,'middle');fbMath(p,[F('4','6')],1210,375,m('count'),85,FB_A);fbText(p,'4 = numerator',1100,515,m('names'),32,FB_A);fbText(p,'pieces we have',1100,557,m('names',1),28,COL.dim);fbText(p,'6 = denominator',1100,645,m('names',2),32,COL.task);fbText(p,'equal pieces in ONE whole',1100,687,m('names',3),25,COL.dim);fbText(p,'The unit whole and the equal piece size matter.',800,810,m('names',6),32,COL.dim,'middle');}],
+['equal','Equal pieces matter',m=>{const p=panel(0);fbTitle(p,'Three pieces does not always mean thirds');const a=fbBar(p,250,270,900,3,2,FB_A,.2,120,{uneven:[0,150,300,900]});fbText(p,'Unequal pieces: do not count these as thirds',700,445,m('uneven'),32,COL.task,'middle');const b=fbBar(p,250,540,900,3,2,FB_A,m('equal'),120);fbMath(p,[F('2','3')],1300,610,m('equal'),65,FB_A);fbText(p,'Equal pieces → two thirds',700,720,m('equal',1),34,FB_A,'middle');fbText(p,'One whole? Equal pieces?',800,815,m('one'),37,COL.task,'middle');}],
+['remainder','What is left over?',m=>{const p=panel(0);fbTitle(p,'Share 11 snack bars among 3 friends','First share whole bars equally.');const es=Array.from({length:11},(_,i)=>{const e=G(p,{x:260+i*95,y:300,o:0});mk('rect',{x:-27,y:-18,width:54,height:36,rx:4,fill:FB_A},e);show(e,.2+i*.04);return e;});for(let j=0;j<3;j++){const x=350+j*420;fbText(p,['Ana','Bo','Cai'][j],x,545,m('share'),33,COL.dim,'middle');draw(path(p,`M${x-150} 365h300v130h-300Z`,{stroke:COL.dim,'stroke-width':2},{d:0}),m('share'),.5);for(let i=0;i<3;i++)tw(es[j*3+i],{x:x+(i-1)*75,y:420},m('share')+j*.2,1.2);}[9,10].forEach((i,k)=>tw(es[i],{x:710+k*100,y:650},m('left'),1));const rlab=fbText(p,'2 left over = remainder 2',800,740,m('left',1),35,COL.task,'middle');hide(rlab,m('fraction'),.5);fbMath(p,'11 ÷ 3 = 3 R 2',900,815,m('left',2),40);fbText(p,'Whole bars only:',390,815,m('left',2),27,COL.dim);[9,10].forEach((idx,k)=>{[-9,9].forEach(xx=>draw(path(es[idx],`M${xx} -18V18`,{stroke:COL.chalk,'stroke-width':2},{d:0}),m('fraction'),.7));hide(es[idx],m('fraction',1.2),.1);for(let j=0;j<3;j++){const e=G(p,{x:710+k*100-27+j*18,y:632,o:0});mk('rect',{width:18,height:36,fill:FB_A,stroke:COL.chalk,'stroke-width':1.5},e);show(e,m('fraction',1.2));tw(e,{x:350+j*420-18+k*18,y:456},m('fraction',1.5),1.3,io);}});fbText(p,'Split both leftover bars into thirds.',800,230,m('fraction'),30,COL.dim,'middle');fbMath(p,['Each share: 3 + ',F('2','3'),' snack bars'],800,665,m('fraction',3),37,FB_A);}],
+['q1','Quick check',()=>{const p=panel(0);fbTitle(p,'Which picture really shows two thirds?','Each outline is one whole strip.');S.fbEq=fbCandidates(p,[{d:3,n:2,uneven:[0,70,140,350],label:'A · unequal pieces'},{d:3,n:2,label:'B · equal thirds'},{d:3,n:1,label:'C · equal thirds'}]);},{ask:done=>quiz(BAND,[{id:'c-equal',prompt:'Choose the picture with TWO of THREE equal pieces filled.',build:pickEls(S.fbEq,1,'B shows two equal thirds. The denominator counts three equal pieces in ONE whole.',i=>i===0?'A has unequal pieces. Counting two of them does not make two thirds.':'C has only one of its three equal pieces filled.',()=>pulseFx(S.fbEq[1].el,1.08))}],done)}],
+['types','Three ways to describe fractions',m=>{const p=panel(0);fbTitle(p,'Positive examples: compare with one whole');const xs=[160,650,1140];fbBar(p,xs[0],260,300,4,3,FB_A,.2);fbBar(p,xs[1],260,300,4,4,FB_A,.2);fbBar(p,xs[1],370,300,4,1,FB_A,m('improper'));fbBar(p,xs[2],260,300,4,4,FB_A,.2);fbBar(p,xs[2],370,300,4,1,FB_A,m('mixed'));[['proper','Proper',[F('3','4')],'3 < 4 → less than 1'],['improper','Improper',[F('5','4')],'5 ≥ 4 → at least 1'],['mixed','Mixed',['1 ',F('1','4')],'whole + proper part']].forEach(([k,s,v,n],i)=>{fbText(p,s,xs[i]+150,535,m(k),37,COL.task,'middle');fbMath(p,v,xs[i]+150,625,m(k),57);fbText(p,n,xs[i]+150,715,m(k,1),28,COL.dim,'middle');});fbText(p,'Signs do not change type: compare magnitudes (absolute values).',800,810,m('mixed',3),27,COL.dim,'middle');}],
+['mixed','Mixed → improper',m=>{const p=panel(0);fbTitle(p,'Two and one fourth: count all the quarters');[200,660].forEach(x=>{const b=fbBar(p,x,320,360,4,4,FB_A,.2,120,{cuts:false});b.lines.forEach(e=>show(e,m('split')));});fbBar(p,1120,320,360,4,1,FB_A,.2,120);fbText(p,'4 quarters',380,520,m('count'),33,FB_A,'middle');fbText(p,'4 quarters',840,520,m('count',1),33,FB_A,'middle');fbText(p,'1 quarter',1300,520,m('count',2),33,FB_A,'middle');fbMath(p,['2 ',F('1','4'),' = ',F('2 × 4 + 1','4'),' = ',F('9','4')],800,660,m('count',3),60);fbText(p,'Whole count × denominator + numerator',800,780,m('rule'),35,COL.task,'middle');fbText(p,'Keep the denominator: the pieces are still quarters.',800,835,m('rule',3),28,COL.dim,'middle');}],
+['improper','Improper → mixed',m=>{const p=panel(0);fbTitle(p,'Nine quarters regroup into whole strips');const w=360,es=fbPieces(p,9,4,250,265,360,FB_A,.2,100);[200,660,1120].forEach(x=>fbBar(p,x,460,w,4,0,FB_A,.2,100));es.slice(0,4).forEach((e,i)=>tw(e,{x:200+i*90,y:460},m('groups'),1.2,io));es.slice(4,8).forEach((e,i)=>tw(e,{x:660+i*90,y:460},m('groups',2),1.2,io));tw(es[8],{x:1120,y:460},m('left'),1.2,io);fbMath(p,'9 ÷ 4 = 2 R 1',800,660,m('left',1),48);fbMath(p,[F('9','4'),' = 2 ',F('1','4')],800,760,m('name'),58,FB_A);fbText(p,'Both forms are correct. Follow a requested form.',800,840,m('name',5),30,COL.dim,'middle');}],
+['q2','Quick check',()=>{const p=panel(0);fbTitle(p,'Which mixed-number picture equals nine fourths?','All outlines represent the same size whole.');S.fbMixed=[[2,1],[1,3],[2,3]].map(([a,b],i)=>{const x=185+i*470,g=fbMixed(p,x,260,a,b,4);fbMath(g,[String(a)+' ',F(String(b),'4')],x+135,640,.3,52);return {el:g,box:[x-15,240,300,455],label:`${a} and ${b} fourths`};});},{ask:done=>quiz(BAND,[{id:'c-mixed',prompt:['Choose the area matching ',$m(F('9','4')),'.'],build:pickEls(S.fbMixed,0,'Two wholes use eight quarters; one more quarter makes nine fourths.',i=>i===1?'One whole and three quarters is seven fourths. Count every filled quarter.':'Two wholes and three quarters is eleven fourths, not nine.',()=>pulseFx(S.fbMixed[0].el,1.04))}],done)}],
+['simplify','Same amount, fewer pieces',m=>{const p=panel(0);fbTitle(p,'Simplify by grouping equal pieces','The colored area stays exactly the same.');const b=fbBar(p,200,310,1080,12,9,FB_A,.2,150);b.lines.forEach((e,i)=>{if((i+1)%3!==0)hide(e,m('group'),1);else tw(e,{'a_stroke-width':5},m('group'),1);});fbMath(p,[F('9','12'),' = ',F('9 ÷ 3','12 ÷ 3'),' = ',F('3','4')],800,620,m('both'),60);fbText(p,'GCF(9, 12) = 3',800,745,m('gcf'),38,COL.task,'middle');fbText(p,'Divide BOTH counts by the same common factor.',800,820,m('gcf',2),30,COL.dim,'middle');}],
+['likeadd','Add same-size pieces',m=>{const p=panel(0);fbTitle(p,'Two sevenths + three sevenths','The two source wholes and the result whole have identical sizes.');const w=840,x=250;fbBar(p,x,235,w,7,0,FB_A,.2,85);fbBar(p,x,380,w,7,0,FB_A,.2,85);fbBar(p,x,590,w,7,0,FB_A,.2,85);const a=fbPieces(p,2,7,x,235,w,FB_A),b=fbPieces(p,3,7,x,380,w,FB_B);const la=fbMath(p,[F('2','7')],1260,292,.2,52,FB_A),lb=fbMath(p,[F('3','7')],1260,438,.2,52,FB_B);hide(la,m('move',1),.4);hide(lb,m('move',2.3),.4);fbMove(a,x,590,w,7,m('move'));fbMove(b,x,590,w,7,m('move',1.3),2);fbMath(p,[F('2','7'),' + ',F('3','7'),' = ',F('5','7')],800,770,m('count'),54);fbText(p,'Keep 7: each piece is still one seventh.',800,840,m('denom'),29,COL.task,'middle');}],
+['likesub','Subtract same-size pieces',m=>{const p=panel(0);fbTitle(p,'Six sevenths − two sevenths');const w=1050,x=200;fbBar(p,x,330,w,7,0,FB_A,.2,140);const es=fbPieces(p,6,7,x,330,w,FB_A,.2,140);es.slice(4).forEach((e,i)=>{tw(e,{y:555,x:900+i*160},m('remove'),1.2,io);hide(e,m('remove',2),.8);});fbMath(p,[F('6','7'),' − ',F('2','7'),' = ',F('4','7')],800,670,m('left'),64);fbText(p,'Remove pieces. Keep their size.',800,785,m('denom'),37,COL.task,'middle');}],
+['unlike','Different piece sizes',m=>{const p=panel(0);fbTitle(p,'One half + one third','One whole strip has the same width in both rows.');fbBar(p,200,280,840,2,1,FB_A,.2,120);fbBar(p,200,480,840,3,1,FB_B,.2,120);fbMath(p,[F('1','2')],1190,350,.2,65,FB_A);fbMath(p,[F('1','3')],1190,555,.2,65,FB_B);fbText(p,'Different denominators → different piece sizes',800,690,m('sizes'),32,COL.task,'middle');const wrong=fbMath(p,[F('1+1','2+3'),' = ',F('2','5')],800,790,m('mistake'),52,COL.dim);draw(path(p,'M600 755L1000 812',{stroke:COL.bad,'stroke-width':4},{d:0}),m('mistake',1),.4);fbText(p,'Rename both with a common piece size.',800,850,m('common'),29,COL.task,'middle');}],
+['rename','Rename without changing area',m=>{const p=panel(0);fbTitle(p,'LCM(2, 3) = 6 → sixth-sized pieces','The outline and colored areas stay fixed.');const a=fbBar(p,200,290,700,2,1,FB_A,.2,120),b=fbBar(p,200,520,700,3,1,FB_B,.2,120);fbCuts(a,6,m('split'));fbCuts(b,6,m('split'));fbMath(p,[F('1','2'),' = ',F('1 × 3','2 × 3'),' = ',F('3','6')],1195,385,m('half'),42,FB_A);fbMath(p,[F('1','3'),' = ',F('1 × 2','3 × 2'),' = ',F('2','6')],1195,610,m('third'),42,FB_B);fbText(p,'Same area. More, smaller pieces.',800,765,m('why'),38,COL.task,'middle');fbText(p,'Multiply numerator AND denominator by the same factor.',800,830,m('why',2),29,COL.dim,'middle');}],
+['unlikeadd','Now combine the sixths',m=>{const p=panel(0);fbTitle(p,'Matching pieces can be counted together');const w=840,x=250;[235,380,590].forEach(y=>fbBar(p,x,y,w,6,0,FB_A,.2,85));const a=fbPieces(p,3,6,x,235,w,FB_A),b=fbPieces(p,2,6,x,380,w,FB_B);const la=fbMath(p,[F('3','6')],1260,295,.2,52,FB_A),lb=fbMath(p,[F('2','6')],1260,440,.2,52,FB_B);hide(la,m('move',1),.4);hide(lb,m('move',2.3),.4);fbMove(a,x,590,w,6,m('move'));fbMove(b,x,590,w,6,m('move',1.3),3);fbMath(p,[F('1','2'),' + ',F('1','3'),' = ',F('3','6'),' + ',F('2','6'),' = ',F('5','6')],800,780,m('answer'),49);fbText(p,'LCM keeps the common denominator as small as possible.',800,844,m('lcm'),28,COL.dim,'middle');}],
+['q3','Quick check',()=>{const p=panel(0);fbTitle(p,'Choose the area for one half + one third','Same whole size. Rename both amounts as sixths.');S.fbSum=fbCandidates(p,[{d:6,n:3,label:'A · three sixths'},{d:6,n:5,label:'B · five sixths'},{d:5,n:2,label:'C · two fifths'}]);},{ask:done=>quiz(BAND,[{id:'c-sum',prompt:'Which result combines THREE sixths with TWO sixths?',build:pickEls(S.fbSum,1,'B: three sixths plus two sixths fills five sixths of one whole.',i=>i===0?'A only shows the original half. The two sixths from one third must be added too.':'C adds denominators and changes the piece size. Two fifths is even smaller than one half.',()=>pulseFx(S.fbSum[1].el,1.08))}],done)}],
+['unlikesub','Rename, then remove',m=>{const p=panel(0);fbTitle(p,'Three fourths − one sixth');const x=200,w=1050,a=fbBar(p,x,260,w,4,3,FB_A,.2,105),b=fbBar(p,x,475,w,6,1,FB_B,.2,105);fbText(p,'LCM(4, 6) = 12',800,220,m('lcm'),33,COL.task,'middle');fbCuts(a,12,m('rename'));fbCuts(b,12,m('rename'));const before=fbMath(p,[F('3','4'),' = ',F('9','12')],1360,330,m('rename'),45,FB_A);hide(before,m('remove',1),.4);fbMath(p,[F('7','12')],1360,330,m('answer'),48,FB_A);fbMath(p,[F('1','6'),' = ',F('2','12')],1360,545,m('rename',2),45,FB_B);a.filled.forEach(e=>hide(e,m('rename'),.1));const es=fbPieces(p,9,12,x,260,w,FB_A,m('rename'),105);es.slice(7).forEach(e=>{tw(e,{y:390},m('remove'),1.1,io);hide(e,m('remove',1.5),.8);});fbMath(p,[F('9','12'),' − ',F('2','12'),' = ',F('7','12')],800,720,m('answer'),59);fbText(p,'Seven twelfths remain. Already in lowest terms.',800,815,m('answer',2),31,COL.task,'middle');}],
+['wrap','Summary',m=>{const p=panel(0);[['Count equal pieces of ONE whole.','w1'],['Convert the notation. Preserve the amount.','w2'],['Simplify: divide both counts by their GCF.','w3'],['Match piece sizes, then add or subtract.','w4']].forEach(([s,k],i)=>{const g=G(p,{x:-16,y:260+i*140,o:0});mk('circle',{cx:155,cy:-12,r:26,fill:COL.task},g);T(g,String(i+1),{x:155,y:-1,size:30,fill:COL.board,anchor:'middle',weight:700});T(g,s,{x:215,size:37,weight:600});tw(g,{x:0,o:1},m(k),.6);});}],
+['final1','Chapter practice',()=>panel(0),{ask:done=>quiz(SCREEN,[
+{id:'p-proper',prompt:['Classify ',$m(F('7','10')),'.'],build:choice(['Proper fraction','Improper fraction','Mixed number'],0,'7 is smaller than 10; seven tenths is less than one whole.',['','Improper fractions have numerator magnitude at least the denominator.','This is one fraction, with no separate whole-number part.'])},
+{id:'p-improper',prompt:['Classify ',$m(F('12','7')),'.'],build:choice(['Proper fraction','Improper fraction','Mixed number'],1,'12 is greater than 7, so twelve sevenths is improper.',['12 is not smaller than 7.','','A mixed number writes a whole number and a proper fractional part.'])},
+{id:'p-mixed',prompt:['Classify ',$m('3 ',F('2','5')),'.'],build:choice(['Proper fraction','Improper fraction','Mixed number'],2,'This notation combines three wholes with two fifths.',['The complete written number has a whole part.','An improper fraction is written as a single fraction.',''])},
+{id:'p-sign',prompt:['Classify ',$m('−',F('13','8')),'. Compare magnitudes; the sign does not change the type.'],build:choice(['Proper fraction','Improper fraction','Mixed number'],1,'The numerator magnitude is 13 and the denominator is 8: this is improper.',['Compare absolute values: 13 is greater than 8.','','There is no separate whole-number part in this notation.'])}
+],done,'Chapter practice 1 of 4')}],
+['final2','Chapter practice',()=>panel(0),{ask:done=>quiz(SCREEN,[{id:'p-rename',prompt:'Convert and simplify. The mixed-number row has separate whole and proper-fraction boxes.',build:blanks([
+{parts:['Improper: 1 ',F('3','5'),' = ',{box:'8'},' / ',{box:'5'}],why:'One whole has five fifths; five plus three makes eight fifths.',hint:'Fill the numerator and denominator of a single fraction.'},
+{parts:['Mixed: ',F('17','6'),' = ',{box:'2'},' + ',{box:'5/6',lowest:true}],why:'Seventeen sixths make two whole groups of six, with five sixths left.',hint:'Fill the whole count and then the proper fractional part.'},
+{parts:['Lowest terms: ',F('14','21'),' = ',{box:'2/3',lowest:true}],why:'GCF(14,21)=7. Divide both counts by seven to get two thirds.'},
+{parts:['13 whole bars in 4 equal groups: remainder ',{box:'1'}],why:'13 = 4 × 3 + 1. Each group gets three whole bars; one remains.'}
+])}],done,'Chapter practice 2 of 4')}],
+['final3','Chapter practice',()=>panel(0),{ask:done=>quiz(SCREEN,[{id:'p-calculate',prompt:'Calculate in lowest terms. Equivalent mixed numbers are accepted.',build:blanks([
+{parts:[F('3','11'),' + ',F('5','11'),' = ',{box:'8/11',lowest:true}],why:'Add the numerators: three plus five is eight. Keep eleven.'},
+{parts:[F('11','12'),' − ',F('5','12'),' = ',{box:'1/2',lowest:true}],why:'Six twelfths remain; divide both counts by six to get one half.'},
+{parts:[F('2','3'),' + ',F('3','4'),' = ',{box:'17/12',lowest:true}],why:'LCM(3,4)=12. Eight twelfths plus nine twelfths is seventeen twelfths, or one and five twelfths.'},
+{parts:[F('7','8'),' − ',F('1','3'),' = ',{box:'13/24',lowest:true}],why:'LCM(8,3)=24. Twenty-one twenty-fourths minus eight twenty-fourths is thirteen twenty-fourths.'}
+])}],done,'Chapter practice 3 of 4')}],
+['final4','Chapter practice',()=>panel(0),{ask:done=>quiz(SCREEN,[
+{id:'p-ribbon',prompt:['Mina joins a ',$m(F('1','4')),' meter ribbon with a ',$m(F('3','8')),' meter ribbon. How long is the joined ribbon?'],build:blanks([{parts:[{box:'5/8',lowest:true},' meter'],why:'One meter is the unit whole. One fourth meter is two eighths; add three eighths to get five eighths meter.'}])},
+{id:'p-paint',prompt:['A jar holds ',$m(F('5','6')),' liter of paint. Sam uses ',$m(F('1','4')),' liter. How much paint remains?'],build:blanks([{parts:[{box:'7/12',lowest:true},' liter'],why:'One liter is the unit whole. Ten twelfths minus three twelfths leaves seven twelfths liter.'}])}
+],done,'Chapter practice 4 of 4')}],
+['finish','Finished',()=>panel(0),{ask:finishCard}]
+].map(([id,title,run,extra])=>({id,title,run,...extra}));
+boot();
+</script></body></html>
diff --git a/site/math-notebook/index.html b/site/math-notebook/index.html
index e00127f..b70a22a 100644
--- a/site/math-notebook/index.html
+++ b/site/math-notebook/index.html
@@ -229,7 +229,7 @@ main#contents { padding-bottom: 80px; }
'use strict';
// Chapters are numbered in order through the units. Add a chapter here when its lesson is ready.
const UNITS = [ // [unit title, [[chapter title, minutes], ...]]; chapters are numbered in order. Add a chapter when its lesson is ready.
- ['The Number System', [['Types of Numbers and the Number Line', 9], ['Positive and Negative Numbers', 8], ['Absolute Value', 9], ['Factors and Greatest Common Factor', 11], ['Multiples and Least Common Multiple', 10]]],
+ ['The Number System', [['Types of Numbers and the Number Line', 9], ['Positive and Negative Numbers', 8], ['Absolute Value', 9], ['Factors and Greatest Common Factor', 11], ['Multiples and Least Common Multiple', 10], ['Fraction Basics: Types of Fractions and Adding and Subtracting Fractions', 13]]],
];
const HUES = ['#f4a48c', '#86c9e8', '#f3c95c', '#e8a0c8', '#8fd6b0', '#bba8ee', '#f0b45a'];
const id = n => 'ch' + String(n).padStart(2, '0');