Author Topic: Eval  (Read 2365 times)

Offline Pedro

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Eval
« on: June 18, 2009, 01:20:58 AM »
Hi,

Great program. Is missing a "f" in the eval function. I try eval(pi), returns pi. Meanwhile, evalf(pi) returns an aproximate value.

It doen's integrate the coth(x). Why?

Thanks,

Best regards,
Pedro

Offline Pedro

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Eval
« Reply #1 on: June 18, 2009, 08:53:19 AM »
Acording http://integrals.wolfram.com/index.jsp?expr=coth%5Bx%5D&random=false

the function mention above is integrateble.

Best regards

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: Eval
« Reply #2 on: June 18, 2009, 08:05:31 PM »
eval does what it should. For exact values, use the ~~ symbol on the Numeric page, which actually corresponds to evalf. And about coth(x): I suppose xcas just isn't mathematically capable of solving the integral... nothing I can do about that, but you can write Mr. Parisse (http://www-fourier.ujf-grenoble.fr/~parisse/giac.html) and ask him if he could improve the integration system.
« Last Edit: June 18, 2009, 08:49:39 PM by MrMage »