20 Reputation

1 years, 104 days

Nested Maximization...

Maple 2022

Hi,

I am working on an optimization problem, where i want to Maximize numerically a function (it is too complex to have a deriviatve) here a pseudo code:

Maximize(f(x,y,z), initialpoint = {x=1,y=1,z=1},iterationlimit = 9999);

Now i have a constraint on (x,y,z) where I want the maximum of another function be smaller than a threshold. Problem is, that the constraints function does not put it the corresponding x,y,z tupel and therefore the maximization regarding f does not come to a solution.

Maximize(f(x,y,z), {Maximize(g(x,y,z,f),{0<f<1})[1]<Thres},initialpoint = {x=1,y=1,z=1},iterationlimit = 9999);

Maybe you guys have an idea how to solve this.

Best

Inverse Z Transform with Coefficients...

Maple 2022

Hi there,

i am working on an inverse z-transform in MAPLE. I would like to get the Impulse Response for a transferfunction with coefficients a, b, and c.

In maple, however I get the impulse response with sums over _alpha=RootOf(Z^2...). Through substitution of n = 0...end I get the right result, but for long impulse responses this takes quite a lot of time. With mathematica, however, the inverse z-transform is calculated to 1/(f(b,c)*(g(b,c,))^n+...), where f and g are functions of the coefficients. The function out of mathematica are quite faster to solve. How can I get Maple to solve this equation efficiently?

Greetings

 Page 1 of 1
﻿