Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: Mathematica syntax problem: tsntxi

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119676] Re: Mathematica syntax problem: tsntxi
  • From: Vivek Joshi <vivekjjoshi29 at gmail.com>
  • Date: Fri, 17 Jun 2011 00:08:30 -0400 (EDT)
  • References: <201106160759.DAA13140@smc.vnet.net>

Can you describe your complete problem ? Nothing seems to be wrong with the
syntax except square braces around your expression. Square braces f[...] are
used to define arguments to a function. Eg:

In[15]:= Simplify[((x-a)/A)^2+((y-b)/B)^2-2*r*(x-a)*(y-b)/(A*B)]
Out[15]= (a-x)^2/A^2-(2 r (a-x) (b-y))/(A B)+(b-y)^2/B^2

In[14]:= ((x-a)/A)^2+((y-b)/B)^2-2*r*(x-a)*(y-b)/(A*B)
Out[14]= (-a+x)^2/A^2-(2 r (-a+x) (-b+y))/(A B)+(-b+y)^2/B^2

Vivek J. Joshi

On Thu, Jun 16, 2011 at 3:59 AM, unabashed <olga.botvinnik at gmail.com> wrote:

> Hello,
> I am new to Mathematica and cannot figure out this syntax problem:
>
> Syntax::tsntxi: "[((x-a)/A)^2+((y-b)/B)^2-2*r*(x-a)*(y-b)/(A*B)]" is
> incomplete; more input is needed.
>
> Can someone give me some insight?
> Thank you very much.
>
>


  • Prev by Date: A problem with Maximize/Minimize
  • Next by Date: Re: Metastable expressions in Mathematica
  • Previous by thread: Re: Mathematica syntax problem: tsntxi
  • Next by thread: Re: Mathematica syntax problem: tsntxi