runklerunklerunkle

MaplePrimes Activity


These are questions asked by runklerunklerunkle

Hi all,

I have a function f(x) and want to know at which x-value it attains its supremum.

Tried this, but it doesn't work (or at least hasn't been able to solve the equation in 10+ min):

M := maximize(f, x = 0 .. 1);

solve(f = M, x);

Does anyone know a way to do this?

Thanks,

Paul

a := 1; w0 := 1; w1 := 3; K := 10; h0 := .25; A := 3; alpha := .7; b := .6; c := .2

f := A*x^(b*alpha)*(alpha*A*x^(b*alpha)/(a+w0*h0+(x-h0)*w1))^(alpha/(1-alpha))-(alpha*A*x^(b*alpha)/(a+w0*h0+(x-h0)*w1))^(1/(1-alpha))

16.94206235*x^.42*(x^.42/(.50+3*x))^2.333333333-11.85944364*(x^.42/(.50+3*x))^3.333333333

(1)

NULL

M := maximize(f, x = 0 .. 1)

.8295280335

(2)

solve(f = M, x)

Warning,  computation interrupted

 

``

plot(f, x = 0 .. 1)

 

``

``

``



Download maximum.mw

Hi all,

I've got a parametric curve of the form f(x),h(x) x=0..1, and want to make an animation of this curve when changing an exogenous variable h0.

My attempt was to do it like this:

plots[animate](plot, [f(x), h(x), x = 0 .. 1], h0 = 0 .. 1)

but it doesn't work.

Does anyone know if/how this can be done?

Thanks,

Paul

Page 1 of 1