MathGroup Archive 2009

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

Search the Archive

Re: how to minimize a trigonometric function with some symbol const



Hi,

your syntax is wrong. Should be:

f[x_]:=(a*Sin[t] - x0)^2 + (b*Cos[t] - y0)^2

Daniel



tomt wrote:

> f(t)=a*Sin[t] - x0)^2 + (b*Cos[t] - y0)^2.

> t is variable,others is const.

> 0<=t<2*Pi,a>0,b>0

> 

> I have tried it again and again in mathematica ,but can't get a right result

> 




  • Prev by Date: (2/3)[[1]]
  • Next by Date: copy/paste of exponents
  • Previous by thread: Re: how to minimize a trigonometric function with some
  • Next by thread: Help! About drawing a high-precision 3D graph