From: Jay Belanger Date: Tue, 4 Jan 2005 20:34:21 +0000 (+0000) Subject: (Programming Tutorial): Mention that the user needs to be in the X-Git-Tag: ttn-vms-21-2-B4~2920 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59b568a702293eaf48248477ec25f38f81828bc1;p=emacs.git (Programming Tutorial): Mention that the user needs to be in the right mode to compute some functions. --- diff --git a/man/ChangeLog b/man/ChangeLog index 504073cbe8f..f75f8ceac37 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -2,6 +2,8 @@ * calc.texi (Basic Tutorial, Programming Tutorial): Remove caveats for Lucid Emacs. + (Programming Tutorial): Mention that the user needs to be in the + right mode to compute some functions. 2005-01-04 Richard M. Stallman diff --git a/man/calc.texi b/man/calc.texi index 514b09d20dd..32ac9a5fc8d 100644 --- a/man/calc.texi +++ b/man/calc.texi @@ -5984,8 +5984,9 @@ which in algebraic notation is written like @samp{ninteg(f(t), t, 0, x)} with any integrand @samp{f(t)}. Define a @kbd{z s} command and @code{Si} function that implement this. You will need to edit the default argument list a bit. As a test, @samp{Si(1)} should return -0.946083. (Hint: @code{ninteg} will run a lot faster if you reduce -the precision to, say, six digits beforehand.) +0.946083. (If you don't get this answer, you might want to check that +Calc is in Radians mode. Also, @code{ninteg} will run a lot faster if +you reduce the precision to, say, six digits beforehand.) @xref{Programming Answer 1, 1}. (@bullet{}) The simplest way to do real ``programming'' of Emacs is to define a