Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Set function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64406] Set function
  • From: "Unal Ufuktepe" <unalufuktepe at iyte.edu.tr>
  • Date: Thu, 16 Feb 2006 03:05:13 -0500 (EST)
  • Reply-to: "Unal Ufuktepe" <unalufuktepe at iyte.edu.tr>
  • Sender: owner-wri-mathgroup at wolfram.com

I am trying to do define set function as follows:
Let A=[a,b]
(closed set);or (a,b) (open set) or (a,b] or [a,b) (semi
closed sets)
f(A) is piecevise function with respect to A (closed, open
or semi closed)

Let f(A)=2a-b if
A=[a,b]
=a-2b
if A=(a,b)
=3a-2b
if A=(a,b]
=5a-3b if
A=[a,b)

How can I define this function? I tried "Switch"
command but because of [. ],[. ),... symboles It did not
worked.


Unal Ufuktepe,PhD 
Izmir Institute of Technology
Department of Mathematics, 
GUlbahce-Urla, Izmir 35435
Phone:(232)-7507614 
Home:232-7571614 
Mobile phone: 5358969646


  • Prev by Date: Re: Solve or Reduce?
  • Next by Date: Question on Thread
  • Previous by thread: Re: How to plot this
  • Next by thread: Re: Set function