MathGroup Archive 2011

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

Search the Archive

RE: defining a integer greater than one

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117891] RE: [mg117862] defining a integer greater than one
  • From: Matthias Bode <lvsaba at hotmail.com>
  • Date: Sat, 2 Apr 2011 17:05:16 -0500 (EST)
  • References: <201104020741.CAA02403@smc.vnet.net>

Hola Karina:

"How can I define n being greater than one before that integration?"

Please try: "Assuming[assum,expr]

evaluates expr with assum appended to $Assumptions, so that assum is included in the default assumptions used by functions such as Refine, Simplify and Integrate."

"In[1]:= Assuming[a > 0, {Refine[Sqrt[a^2]], Integrate[x^a, {x, 0, 1}]}]

Out[1]= {a, 1/(1 + a)}"

Text and example from HELP.

It would be practical to know the function whose integration purportedly failed.

Saludos,

MATTHIAS BODE
S 17.35775=B0, W 066.14577=B0
2'740 m
AMSL.





> Date: Sat, 2 Apr 2011 02:41:05 -0500
> From: karina.erlang at yahoo.de
> Subject: [mg117862] defining a integer greater than one
> To: mathgroup at smc.vnet.net
>
> Hi,
>
> I am new to Mathematica and cannot seem to achieve the following. I want to integrate an expression but Mathematica gives me a nonsensical if answer. (If Re(n)>1 then etc). How can I define n being greater than one before that integration. I can only achieve to make it an integer with the Element[] function. Thanks guys.
>


  • Prev by Date: Re: defining a integer greater than one
  • Next by Date: Re: Multiplying Polynomials
  • Previous by thread: defining a integer greater than one
  • Next by thread: Re: defining a integer greater than one