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


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

Re: how to define and analyze function with multiple parts

From "djmpark" <djmpark@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: how to define and analyze function with multiple parts
Date 2013-04-20 09:54 +0000
Message-ID <kktolh$c7s$1@smc.vnet.net> (permalink)
References <30816429.39892.1366348976163.JavaMail.root@m06>
Organization Time-Warner Telecom

Show all headers | View raw


You could try Piecewise and make certain you know proper Mathematica syntax.


A more specific and complete posting might give rise to a more complete
answer.


David Park
djmpark@comcast.net 
http://home.comcast.net/~djmpark/index.html 



From: pjanakir1978@gmail.com [mailto:pjanakir1978@gmail.com] 

Hi, I have a function on the plane that has 2 different formulation for 2
different regions. Let x = (x1, ..., xn). I want to define it as

U(x) = U_1(x) if x is in region 1
       = U_2(x) if x is in region 2

Then I want to analyze such a defined function, like find its max, etc,
using NMaximize, or put in some other expressions in place of x, to see
behavior of U.

Essentially, how does one define a multipart function, so that we can
analyze it in the same way we may analyze a single part function or
polynomial?

Thanks.

Prabhu   

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


Thread

Re: how to define and analyze function with multiple parts "djmpark" <djmpark@comcast.net> - 2013-04-20 09:54 +0000

csiph-web