Hello all,

I'm using Maxima 5.20.1 with Lisp SBCL 1.0.36 on fink --version
Package manager version: 0.29.10
Distribution version: selfupdate-rsync Thu May  6 21:29:09 2010, 10.6, x86_64 .

Replicating this bug is pretty easy. Here's the command history:

(%i2) taylor(cos(R)*asin(tan(d/2)/tan(R)) - asin(sin(d/2)/sin(R)), d, 0, 2);

(%o2) +(sin(R)*cos(R)-tan(R))*d/(2*tan(R)*sin(R))
(%i3) first(%), tan(R) = sin(R) / cos(R);

(%o3) d*cos(R)*(cos(R)*sin(R)-sin(R)/cos(R))

(the first command was to turn off 2-d display to make the out put email 
friendly). Somehow %o3 is missing it's denominator - it should have a 
/(2*sin(R)^2) in there. If I expand the fraction first then do the substitution 
it works fine. 

I don't know if this has been reported upstream or even if it would be relevant 
upstream since the upstream version is at 5.21.1.

Thanks,
Sean
------------------------------------------------------------------------------

_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to