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


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

RE: defining a integer greater than one

From Matthias Bode <lvsaba@hotmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject RE: defining a integer greater than one
Date 2011-04-02 22:05 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <in86ik$9t2$1@smc.vnet.net> (permalink)
References <201104020741.CAA02403@smc.vnet.net>

Show all headers | View raw


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.
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web