Search   Memberlist   Usergroups
 Page 1 of 1 [3 Posts]
Author Message
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
Peter Pein

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);
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

 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 Page 1 of 1 [3 Posts]
 The time now is Tue Mar 19, 2019 10:10 am | All times are GMT
 Jump to: Select a forum-------------------Forum index|___Science and Technology    |___Math    |   |___Research    |   |___num-analysis    |   |___Symbolic    |   |___Combinatorics    |   |___Probability    |   |   |___Prediction    |   |       |   |___Undergraduate    |   |___Recreational    |       |___Physics    |   |___Research    |   |___New Theories    |   |___Acoustics    |   |___Electromagnetics    |   |___Strings    |   |___Particle    |   |___Fusion    |   |___Relativity    |       |___Chem    |   |___Analytical    |   |___Electrochem    |   |   |___Battery    |   |       |   |___Coatings    |       |___Engineering        |___Control        |___Mechanics        |___Chemical

 Topic Author Forum Replies Last Post Similar Topics help on problem brb003 Math 0 Mon Aug 28, 2006 3:31 am fraction problem mikerule Research 0 Thu Aug 24, 2006 5:10 am Mod computer problem William Elliot Math 4 Fri Jul 21, 2006 12:07 pm Divine apparitions in the tethered goat problem? jpalmour@gmail.com Math 6 Thu Jul 20, 2006 8:26 pm possible to use Generalized Method of Moments for this pr... comtech Math 1 Thu Jul 20, 2006 12:49 am