MathGroup Archive 2007

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

Search the Archive

Re: real function argument

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73440] Re: [mg73399] real function argument
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 16 Feb 2007 01:06:23 -0500 (EST)
  • Reply-to: hanlonr at cox.net

f[x_]:=Re[Cos[x]+I Sin[x]];

D[Simplify[f[x],Element[x, Reals]],x]

-Sin[x]


Bob Hanlon

---- bar at ANTYSPAM.ap.krakow.pl wrote: 
> Hi, 
> I have a problrm with defining real argument
> 
> In:   f[x_]:=Re[Cos[x]+I Sin[x]]
> 	f'[x]
> 
> Out:  -Cos[x] Im'[x]-Sin[x]Re'[x]
> 
> In: FullSimplify[f'[x],Element[x,Reals]] 
> gives the same out
> 
> Any suggestions ?
> 
> Regards, Olaf



  • Prev by Date: FactorInteger - MathKernel crashes
  • Next by Date: RE: Logical Expression
  • Previous by thread: Re: real function argument
  • Next by thread: Re: real function argument