Function parser error
Posted: Mon Mar 07, 2005 8:05 am
I'm plotting some functions using the 'Generate -> Y=f(X)' option.
For some odd reason the following expression returns identically
zero for x in [0;3], dX=0.01
f(x) = 5.*(cosh(4.*x)+4.*cosh(2.*x)+3.)
If I build up the expression term by term, everything works fine,
until I enclose in parentheses. Then the result is exactly 0.
Any clues ?
I'm running version 1.9.8.5
For some odd reason the following expression returns identically
zero for x in [0;3], dX=0.01
f(x) = 5.*(cosh(4.*x)+4.*cosh(2.*x)+3.)
If I build up the expression term by term, everything works fine,
until I enclose in parentheses. Then the result is exactly 0.
Any clues ?
I'm running version 1.9.8.5