randRangeNonZero( -1, 1 ) ( PM === 1 ? "+" : "-") randRange( 2, 19 ) ( PM === 1 ? randRange( 1, 19 ) : randRange( -W1 + 1, -1 ))
randRange( 3, 20 ) randRange( 3, 20 )
randRange( 1, D1 - 1 ) randRange( 1, D2 - 1 )
getGCD( N1, D1 ) N1 / GCD1 D1 / GCD1 getGCD( N2, D2 ) N2 / GCD2 D2 / GCD2 getLCM( SIMP_D1, SIMP_D2 ) getGCD( SIMP_N1 * LCM / SIMP_D1 + PM * SIMP_N2 * LCM / SIMP_D2 , LCM )

Expresa tu respuesta como un número mixto simplificado a su mínima expresión.

expr(["+", W1 + fraction( N1, D1 ), W2 + fraction( N2, D2 )]) = {?}

W1 + W2 + N1 / D1 + PM * N2 / D2

Separa los números enteros de las partes fraccionarias:

= \blue{W1} + \blue{fraction( N1, D1 )} SIGN \pink{abs( W2 )} SIGN \pink{fraction( N2, D2 )}

Pon todos los números enteros juntos y todas las fracciones juntas:

= \blue{W1} SIGN \pink{abs( W2 )} + \blue{fraction( N1, D1 )} SIGN \pink{fraction( N2, D2 )}

SumaResta los números enteros:

=W1 + W2 + \blue{fraction( N1, D1 )} SIGN \pink{fraction( N2, D2 )}

Simplifica cada fracción:

= W1+W2 + \blue{fraction( SIMP_N1, SIMP_D1 )} SIGN \pink{fraction( SIMP_N2, SIMP_D2 )}

Encuentra un denominador común para las fracciones:

= expr(["+", W1 + W2, fraction( SIMP_N1 * LCM / SIMP_D1, LCM ),fraction( PM * SIMP_N2 * LCM / SIMP_D2, LCM )])

SumaResta las fracciones:

= expr(["+", W1 + W2, fraction( SIMP_N1 * LCM / SIMP_D1 + PM * SIMP_N2 * LCM / SIMP_D2, LCM )])

Combina las partes enteras y fraccionarias en un número mixto:

= W1 + W2 + fraction( SIMP_N1 * LCM / SIMP_D1 + PM * SIMP_N2 * LCM / SIMP_D2, LCM )

Simplifica a su mínima expresión:

= W1 + W2 + fractionReduce( SIMP_N1 * LCM / SIMP_D1 + PM * SIMP_N2 * LCM / SIMP_D2, LCM )

-1 "-" randRange( 2, 19 ) randRange( -W1 + 1, -1 )
randRange( 3, 20 ) randRange( 3, 20 )
randRange( 1, D1 - 1 ) randRange( 1, D2 - 1 )
getGCD( N1, D1 ) N1 / GCD1 D1 / GCD1 getGCD( N2, D2 ) N2 / GCD2 D2 / GCD2 getLCM( SIMP_D1, SIMP_D2 ) getGCD( SIMP_N1 * LCM / SIMP_D1 + PM * SIMP_N2 * LCM / SIMP_D2 , LCM )

Expresa tu respuesta como un número mixto simplificado a su mínima expresión.

expr(["+", W1 + 1 + fraction( N1, D1 ), W2 + fraction( N2, D2 )]) = {?}

W1 + 1 + W2 + N1 / D1 + PM * N2 / D2

Simplifica cada fracción.

= \blue{W1 + 1fraction( SIMP_N1, SIMP_D1 )} SIGN \pink{abs( W2 )fraction( SIMP_N2, SIMP_D2 )}

Encuentra un denominador común para las fracciones:

= \blue{W1 + 1fraction( SIMP_N1 * LCM / SIMP_D1, LCM )}SIGN\pink{abs( W2 )fraction( SIMP_N2 * LCM / SIMP_D2, LCM )}

Convierte \blue{W1 + 1fraction( SIMP_N1 * LCM / SIMP_D1, LCM)} a \blue{ W1 + fraction( LCM, LCM) + fraction( SIMP_N1 * LCM / SIMP_D1, LCM)}.

Así que se convierte en:

\blue{W1fraction( LCM + SIMP_N1 * LCM / SIMP_D1, LCM)}SIGN\pink{abs( W2 )fraction( SIMP_N2 * LCM / SIMP_D2, LCM)}

Separa los números enteros de las partes fraccionarias:

= \blue{W1} + \blue{fraction( LCM + SIMP_N1 * LCM / SIMP_D1, LCM )} SIGN \pink{abs( W2 )} SIGN \pink{fraction( SIMP_N2 * LCM / SIMP_D2, LCM)}

Pon todos los números enteros juntos y todas las fracciones juntas:

= \blue{W1} SIGN \pink{abs( W2 )} + \blue{fraction( LCM + SIMP_N1 * LCM / SIMP_D1, LCM )} SIGN \pink{fraction( SIMP_N2 * LCM / SIMP_D2, LCM )}

SumaResta los números enteros:

=W1 + W2 + \blue{fraction( LCM + SIMP_N1 * LCM / SIMP_D1, LCM )} SIGN \pink{fraction( SIMP_N2 * LCM / SIMP_D2, LCM)}

SumaResta las fracciones:

= expr(["+", W1 + W2, fraction( (LCM + SIMP_N1 * LCM / SIMP_D1) + (PM * SIMP_N2 * LCM / SIMP_D2), LCM )])

Combina las partes enteras y fraccionarias en un número mixto:

= W1 + W2 + fraction( (LCM + SIMP_N1 * LCM / SIMP_D1) + PM * SIMP_N2 * LCM / SIMP_D2, LCM )

Simplifica a su mínima expresión:

= W1 + W2 + fractionReduce( (LCM + SIMP_N1 * LCM / SIMP_D1) + PM * SIMP_N2 * LCM / SIMP_D2, LCM )