 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] Re: Minimizing a Function
| [mathcad] Re: Minimizing a Function |
|
Author: Steve Ellison
Posted: Mon, 28 Jul 2003 17:22:09 +0100
|
Could you rewrite the function definition in terms of x only, leaving b as a constant specified elsewhere..?
>>> 28/07/2003 17:18:40 >>>
Dear All
I have a function of 2 variables. I am trying to find the value of one
variable which minimizes the function while keeping the other fixed. The
minimize function doesn't want to let me keep one fixed.
e.g.
func(x,a):=......
given x=g1 b=g2
m:=minimize(func,x,b)
doesn't work because it tries to minimize across x and b, whereas I want b
to be fixed and I cannot leave b out of the minimze function.
Anybody know of a work around?
Best Regards
Chris Wilkinson * Senior Research Scientist
CALCE Electronics Products and Systems Center * 3200 Martin Hall
University of Maryland * College Park * MD * 20742 * USA
Tel 1 301 405 4563, Fax 1 301 314 9269
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
*******************************************************************
This email and any attachments are confidential. Any use, copying or
disclosure other than by the intended recipient is unauthorised. If
you have received this message in error, please notify the sender
immediately via +44(0)20 8943 7000 or notify
and delete this message and any copies from your computer and network.
LGC Limited. Registered in England 2991879.
Registered office: Queens Road, Teddington, Middlesex, TW11 0LY, UK
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
|
| [mathcad] Re: Minimizing a Function |
|
Author: Samir Khan
Posted: Mon, 28 Jul 2003 17:27:12 +0100
|
Chris,
Define func_1(x):=func(x,b) and minimize func_1 instead.
Samir
"Chris Wilkinson"
To: Mathcad Discussion List
du> cc:
Subject: [mathcad] Minimizing a Function
07/28/2003 05:18
PM
Please respond to
mathcad
Dear All
I have a function of 2 variables. I am trying to find the value of one
variable which minimizes the function while keeping the other fixed. The
minimize function doesn't want to let me keep one fixed.
e.g.
func(x,a):=......
given x=g1 b=g2
m:=minimize(func,x,b)
doesn't work because it tries to minimize across x and b, whereas I want b
to be fixed and I cannot leave b out of the minimze function.
Anybody know of a work around?
Best Regards
Chris Wilkinson * Senior Research Scientist
CALCE Electronics Products and Systems Center * 3200 Martin Hall
University of Maryland * College Park * MD * 20742 * USA
Tel 1 301 405 4563, Fax 1 301 314 9269
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
|
| [mathcad] RE: Minimizing a Function |
|
Author: Gray, Steven G
Posted: Mon, 28 Jul 2003 13:46:31 -0400
|
Suppose you define a new function, g(x), equal to f(x,b). Can you now minimize g?
Steven Gray
-----Original Message-----
From: Chris Wilkinson />
Sent: Monday, July 28, 2003 12:19 PM
To: Mathcad Discussion List
Subject: [mathcad] Minimizing a Function
Dear All
I have a function of 2 variables. I am trying to find the value of one
variable which minimizes the function while keeping the other fixed. The
minimize function doesn't want to let me keep one fixed.
e.g.
func(x,a):=......
given x=g1 b=g2
m:=minimize(func,x,b)
doesn't work because it tries to minimize across x and b, whereas I want b
to be fixed and I cannot leave b out of the minimze function.
Anybody know of a work around?
Best Regards
Chris Wilkinson * Senior Research Scientist
CALCE Electronics Products and Systems Center * 3200 Martin Hall
University of Maryland * College Park * MD * 20742 * USA
Tel 1 301 405 4563, Fax 1 301 314 9269
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
---
The Mathcad List - Discussion, Support & News
Contributions: />
Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>
|
Previous by date: [mathcad] Minimizing a Function, Chris Wilkinson
Next by date: [mathcad] Re: Minimizing a Function, Samir Khan
Previous thread: [mathcad] Re: Multiprocessor system, Colin G Clarke
Next thread: [mathcad] Re: Minimizing a Function, Steve Ellison
|
|
|