STACK - Remove surds from denominator

Re: STACK - Remove surds from denominator

by Christopher Sangwin -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Plugin developers

Thanks for your interest and for letting me know the option in the new numerical input is working.

To assess this I would use the "EqualComAss" test to test equivalence up to commutativity and associativity.   However, more than one such test is needed since we get the following result:


ATEqualComAss((1/2)*(3*sqrt(2)+2), (3*sqrt(2)+2)/2) = [0, "ATEqualComAss: (AlgEquiv:true)."];

That is to say, under this test \(\frac{1}{2} \cdot (3 \cdot \sqrt{2} + 2)\) and \( \frac{3 \cdot \sqrt{2}+2}{2} \) are considered to be different! Attached is a sample question.  I hope this helps?

Chris


In reply to Christopher Sangwin

Re: STACK - Remove surds from denominator

by Martin Kreh -

Thank you, that works.

Is there a particular reason for node 1 and the AlgEquiv test? I guess we should get the same result without node 1, since if ans1 passes one of the EqualComAss tests of nodes 2,3,4 it also passes the AlgEquiv test of node 1?