Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Elimination 0.5: Anchored index to control problem type, changed hint colors #8061

Merged
merged 1 commit into from
Dec 7, 2011

Conversation

smenks13
Copy link
Contributor

@smenks13 smenks13 commented Dec 7, 2011

In the following problem, the hint shown after the variable is eliminated doesn't match up with the original equations:

http://sandcastle.khanacademy.org/media/castles/Khan:master/exercises/systems_of_equations_with_elimination_0.5.html?seed=122&debug

Using the "Index" should fix that. Also, switched blue and green.

@@ -15,7 +15,7 @@
<div class="vars">
<var id="X">randRange( 1, 10 )</var>
<var id="Y" data-ensure="X !== Y">randRange( 1, 10 )</var>
<var id="INDEX">randRange( 0, 3 )</var>
<var id="INDEX">0</var>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to change this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing back in the merged file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I did, that variable controls which variable, x or y, is going to be eliminated. In Elimination 1, we show a mix of all 4 types, but here we're just showing one where no multiplication needs to be done.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha - thx scott. per ben's comment - we'll want to clean up later on (just remove the index). for now let's get the fix live.

mwahl added a commit that referenced this pull request Dec 7, 2011
Elimination 0.5: Anchored index to control problem type, changed hint colors
@mwahl mwahl merged commit 7c8bb27 into Khan:master Dec 7, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants