Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Constraining output range of a function' topicStudent Support Forum > General > "Constraining output range of a function"

Next Comment >Help | Reply To Topic
Author Comment/Response
Caleb Tormey
10/01/10 3:48pm

What I am trying to do is fairly basic I think but I haven't found all the pieces.
I have a function I would like to minimize in terms of 4 variables.
f[a1,a2,a3,a4]=1/(8 \[Pi]^3) NIntegrate[p*w[k]*c[a1,a2,a3,a4]+1/2*c[a1,a2,a3,a4,k]^2+Log[u[a1,a2,a3,a4,k],{k,0,40}]

I would like to force the output u[a1,a2,a3,a4] to always be positive and if not move on to the next guess of a1,a2,a3,a4 in the minimization.

URL: ,

Subject (listing for 'Constraining output range of a function')
Author Date Posted
Constraining output range of a function Caleb Tormey 10/01/10 3:48pm
Re: Constraining output range of a function Forum Modera... 10/05/10 12:14pm
Re: Re: Constraining output range of a function Caleb Tormey 10/05/10 4:51pm
A correction Caleb Tormey 10/05/10 5:43pm
Next Comment >Help | Reply To Topic