I am working on an activity with systems of inequalities, but the same basic question applies to piecewise functions. Is it possible to produce something that looks like this
I need to be able to use this in both notes and answer choices for the multiple choice component.
This comment on the MathQuill GitHub page says that it is not possible yet (although it’s from 5 years ago. Unless someone else has a better workaround (maybe @Mike_Gleeson?), you might have to use screenshots and upload images.
However there is a Learnosity fork of Mathquill that not only supports \cases but also matrix representations. I know a lot of people would really appreciate it if Desmos worked from this fork(or equivalent) to implement in Activities.
In the meantime I’ve been leaning more towards creating component driven Activities modules. One of those will be a piecewise function thing so I’ll post about it when that’s done.
I posted this under the Examples but I’m not sure how those posts are organized so I thought I’d reply here. This component will visually render such expressions in a Note. Looks like this:
Features:
Table based input
Supports up to 4 branches
Graphs the resulting expressions
Optionally color codes branches for visualization support
By component here I mean something anyone can copy and paste the screen into a project and it “just works”.