Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible problem in StrictFactoringEvaluator b/c of the removal of asterisks in the formatting #1081

Open
mehmetfdemirel opened this issue Sep 8, 2023 · 0 comments

Comments

@mehmetfdemirel
Copy link

mehmetfdemirel commented Sep 8, 2023

My brother goes to college, and a homework problem on the website was asking the following question:

Factor out the greatest common factor: $15x^4 y^3 + 5x^3y^2$.

However, even though it accepts the following answer as correct:

5x^3y^2(3xy+1)

it says the following one is INCORRECT (even though the Answer Preview shows the same mathematical expression for both inputs):

5x**3y**2(3xy+1)

This seems to be happening because of the formatting of the answer string in the code where asterisks are removed.

In his orientation for WeBWorK, my brother was taught that both ^ and ** can be used interchangably for exponentiation, as can also be seen in here.

Screenshot 2023-09-08 at 12 02 25 AM

Is this a bug or are we misunderstanding something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant