# Khan/khan-exercises

### Subversion checkout URL

You can clone with
or
.

Add exercise with varibles in numerator

commit 3ed16a8b0467fb022971809be3dd631c3b4e29a2 1 parent b99392d
petercollingridge authored
Showing with 120 additions and 0 deletions.
 @@ -0,0 +1,120 @@ + + + + + Adding and subtracting with like denominators 2 + + + + +
+
+ randFromArray([["+", 1], ["-", -1]]) + randVar() +
+ randVar() +
+
+ randRangeWeighted(1, 10, 1, 0.4) + randRange(2, 12) +
+
+ randRange(2, 12) +
+
+ randRangeWeighted(1, 10, 1, 0.4) +
+
+ +
+
+
+ getLCM( DENOMINATOR1, DENOMINATOR2 ) + COMMONDENOM / DENOMINATOR1 + COMMONDENOM / DENOMINATOR2 + NUMERATOR1 * F1 + S * (NUMERATOR2 * F2) + getGCD(FINALNUMERATOR, COMMONDENOM) + getExpressionRegex(FINALNUMERATOR / FACTOR, X, 0) + COMMONDENOM / FACTOR +
+ +

Simplify the following expression:

+

+ Y = \dfrac{expr(["*", NUMERATOR1, X])}{DENOMINATOR1} + SIGN \dfrac{expr(["*", NUMERATOR2, X])}{DENOMINATOR2} +

+ +
+
+ NUMERSOL + DENOMSOL +
+
+
+ +
+ Y = + + a +
+ a +
+ + + + + + + + + + +

a simplifed expression, like x + 2

+ + + + + +
+

In order to addsubtract expressions, + they must have a common denominator.

+

The smallest common denominator is the least common multiple of DENOMINATOR1 and DENOMINATOR2.

+

\lcm(DENOMINATOR1, DENOMINATOR2) = COMMONDENOM

+

+ Y = \dfrac{F1}{F1} \cdot \dfrac{expr(["*", NUMERATOR1, X])}{DENOMINATOR1} + SIGN \dfrac{F2}{F2} \cdot \dfrac{expr(["*", NUMERATOR2, X])}{DENOMINATOR2} +

+ +

+ Y = \dfrac{expr(["*", NUMERATOR1 * F1, X])}{COMMONDENOM} + SIGN \dfrac{expr(["*", NUMERATOR2 * F2, X])}{COMMONDENOM} +

+

+ Y = \dfrac{expr(["*", NUMERATOR1 * F1, X]) SIGN + expr(["*", NUMERATOR2 * F2, X])}{COMMONDENOM} +

+

+ Y = \dfrac{expr(["*", FINALNUMERATOR, X])}{COMMONDENOM} +

+
+
To simplify the expression, divide the numerator and denominator by FACTOR:
+
Y = \dfrac{expr(["*", FINALNUMERATOR / FACTOR, X])}{COMMONDENOM / FACTOR}
+
+
+ + +