The test of equivalence of calculations

Parent Previous Next

A test of equivalence of calculations is a value allowing the comparison of two calculations or two functions.

The returned value is 1 if the two calculations are equivalent and 0 otherwise.

This type of object is used to publish online exercises with MathGraph32 applet.

For example will be considered equivalent -2*sqrt(2)/3+1 and 1-2*sqrt(2)/3 and 1-2/3*sqrt(2) and 1-1/3*2*srqt(2)
but not -4*sqrt(2)/6+1.

To create such an object you must use menu item Calculation - new real calculation - test of calculations equivalence.

A dialog box pops up.

You must select in the left and right list boxes the calculations to be compared. If you check the Replacement of values through comparison checkbox, the calls to varables or calculations will be replaced with their numerical value before the comparison.

For example, if a et b are two real calculations containing the values 2 and 3, if calc1 is a calculation with formula a/b + sqrt(2) and calc2 is a calculation with formula sqrt(2)+1/3*2, an equivalence test of these two calculations obtained by checking the checkbox Replacement of values through comparison for calc1 will return value 1 because these two calculations are equivalent.

Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation