|
[Date Index]
[Thread Index]
[Author Index]
RE: How to ...?
- To: mathgroup at smc.vnet.net
- Subject: [mg36355] RE: [mg36309] How to ...?
- From: "Florian Jaccard" <jaccardf at eicn.ch>
- Date: Mon, 2 Sep 2002 04:09:28 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
In[4]:= f[x_ /; 0 < x < 6] := x^2
In[5]:=f[x_/; x >= 6]:=x+1
Meilleures salutations
Florian Jaccard
EICN-HES
e-mail : jaccardf at eicn.ch
-----Message d'origine-----
De : Paskoski [mailto:berlusconi_pagliusi at fis.unical.it]
Envoyé : sam., 31. août 2002 07:26
À : mathgroup at smc.vnet.net
Objet : [mg36309] How to ...?
Dear MathGroup,
I'd like to use Mathematica 4.0 to write a function having different
expressions in different domain's intervals.
Let's say:
F[x_]= x^2 if 0<x<6
x+1 if x>=6
I know It's a stupid syntax problem, but I really do not know how/where to
search the solution on the Mathematica Book
Thank you in advance,
PasKo.
Prev by Date:
RE: PlotLabel
Next by Date:
Re: How to ...?
Previous by thread:
Re: How to ...?
Next by thread:
Re: How to ...?
|