Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1402

Re: Trigonometry

From WetBlanket <wyvern864@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Trigonometry
Date 2011-04-02 07:49 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <in6kf7$2hs$1@smc.vnet.net> (permalink)
References <in3uvd$hqe$1@smc.vnet.net>

Show all headers | View raw


On Apr 1, 1:30 am, Micha=EBl ELBAZ <miel...@gmail.com> wrote:
> Hello,
>
> With the input "(Cos[x])^2 + (Sin[x])^2", can we get the output "1" ?!
>
> Thanks
>
> --
> M.E.

Use

exp = "(Cos[x])^2 + (Sin[x])^2;
exp/. c_.Sin[x_]^2+c_.Cos[x_]^2->c

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Trigonometry Michaël ELBAZ <mielbaz@gmail.com> - 2011-04-01 07:30 +0000
  Re: Trigonometry WetBlanket <wyvern864@gmail.com> - 2011-04-02 07:49 +0000
  Re: Trigonometry David Bailey <dave@removedbailey.co.uk> - 2011-04-02 07:53 +0000
  Re: Trigonometry Peter Pein <petsie@dordos.net> - 2011-04-16 11:35 +0000

csiph-web