From bug-octave-request at bevo dot che dot wisc dot edu Sat Jan 10 16:15:57 2004 Subject: acot computation From: "John W. Eaton" To: =?iso-8859-1?Q?Gr=E9gory_Vanuxem?= Cc: Date: Sat, 10 Jan 2004 16:15:30 -0600 On 10-Jan-2004, Grégory Vanuxem wrote: | In acot.m (elfun), you use: | | pi/2 - atan (z); | | Then ff argument is negative: | | acot(-1.3) = 2.4859 | | I think it's 0.6557 | In other words, you should use: | | atan(1/z) Thanks, I made this change. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------