Changing Algebraic Expressions to Reflect Red Tiles

Hi! I added red Algebra tiles to my activity and was wondering if you could assist in changing the algebraic expressions that appear on the top to reflect the addition of the red tiles. The coding for that is way above my level. Thanks so much! :slight_smile:

Howdy! I set out to simplify the graph in your activity but ended up re-discovering why it was so complicated in the first place :upside_down_face: Anyways, here is a modified copy with the negative algebra blocks:

One known quirk is that if a trip balances out to 0 (e.g. one x^2 block and one -x^2 block), the display will read 0x^2 + 0x + 0. This is because of what I fed into formatLatex to set up the display, and it could be changed by adding in a when...otherwise... statement to the point labels if it bothers you. I hope this helps!

1 Like