Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.maple > #1114
| From | Rainer Rosenthal <r.rosenthal@web.de> |
|---|---|
| Newsgroups | comp.soft-sys.math.maple |
| Subject | Re: How to simplify certain solutions of trigonometric equation? |
| Date | 2015-03-10 01:12 +0100 |
| Message-ID | <cm6r04F9hnlU1@mid.individual.net> (permalink) |
| References | (3 earlier) <110212e8-6429-46db-83a5-703955762a40@googlegroups.com> <cm5m0pFu4h2U1@mid.individual.net> <58932a2e-122c-4dcd-8304-3bdcb5913803@googlegroups.com> <cm61fsF2o63U1@mid.individual.net> <ba41d2e8-fc39-4440-8906-4b403d748c4d@googlegroups.com> |
Am 09.03.2015 um 18:15 schrieb acer:
> kernelopts(version);
> Maple 6.01, SUN SPARC SOLARIS, June 9 2000 Build ID 79514
>
> f := x -> sin(x) + sin(2*x) + sin(3*x) - (cos(x) + cos(2*x) + cos(3*x)):
> p := [solve(f(x)=0,x)]:
>
#### Me:
kernelopts(version);
Maple 6, IBM INTEL NT, Jan 31 2000 Build ID 16401
> map(z->simplify(expand(convert(f(z),radical))),p); # quick
>
> [0, 0, 0, 0, 0, 0]
#### Me (oh, same, great!):
[0, 0, 0, 0, 0, 0]
> map(z->radnormal(expand(convert(f(z),expln))),p); # slower
>
> [0, 0, 0, 0, 0, 0]
#### Me (oh, same, great!):
[0, 0, 0, 0, 0, 0]
> Applying simplify to z in p before applying f is not necessary. But it seems nice to notice that p's entries can themselves be simplified.
>
> map(simplify,p);
>
> 1/2 1/2
> [2/3 Pi, - 2/3 Pi, 1/8 Pi, -arctan(-2 + 1) - Pi, arctan(-1 - 2 ), 5/8 Pi]
>
#### Me (nearly same):
[2/3 Pi, - 2/3 Pi, 1/8 Pi, -arctan(-sqrt(2) + 1) - Pi, arctan(-1 - sqrt(2)), 5/8 Pi]
> So,
>
> P := map(simplify,p):
>
> map(z->simplify(expand(convert(f(z),radical))),P); # quick
>
> [0, 0, 0, 0, 0, 0]
>
> map(z->radnormal(expand(convert(f(z),expln))),P); # slower
>
> [0, 0, 0, 0, 0, 0]
>
Again, same for me.
> Have a great day.
Oops, already had one today :-)
Have a nice week!
Cheers,
Rainer
Back to comp.soft-sys.math.maple | Previous | Next — Previous in thread | Find similar
How to simplify certain solutions of trigonometric equation? Rainer Rosenthal <r.rosenthal@web.de> - 2015-03-08 20:25 +0100
Re: How to simplify certain solutions of trigonometric equation? acer <maple@rogers.com> - 2015-03-08 18:48 -0700
Re: How to simplify certain solutions of trigonometric equation? Rainer Rosenthal <r.rosenthal@web.de> - 2015-03-09 11:05 +0100
Re: How to simplify certain solutions of trigonometric equation? acer <maple@rogers.com> - 2015-03-09 06:09 -0700
Re: How to simplify certain solutions of trigonometric equation? Rainer Rosenthal <r.rosenthal@web.de> - 2015-03-09 14:40 +0100
Re: How to simplify certain solutions of trigonometric equation? acer <maple@rogers.com> - 2015-03-09 07:36 -0700
Re: How to simplify certain solutions of trigonometric equation? acer <maple@rogers.com> - 2015-03-09 07:48 -0700
Re: How to simplify certain solutions of trigonometric equation? Rainer Rosenthal <r.rosenthal@web.de> - 2015-03-09 17:56 +0100
Re: How to simplify certain solutions of trigonometric equation? acer <maple@rogers.com> - 2015-03-09 10:15 -0700
Re: How to simplify certain solutions of trigonometric equation? Rainer Rosenthal <r.rosenthal@web.de> - 2015-03-10 01:12 +0100
csiph-web