Author |
Message |
jimmij science forum beginner
Joined: 17 Jul 2006
Posts: 4
|
Posted: Mon Jul 17, 2006 12:14 pm Post subject:
Re: maxima problem
|
|
|
Peter Pein <petsie@dordos.net> writes:
Quote: | How can I tell maxima that sin^2 + cos^2 = 1 ?
For example:
/******************************/
(%i2) x: cos(a)^2+sin(a)^2;
2 2
(%o2) sin (a) + cos (a)
(%i3) x;
/******************************/
and I want to see here 1.
TIA,
try
x:trigsimp(sin(a)^2+cos(a)^2);
|
Thanks,
in the meantime I've found also
trigrat(x);
--
jimmij |
|
Back to top |
|
 |
Peter Pein science forum addict
Joined: 04 May 2005
Posts: 56
|
Posted: Mon Jul 17, 2006 12:09 pm Post subject:
Re: maxima problem
|
|
|
jimmij schrieb:
Quote: | Hello,
How can I tell maxima that sin^2 + cos^2 = 1 ?
For example:
/******************************/
(%i2) x: cos(a)^2+sin(a)^2;
2 2
(%o2) sin (a) + cos (a)
(%i3) x;
/******************************/
and I want to see here 1.
TIA,
|
try
x:trigsimp(sin(a)^2+cos(a)^2); |
|
Back to top |
|
 |
jimmij science forum beginner
Joined: 17 Jul 2006
Posts: 4
|
Posted: Mon Jul 17, 2006 11:55 am Post subject:
maxima problem
|
|
|
Hello,
How can I tell maxima that sin^2 + cos^2 = 1 ?
For example:
/******************************/
(%i2) x: cos(a)^2+sin(a)^2;
2 2
(%o2) sin (a) + cos (a)
(%i3) x;
/******************************/
and I want to see here 1.
TIA,
--
jimmij |
|
Back to top |
|
 |
Google
|
|
Back to top |
|
 |
|