## 20 Reputation

4 years, 186 days

## Find the range of parameters for which a...

Maple

Hi everyone,

I have 4 expression, each containing several parameters (3, I think).

I need to find the range of the values of the parameters for which one of the expressions is at least as great as any of the other expressions.

So the input of the program/function would be the expression and which one I want to be the (weakly) greatest, and the  output should be something like: [parameter a is a member of the set [0.1,0.5] and parameter b is a member of the set [1.2, 2.4] and parameters c is negative] (meaning if these are true, then the given exoression is the (weakly) greatest of all the given expressions.

Is there a way to do this in Maple?

(For the curious: I have a game-theoretic problem, where the payoff functions include several parameters. I am trying to find the best response functions to find the Nash.equilibria of the game for the different range of parameters)

JTamas

## Error, unable to parse...

Maple 18

Hi all,

I have the attached code, it returns a "unable to parse" error after the line with the "FOC__1D1" assignment. I can't find out why.

JTamas

1_2_test.mw

## Solving a nonlinear system with equation...

Maple 18

Hi all,

I have a system of nonlinear equations with for equations, 4 variables I want to solve for, and 2 parameters. All of the variables and parameters must be non-negative.

The code I used to try to do this is:

Where eqi (i = 1, ... , 4) are expression (not equations in themselves). For example, eq1 is:

When I try to run this code I get the following error:

"Error, (in SolveTools:-Inequality:-Piecewise) piecewise takes at least 2 parameters"

Can anyone help me how I can make Maple do what I want here? :)

JTamas

## Trouble calculating partial derivative i...

Maple

Hi all,

I have the following function (with parameters/constants a, b, and p2A ):

I want to calculate its partial derivative with resprect to p1A. I entered the following code to do this:

But this returns a result that was (at least, for me) unexpected:

My problem is, I don't really get what the expressions 'D(...)' mean in this equation and why they are even there. a and p2A are supposed to be constant and thus their derivative should be zero (wtih respect to p1A ).

I think this should be an easy problem to solve for someone more familiar with Maple, but I am new to it and have been spending the last few hours trying to figure out how to solve this problem. Any help would be highly appriciated.