Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg64406] Set function
  • From: "Unal Ufuktepe" <unalufuktepe at>
  • Date: Thu, 16 Feb 2006 03:05:13 -0500 (EST)
  • Reply-to: "Unal Ufuktepe" <unalufuktepe at>
  • Sender: owner-wri-mathgroup at

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
if A=(a,b)
if A=(a,b]
=5a-3b if

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

Unal Ufuktepe,PhD 
Izmir Institute of Technology
Department of Mathematics, 
GUlbahce-Urla, Izmir 35435
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