# Polynomial factorization

DOS autori shared this question 3 years ago

I'm creating a task where students have to find factorized form of given polynom. The problem occures when I want to check if they did it correctly. Every correct input is correct, including given task.

9x^2-25=(3x-5)(3x+5) - both left and right side of equation is excepted and I don't want it to except answer in left side form.

I tried to convert it to text but it doesn't work for ratios.

Can anyone help me with an idea what to do? you can use two inputboxes , one for each factor and use fact1*fact2==izraz_1&&¬(fact1==1||fact2==1) for boolean prov

saludos 2

you can use two inputboxes , one for each factor and use fact1*fact2==izraz_1&&¬(fact1==1||fact2==1) for boolean prov

saludos 1

Thank you! I just had some trouble with checking fact1==1, it says "check your input" but I wrote Text(fact1)=="1" and now it's all just as I wanted it to be!

Once again, thank you for your time and your help every time I get stuck! 1

perhaps you like more fact1==m x+n (with your own m & n)

ie: (fact1==3 x+5/3 && fact2==3x-5/3)||(fact1==3 x-5/3 && fact2==3x+5/3)

this avoids also fact1=18 x^2-50/9 and fact2=1/2

there are pupils so clever.......