MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Trigonometry

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117857] Re: Trigonometry
  • From: WetBlanket <wyvern864 at gmail.com>
  • Date: Sat, 2 Apr 2011 02:40:11 -0500 (EST)
  • References: <in3uvd$hqe$1@smc.vnet.net>

On Apr 1, 1:30 am, Micha=EBl ELBAZ <miel... at 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


  • Prev by Date: Re: Trigonometry
  • Next by Date: Re: A One Hour Interview with Stephen Wolfram
  • Previous by thread: Re: Trigonometry
  • Next by thread: Re: Trigonometry