MathGroup Archive 2008

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

Search the Archive

Exponent function question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94362] Exponent function question
  • From: Tuesday Shopping <tuesdayshopping at yahoo.com>
  • Date: Thu, 11 Dec 2008 03:44:44 -0500 (EST)
  • Reply-to: tuesdayshopping at yahoo.com

Reposting the question (previous post did not make it for some reason)

Consider a simple example: "Exponent[Sqrt[x^2+1], x]". This gives "0" as output.

I am trying to determine the maximum exponent of a given variable in an expression. Is there any way to do this? I would like to get "2" as output for the above example.

Note that the input expression could be quite complex involving many functions, such as trigonametric, logarithms and other functions. However, the exponent itself (2 in the above example) is always going to be an integer.

Thanks



      



  • Prev by Date: Beta[x,a,b]: how to get around bug
  • Next by Date: Inverse Rice distribution
  • Previous by thread: Re: Beta[x,a,b]: how to get around bug
  • Next by thread: Re: Exponent function question