MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Maximize Command - Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85814] Maximize Command - Problem
  • From: Crazy Man <geller_gambit at hotmail.com>
  • Date: Sat, 23 Feb 2008 04:25:33 -0500 (EST)

Hello guys

I am trying to calculate the Max of a function using the Maximize command in the following way:

In[2]:=Maximize[{fun, -Pi/2 < x < Pi/2 && -Pi/2 < y < Pi/2 && 0 < z < 2*Pi}, {x, y, z}]

where fun is:

In[1]:=4*(a^2 + (b^2 + c^2 + d^2)(Cos[x])^2*(Cos[y])^2*(Cos[z])^2 + (b*Cos[x]*Cos[y]*Cos[z] + Cos[x]*Sin[y] + d*Sin[x])^2);

When I enter the command, it writes "Running..." for a while, then it puts as a result exactly what I write, just substitute "fun" for its function:

output=Maximize[4*(a^2 + (b^2 + c^2 + d^2)(Cos[x])^2*(Cos[y])^2*(Cos[z])^2 + (b*Cos[x]*Cos[y]*Cos[z] + Cos[x]*Sin[y] + d*Sin[x])^2),-Pi/2 < x < Pi/2 && -Pi/2 < y < Pi/2 && 0 < z < 2*Pi}, {x, y, z}].


I hope you can help me!

Thanks a lot


  • Prev by Date: Using Fourier and InverseFourier instead of Convolve
  • Next by Date: Gudermannian Function
  • Previous by thread: Re: Using Fourier and InverseFourier instead of Convolve
  • Next by thread: Re: Maximize Command - Problem