dalmas64

-8 Reputation

2 Badges

14 years, 205 days

MaplePrimes Activity


These are questions asked by dalmas64

I guess someone is kidding with me...

I want unsubscribing of this s... place!

with(Optimization); nx := Maximize(abs(.5539395590*x^2+1.130864333*x+.9891410756-exp(x)), {-1. <= x, x <= 1.})

give [0.443368608590448687e-1, [x = 1.]]

but I know that it is not the maximum because:

abs(.5539395590*.56^2+1.130864333*.56+.9891410756-exp(.56))=0.045468048

with(Optimization); nx := maximize(abs((29.83428688*x-57.16914857)/(x-2.196093020)-exp(x)), x = 5.0 .. 6.0, location)

 

if we plot this function we see that the solution exists.

with(Optimization); nx := maximize(abs(.5547114632*x^2+1.130478381*x+.9883691714-exp(x)), x = -1 .. 1, location)

nx := 0.4568872387e-1, {[{x = 1.002012310}, 0.4568872387e-1]}

but 1.002 isn't in -1..1

What it is wrong with this one-line-document:

 

with(Optimization): nx := Maximize(e^x, {x <= 1.})

 

that give this answer:

 

[9.99990000000000000*10^19, [e = 9.99990000000000000*10^19, x = 1.]]

Page 1 of 1