[Date Index] [Thread Index] [Author Index]
Re: Simplify[expr] bug?
Hi Ken, All are syntax problems. Arguments of functions are surrounded by brackets  So test 1: Simplify[Sin[a]-Sin[b]] the expression is already in simplified form so it will not be changed Test 2: I couldn't figure out why you wrote a superscript for 1, but again change the Cos( .. ) to Cos[.. ] yehuda Ken Tozier wrote: >I'm a complete newbie to Mathematica and not a math whiz, but the >results I got from the following two equations seems like bugs to me. > >Test 1: >Running: Simplify[Sin(a) - Sin(b)] >Yeilds: (a - b)Sin > >Looks like it's treating the function "Sin" like a coefficient > >Test 2: >Running: Simplify[d/s + Cos(2*¹*v/s) - Cos(2*¹*(v - 1)/s)] >Yeilds: (d + 2 Cos ¹) / s > >Mathematica completely factors out the variable "v" which is critical >to the correct solution. > >Are these bugs or am I making an inadvertent syntax error. > >Thanks, > >Ken Tozier > > >