I have all the buttons/code correct - I have tested it. Buttttt, I need it to mark a cell correct if a student types (2x)^5 not just 2x^5. But when I put parenthesis around the 2x, my code no longer works.
Here is what I have so far.
Doesnβt Work with This:
cellSuffix(1,5): when this.cellContent(1,2)=β1β and this.cellContent(1,3)="(2x)^{5}" and (this.cellContent(1,4)="" or this.cellContent(1,4)="(3y)^{0}") and button15.pressCount>=1 ββ otherwise ββ
Works with This:
cellSuffix(1,5): when this.cellContent(1,2)=β1β and this.cellContent(1,3)=β2x^{5}β and (this.cellContent(1,4)="" or this.cellContent(1,4)=β3y^{0}β) and button15.pressCount>=1 ββ otherwise ββ
My activity: Week 17: Homework on Pascal's Triangle & Binomial Theorem β’ Activity Builder by Desmos
It is on slide 13. Thank you!