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


Groups > comp.soft-sys.math.mathematica > #1441 > unrolled thread

RE: defining a integer greater than one

Started byMatthias Bode <lvsaba@hotmail.com>
First post2011-04-02 22:05 +0000
Last post2011-04-02 22:05 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE:  defining a integer greater than one Matthias Bode <lvsaba@hotmail.com> - 2011-04-02 22:05 +0000

#1441 — RE: defining a integer greater than one

FromMatthias Bode <lvsaba@hotmail.com>
Date2011-04-02 22:05 +0000
SubjectRE: defining a integer greater than one
Message-ID<in86ik$9t2$1@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@yahoo.de
> Subject:  defining a integer greater than one
> To: mathgroup@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.
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web