Re: Mupad Rules...
- From: Raymond Manzoni <raymond.manzoni@xxxxxxxxxx>
- Date: Mon, 11 Jul 2005 15:17:44 +0200
Peter Pein wrote:
Salut Raymond,
make use of the option Steps=... in Simplify:
Simplify(f0(B),SelectRules = simpSin,Steps=1000);
- 4*sin(1/4*B)^2 + 2*sin(1/2*B) + sin(B)*ln(2*sin(1/4*B)^2 - 2*sin(3/4*B)^2 - 2*sin(B) + sin(1/2*B) + sin(3/2*B)) - sin(B)*ln(2*sin(1/4*B)^2 - 2*sin(3/4*B)^2 + 2*sin(B) + sin(1/2*B) + sin(3/2*B)) - ln(2*sin(1/4*B)^2 - 2*sin(3/4*B)^2 - 2*sin(B))*sin(B) + ln(2*sin(1/4*B)^2 - 2*sin(3/4*B)^2 + 2*sin(B))*sin(B) + 2
simplify(%,sin);
2*cos(1/2*B) + 2*sin(1/2*B) + sin(B)*ln(cos(3/2*B) - cos(1/2*B) - 2*sin(B) + sin(1/2*B) + sin(3/2*B)) - sin(B)*ln(2*sin(B) - cos(1/2*B) + cos(3/2*B) + sin(1/2*B) + sin(3/2*B)) - sin(B)*ln(cos(3/2*B) - cos(1/2*B) - 2*sin(B)) + sin(B)*ln(2*sin(B) - cos(1/2*B) + cos(3/2*B))
Simplify(%,Steps=1000); [gives no further improvement]
With Mathematica's help I got:
2*c-arctanh(2*c/(2+sin(b)))*sin(b), with c=sin(b/2)+cos(b/2)
Hallo Peter,
Many thanks for the Steps trick (531 were really required!) and the very nice Mathematica simplification!
Raymond .
- Prev by Date: Re: terrible bug in Mathematica (//N), but why????
- Next by Date: Re: terrible bug in Mathematica (//N), but why????
- Previous by thread: terrible bug in Mathematica (//N), but why????
- Next by thread: Mupad: Plot problem "Can't evaluate to boolean"
- Index(es):