Re: Simplify[expr] bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg53428] Re: [mg53398] Simplify[expr] bug?
- From: yehuda ben-shimol <benshimo at bgu.ac.il>
- Date: Tue, 11 Jan 2005 01:31:24 -0500 (EST)
- References: <200501100404.XAA14039@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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 > > >
- References:
- Simplify[expr] bug?
- From: Ken Tozier <kentozier@comcast.net>
- Simplify[expr] bug?