Robert Dodier pisze:
> 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
"Allways read what Maxima tells you " I should remember that (:-)
(%i1)
load("D:/doc/programming/maxima/batch/ExternalRay/eAngle20081130.mac")$
(%i2) giveL(x):=GiveLengthDifference(fix(x));
(%o2) giveL(x):=GiveLengthDifference(fix(x))
(%i3) plot2d(giveL, [x, 1, 10]);
It works !!!
Thx