plot2d (?) error



On 11/30/08, Adam Majewski <adammaj1 at o2.pl> wrote:

>  (%i2) plot2d(GiveLengthDifference, [x, 1, 10]);
>
>
>  If 4 arguments are given to MAKELIST, the difference of the 3rd and 4th
>  arguments should evaluate to a non-negative integer:
>
> 0.0

Bear in mind that x is bound to floating point values between 1.0 and 10.0,
not integer values. You could call fix(x) to get an integer in
GiveLengthDifference.

HTH

Robert Dodier