>
|
|
WitnessPoints computes sample solutions of an equation:
>
|
|
or a system of equations
>
|
|
| (3) |
or a set of inequalities:
>
|
|
| (4) |
The following example computes points on the interior and the exterior of the unit circle, with -coordinates in the interval .
>
|
|
| (5) |
In the following example, we check that a system with the equation has no real solutions.
>
|
|
The following example illustrates the precision of the computed solutions.
>
|
|
>
|
|
>
|
|
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
>
|
|
>
|
|
In the next example we give a seed to the rand function in order to transform the command WitnessPoints in a deterministic function.
>
|
|
| (12) |
>
|
|
| (13) |
>
|
|
| (15) |
>
|
|
| (16) |
The command doesn't handle mixed equations and inequalities/inequations.
>
|
|