Go to the first, previous, next, last section, table of contents.
eval, devaldeval returns
double float. Rational numbers remain unchanged in results from eval.
eval the computation is done
by PARI. (See section pari.) In deval the computation is
done by the C math library.
deval cannot handle complex numbers.
setprec.)
sin, cos, tan,
asin, acos, atan,
sinh, cosh, tanh,
asinh, acosh, atanh,
exp, log, pow(a,b) (a^b)
@i cannot be handled by deval.
[118] eval(exp(@pi*@i)); -1.0000000000000000000000000000 [119] eval(2^(1/2)); 1.414213562373095048763788073031 [120] eval(sin(@pi/3)); 0.86602540378443864674620506632 [121] eval(sin(@pi/3)-3^(1/2)/2,50); -2.78791084448179148471 E-58 [122] eval(1/2); 1/2 [123] deval(sin(1)^2+cos(1)^2); 1
ctrl, section setprec, section pari.
Go to the first, previous, next, last section, table of contents.