RE: How to specify a parameter
- To: mathgroup at smc.vnet.net
- Subject: [mg33750] RE: [mg33747] How to specify a parameter
- From: "Curt Fischer" <cfisher at bio.titech.ac.jp>
- Date: Thu, 11 Apr 2002 02:14:03 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Dear Zhu: ......Original Message...... From: Guojun Zhu [mailto:gzhu1 at uiuc.edu] To: mathgroup at smc.vnet.net Subject: [mg33750] [mg33747] How to specify a parameter I want to do some integrate with some parameters. Those integrate can only be done if those parameters are only real or only positive. How to specify it in the integrate? Sometimes Mathmatica even don't know whether my parameters are matrix or number or express. How to specify it? <snip> .......end message...... Use the Assumptions option in Integrate. Look in the help browser under "Definite Integrals". Example: In[23]:= Integrate[x^n, {x, 0, 1}, Assumptions -> (n > 2)] Out[23]= \!\(1\/\(1 + n\)\) This option only works with definite integrals. If you want the indefinite integral, you will have to try something else. -- Curt Fischer Tokyo Institute of Technology Dept. of Bioengineering