Hello, there does anyone know how I can use the math response feature and have my students check their work? For example, I want them to type in an equation and check to see if it is correct, but how do I “give” Amplify the answer to check for?
I’m going to direct you to a video linked in our Resources section. Try some of that out, and see if that’s sufficient or you have followup questions.
I am wanting to edit a slide that is already present and use the graph that is given. So I want to edit to correspond with that.
Okay, I will take a look. I just skimmed through the video. I will follow up woth questions as needed.
Can you share a link to your activity, so you can get a more tailored response?
It says I am unable to share a link with the host.
On slide 4 I would like for students to time in an equation in standard form. The answer I would like for them to type in is 4x+2y=28 I would like for them to be able to click Check My Work, the animated line pop up and determine whether or not it is correct.
I deleted the original code, but I can paste it back. I did that because I was copying the code from the video you shared earlier.
I just tried through email.
You jumped into trying to edit a rather complex activity (I took a look at the original Shelley the Snail in the paid curriculum). To get the animation to work without significant changes to the graph, you need the function to be in terms of x. Your issue is that 4x+2y=28 is not a function, so the difference equation you’re defining, in terms of x and y, doesn’t work. There’s already code in the input that parses the slope and y-intercept. Instead of defining exp by the lhs or rhs, we can stitch together the slope-intercept form:
exp = `${roundedSlope}*x+${roundedYint}`
I’d recommend specifying “standard form” in the error message. If you allow any equivalent form of the correct equation through, you’ll still get the correct animation playing. I’d recommend either creating patterns to see if the lhs and rhs match correctly, and including those checks as part of valid. Or only specifically blocking an isolated y on either side.
There’s probably also extra work needed if you want to display a vertical line (which is blocked in the original activity).
Yeah, I have no clue what I am doing… Thank you for taking a look. The goal is that they answer only in standard form. I know how to edit that error message and deleting the prompting of y= , but as you mentioned I am not sure how to get that to work, is that what you meant by using the:
WOW! I got that slide working with your exp… code! Thank you!
Now I just need help with the following slide… We ask the students for the x-intercept, but they are not able to receive feedback. So for the x-int we would like for them to know whether it is correct or incorrect. And the following interpretation question is fine as is since the answers can vary.
I’d change the x-intercept input to a Math Response instead of Free Response, then it’ll be easier to give feedback. What do you want that student feedback to look like? There are a lot of ways people choose depending on the complexity. I’ve used a simple
or
as a suffix in the input. It’s also pretty common to have a message in a note with a more encouraging statement, or even more specific feedback (e.g. “
Good job finding the y-intercept! Let’s find the x-intercept.”).
Check out this thread specifically about validating standard form of a linear equation. Definitely helpful to search for your issue. Common topics means it may have been addressed. You can also find some great bespoke lessons from others!
Thank you I will take a look, the main goal of the feedback is for them to know whether it is correct or incorrect and to try again until they get the correct intercepts and slope.
I looked through those topics but they seem to be solely about equations.
I was hoping to use the math response and have the students check their intercepts and slope and just say correct/incorrect. Maybe some other helpful error messages.
Sorry if I was unclear. (1) It depends on how you want to give students feedback, and (2) the thread was for help with identifying standard form for the other part.
The image you showed above is not a math response; it’s a free response. Validating should not be difficult. Feedback depends if you want it in a note or in the suffix of the input.
I was able to fix the slide with the equation.
I don’t know how to have students check their work for an ordered pair. Right now the for example x-intercept is free response because I don’t know how to set it up using a math response to where the correct answer would be (7,0) for example. So if they click check my work on a math response feature I don’t know how to check an ordered pair. A numerical value I know I can set but not an ordered pair of that makes sense.
Here’s a check you can use.
solution = 7
parseOP = parseOrderedPair(exp)
check = numericValue(parseOP.x) = 0 and numericValue(parseOP.y) = solution
The parsed coordinates has a latex output because they could be expressions, thus using numericValue().
